openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CTBP_VALUE_CONVERSION_TO_EXT:
    post:
      tags:
      - CTBP
      operationId: /rfc/CTBP_VALUE_CONVERSION_TO_EXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      CHARACTNAME:
                        type: string
                        maxLength: 30
                        description: Characteristic Name
                      VALUE_EXTERNAL:
                        type: string
                        maxLength: 30
                        description: Characteristic Value
                      VALUE_FROM:
                        type: number
                        description: Internal floating point from
                      VALUE_TO:
                        type: number
                        description: Internal floating point value to
                      VALUE_RELATION:
                        type: string
                        maxLength: 1
                        description: Code for value dependency
                      UNIT_FROM:
                        type: string
                        maxLength: 3
                        description: Base Unit of Measure
                      UNIT_TO:
                        type: string
                        maxLength: 3
                        description: Base Unit of Measure
                      UNIT_FROM_ISO:
                        type: string
                        maxLength: 3
                        description: Base unit of measure in ISO code
                      UNIT_TO_ISO:
                        type: string
                        maxLength: 3
                        description: Base unit of measure in ISO code
                      CURRENCY_FROM:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      CURRENCY_TO:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      CURRENCY_FROM_ISO:
                        type: string
                        maxLength: 3
                        description: ISO currency code
                      CURRENCY_TO_ISO:
                        type: string
                        maxLength: 3
                        description: ISO currency code
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        CHARACTNAME:
                          type: string
                          maxLength: 30
                          description: Characteristic Name
                        VALUE_EXTERNAL:
                          type: string
                          maxLength: 30
                          description: Characteristic Value
                        VALUE_FROM:
                          type: number
                          description: Internal floating point from
                        VALUE_TO:
                          type: number
                          description: Internal floating point value to
                        VALUE_RELATION:
                          type: string
                          maxLength: 1
                          description: Code for value dependency
                        UNIT_FROM:
                          type: string
                          maxLength: 3
                          description: Base Unit of Measure
                        UNIT_TO:
                          type: string
                          maxLength: 3
                          description: Base Unit of Measure
                        UNIT_FROM_ISO:
                          type: string
                          maxLength: 3
                          description: Base unit of measure in ISO code
                        UNIT_TO_ISO:
                          type: string
                          maxLength: 3
                          description: Base unit of measure in ISO code
                        CURRENCY_FROM:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        CURRENCY_TO:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        CURRENCY_FROM_ISO:
                          type: string
                          maxLength: 3
                          description: ISO currency code
                        CURRENCY_TO_ISO:
                          type: string
                          maxLength: 3
                          description: ISO currency code
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
