openapi: 3.0.0 info: title: SAP API version: 1.0.0 servers: - url: http://localhost:8080 paths: /rfc/BAPI_EXCHRATE_GETCURRENTRATES: post: tags: - BUS1093 summary: Output Selected Exchange Rates and Factors from the SAP System operationId: /rfc/BAPI_EXCHRATE_GETCURRENTRATES requestBody: content: application/json: schema: properties: DATE: type: string format: date description: Date on Which Current Exchange Rates Are Read DATE_TYPE: type: string default: V maxLength: 1 description: 'Date Type: See Long Text' RATE_TYPE: type: string default: M maxLength: 4 description: Exchange Rate Type SHOW_PROTOCOL: type: string maxLength: 1 description: 'Indicator: Display Log' EXCH_RATE_LIST: type: array items: type: object properties: RATE_TYPE: type: string maxLength: 4 description: Exchange rate type FROM_CURR: type: string maxLength: 5 description: From currency TO_CURRNCY: type: string maxLength: 5 description: To-currency VALID_FROM: type: string format: date description: Date from Which Entry Is Valid EXCH_RATE: type: integer format: int64 description: Direct Quoted Exchange Rate FROM_FACTOR: type: integer format: int64 description: Ratio for the "from" currency units TO_FACTOR: type: integer format: int64 description: Ratio for the "to" currency units EXCH_RATE_V: type: integer format: int64 description: Indirect Quoted Exchange Rate FROM_FACTOR_V: type: integer format: int64 description: Ratio for the "from" currency units TO_FACTOR_V: type: integer format: int64 description: Ratio for the "to" currency units FROM_CURR_RANGE: type: array items: type: object properties: SIGN: type: string maxLength: 1 description: 'Inclusion/exclusion criterion SIGN for range tables enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range' enum: - E - I OPTION: type: string maxLength: 2 description: 'Selection operator OPTION for range tables enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to (>=Low)' enum: - NB - NP - LE - EQ - BT - CP - GT - NE - LT - GE LOW: type: string maxLength: 5 description: From currency HIGH: type: string maxLength: 5 description: From currency TO_CURRNCY_RANGE: type: array items: type: object properties: SIGN: type: string maxLength: 1 description: 'Inclusion/exclusion criterion SIGN for range tables enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range' enum: - E - I OPTION: type: string maxLength: 2 description: 'Selection operator OPTION for range tables enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to (>=Low)' enum: - NB - NP - LE - EQ - BT - CP - GT - NE - LT - GE LOW: type: string maxLength: 5 description: To-currency HIGH: type: string maxLength: 5 description: To-currency required: - DATE responses: '200': description: OK content: application/json: schema: properties: EXCH_RATE_LIST: type: array items: type: object properties: RATE_TYPE: type: string maxLength: 4 description: Exchange rate type FROM_CURR: type: string maxLength: 5 description: From currency TO_CURRNCY: type: string maxLength: 5 description: To-currency VALID_FROM: type: string format: date description: Date from Which Entry Is Valid EXCH_RATE: type: integer format: int64 description: Direct Quoted Exchange Rate FROM_FACTOR: type: integer format: int64 description: Ratio for the "from" currency units TO_FACTOR: type: integer format: int64 description: Ratio for the "to" currency units EXCH_RATE_V: type: integer format: int64 description: Indirect Quoted Exchange Rate FROM_FACTOR_V: type: integer format: int64 description: Ratio for the "from" currency units TO_FACTOR_V: type: integer format: int64 description: Ratio for the "to" currency units FROM_CURR_RANGE: type: array items: type: object properties: SIGN: type: string maxLength: 1 description: 'Inclusion/exclusion criterion SIGN for range tables enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range' enum: - E - I OPTION: type: string maxLength: 2 description: 'Selection operator OPTION for range tables enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to (>=Low)' enum: - NB - NP - LE - EQ - BT - CP - GT - NE - LT - GE LOW: type: string maxLength: 5 description: From currency HIGH: type: string maxLength: 5 description: From currency RETURN: type: array items: type: object properties: TYPE: type: string maxLength: 1 description: 'Message type: S Success, E Error, W Warning, I Info, A Abort' ID: type: string maxLength: 20 description: Message Class NUMBER: type: integer format: int64 description: Message Number MESSAGE: type: string maxLength: 220 description: Message Text LOG_NO: type: string maxLength: 20 description: 'Application log: log number' LOG_MSG_NO: type: integer format: int64 description: 'Application log: Internal message serial number' MESSAGE_V1: type: string maxLength: 50 description: Message Variable MESSAGE_V2: type: string maxLength: 50 description: Message Variable MESSAGE_V3: type: string maxLength: 50 description: Message Variable MESSAGE_V4: type: string maxLength: 50 description: Message Variable TO_CURRNCY_RANGE: type: array items: type: object properties: SIGN: type: string maxLength: 1 description: 'Inclusion/exclusion criterion SIGN for range tables enumValues: E=Exclusive of defined values/range,I=Inclusive of defined values/range' enum: - E - I OPTION: type: string maxLength: 2 description: 'Selection operator OPTION for range tables enumValues: NB=Outside lower and upper value (x < Low und High < x ),NP=Does not contain the pattern,LE=less than or equal to (<= Low),EQ=equal to (= Low),BT=Between lower and upper value (Low <= x <= High),CP=Contains the pattern,GT=greater than than (> Low),NE=not equal to (<> Low),LT=less than than (< Low),GE=greater than or equal to (>=Low)' enum: - NB - NP - LE - EQ - BT - CP - GT - NE - LT - GE LOW: type: string maxLength: 5 description: To-currency HIGH: type: string maxLength: 5 description: To-currency '400': description: Bad request. 5XX: description: Unexpected error.