openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_CONVERSION_READ_CB:
    post:
      tags:
      - CPE_CONVERSION_CB
      summary: CPE_C - Conversion Rule - Read from Customizing Buffer
      operationId: /rfc/CPE_CONVERSION_READ_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_CONVERSIONRULE:
                  type: string
                  maxLength: 5
                  description: CPE - Conversion Rule
                IV_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language key
                IV_LOGSYS:
                  type: string
                  maxLength: 10
                  description: Logical system
                IV_NO_BUFFER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
                IV_VALIDTO:
                  type: string
                  maxLength: 14
                  description: CPE - Valid to Time Stamp of Object
              required:
              - IV_CONVERSIONRULE
              - IV_LOGSYS
              - IV_VALIDTO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_CONVERSION:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      CONVERSIONRULE:
                        type: string
                        maxLength: 5
                        description: CPE - Conversion Rule
                      VALIDTO:
                        type: string
                        maxLength: 14
                        description: CPE - 'Valid From' Time Stamp of Commodity Pricing Object
                      CONVERSIONROUT:
                        type: integer
                        format: int64
                        description: CPE - Conversion Routine
                      EXCHRATETYPE:
                        type: string
                        maxLength: 4
                        description: Exchange rate type
                      EXCHRATEAVG:
                        type: string
                        maxLength: 1
                        description: 'CPE - Use Averaging of Currency Exchange Rates  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      CONVROUND:
                        type: string
                        maxLength: 5
                        description: CPE - Rounding Rule for Converting Currencies
                      QUANCONVRULE:
                        type: string
                        maxLength: 5
                        description: CPE - Quantity Conversion Rule
                  EV_RULETEXT:
                    type: string
                    maxLength: 40
                    description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
