openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_EXCHRATE_GETLISTRATETYPES:
    post:
      tags:
      - BUS1093
      summary: List of Exchange Rate Types Used for Exchange Rates
      operationId: /rfc/BAPI_EXCHRATE_GETLISTRATETYPES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                RATETYPE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      RATE_TYPE:
                        type: string
                        maxLength: 4
                        description: Exchange rate type
                      TEXT:
                        type: string
                        maxLength: 40
                        description: Exchange rate type usage
                      INVR_ALLOW:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Calculation allowed with inverted exchange rate ?  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      BASE_CURR:
                        type: string
                        maxLength: 5
                        description: Reference currency for currency translation
                      BCURR_FROM:
                        type: string
                        maxLength: 1
                        description: 'Ind.: Base curr. is "from" curr. in the exchange rate table  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      BUY_RT_FOR:
                        type: string
                        maxLength: 4
                        description: Exch. rate type of av. rate used to determine buying rate
                      SEL_RT_FOR:
                        type: string
                        maxLength: 4
                        description: Exch.rate type of av. rate used to determine selling rate
                      FIXED_RATE:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Exchange rate type uses fixed exchange rates  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      EMU_CONV:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Exchange rate type uses special translation model  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    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
                  RATETYPE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        RATE_TYPE:
                          type: string
                          maxLength: 4
                          description: Exchange rate type
                        TEXT:
                          type: string
                          maxLength: 40
                          description: Exchange rate type usage
                        INVR_ALLOW:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Calculation allowed with inverted exchange rate ?  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        BASE_CURR:
                          type: string
                          maxLength: 5
                          description: Reference currency for currency translation
                        BCURR_FROM:
                          type: string
                          maxLength: 1
                          description: 'Ind.: Base curr. is "from" curr. in the exchange rate table  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        BUY_RT_FOR:
                          type: string
                          maxLength: 4
                          description: Exch. rate type of av. rate used to determine buying rate
                        SEL_RT_FOR:
                          type: string
                          maxLength: 4
                          description: Exch.rate type of av. rate used to determine selling rate
                        FIXED_RATE:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Exchange rate type uses fixed exchange rates  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        EMU_CONV:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Exchange rate type uses special translation model  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
