openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSW_CUR_TRANSLATIONS_GET:
    post:
      tags:
      - RSW0
      operationId: /rfc/RSW_CUR_TRANSLATIONS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_MODE:
                  type: object
                  properties:
                    BOOL:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                E_T_CURRENCIES:
                  type: array
                  items:
                    type: object
                    properties:
                      WAERS:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                E_T_TRANSLATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      CTTNM:
                        type: string
                        maxLength: 10
                        description: 'StrMember: Name of Currency Conversion Type'
                      TCUR:
                        type: string
                        maxLength: 5
                        description: To-currency
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_CURRENCIES:
                    type: array
                    items:
                      type: object
                      properties:
                        WAERS:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                  E_T_TRANSLATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        CTTNM:
                          type: string
                          maxLength: 10
                          description: 'StrMember: Name of Currency Conversion Type'
                        TCUR:
                          type: string
                          maxLength: 5
                          description: To-currency
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
