openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CURRENCY_GETLIST:
    post:
      tags:
      - SCUW
      summary: List of currencies
      operationId: /rfc/CURRENCY_GETLIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                I_SORT_BY:
                  type: string
                  default: ' '
                  maxLength: 1
                CURRENCY_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      WAERS:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      LTEXT:
                        type: string
                        maxLength: 40
                        description: Long Text
                      KTEXT:
                        type: string
                        maxLength: 15
                        description: Short text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_GPA_FROM_CURR:
                    type: string
                    maxLength: 5
                  E_GPA_TO_CURR:
                    type: string
                    maxLength: 5
                  E_TODAY:
                    type: string
                    maxLength: 10
                  CURRENCY_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        WAERS:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        LTEXT:
                          type: string
                          maxLength: 40
                          description: Long Text
                        KTEXT:
                          type: string
                          maxLength: 15
                          description: Short text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
