openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_TERMCONV_READ_CB:
    post:
      tags:
      - CPE_TERMCONV_CB
      summary: CPE_C - Term Conversion - Read Customizing Buffer
      operationId: /rfc/CPE_TERMCONV_READ_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_COND_TYPE:
                  type: string
                  maxLength: 4
                  description: Condition type
                IV_CONVPLACE:
                  type: integer
                  format: int64
                  description: CPE - Conversion Place
                IV_CURRFROM:
                  type: string
                  maxLength: 5
                  description: Currency key
                IV_CURRTO:
                  type: string
                  maxLength: 5
                  description: Currency key
                IV_LOGSYS:
                  type: string
                  maxLength: 10
                  description: Logical system
                IV_NO_BUFFER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
                IV_TERMID:
                  type: string
                  maxLength: 10
                  description: CPE Term -  Key
                IV_UOMFROM:
                  type: string
                  maxLength: 3
                  description: Base unit of measure
                IV_UOMTO:
                  type: string
                  maxLength: 3
                  description: Base unit of measure
                IV_VALIDTO:
                  type: string
                  maxLength: 14
                  description: CPE - Valid to Time Stamp of Object
              required:
              - IV_COND_TYPE
              - IV_CONVPLACE
              - IV_CURRFROM
              - IV_CURRTO
              - IV_LOGSYS
              - IV_TERMID
              - IV_UOMFROM
              - IV_UOMTO
              - IV_VALIDTO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_TERMCONV:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      TERMID:
                        type: string
                        maxLength: 10
                        description: CPE Term -  Key
                      COND_TYPE:
                        type: string
                        maxLength: 4
                        description: 'CPE: Condition Type for Commodity Pricing'
                      VALIDTO:
                        type: string
                        maxLength: 14
                        description: CPE - 'Valid From' Time Stamp of Commodity Pricing Object
                      CONVPLACE:
                        type: integer
                        format: int64
                        description: CPE - Conversion Place
                      CURRFROM:
                        type: string
                        maxLength: 5
                        description: CPE - Currency to Be Converted During Conversion ('from')
                      UOMFROM:
                        type: string
                        maxLength: 3
                        description: CPE - Unit of Measure to Be Converted During Conv. ('From')
                      CURRTO:
                        type: string
                        maxLength: 5
                        description: CPE - Currency to Be Converted to During Conversion ('to')
                      UOMTO:
                        type: string
                        maxLength: 3
                        description: CPE - Unit of Measure Converted to During Conversion
                      CONVERSIONRULE:
                        type: string
                        maxLength: 5
                        description: CPE - Conversion Rule
                      FIXEXCHRATE:
                        type: integer
                        format: int64
                        description: CPE Term - Fixed Exchange Rate for Currency Conversion
                      FACTORFROM:
                        type: integer
                        format: int64
                        description: CPE - From-Factor for Conversion
                      FACTORTO:
                        type: integer
                        format: int64
                        description: CPE - To-Factor for Conversion
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
