openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_TERMCONVIN_WRK_FROM_BAPI:
    post:
      tags:
      - CPE_MAP_DOC_WORK_BAPI
      summary: CPE_D - Term Conversion In - Mapping Doc. (WRK) to BAPI
      operationId: /rfc/CPE_TERMCONVIN_WRK_FROM_BAPI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_BAPI_CPE_TERMCONVIN:
                  type: array
                  items:
                    type: object
                    properties:
                      OPERATION:
                        type: string
                        maxLength: 3
                        description: Function
                      TERMCONVIN_GUID:
                        type: string
                        format: byte
                        description: CPE Term - GUID for Conversion Input
                      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
                      CURRFROM_ISO:
                        type: string
                        maxLength: 3
                        description: ISO code currency
                      CURRTO_ISO:
                        type: string
                        maxLength: 3
                        description: ISO code currency
                      UOMFROM_ISO:
                        type: string
                        maxLength: 3
                        description: ISO code for unit of measurement
                      UOMTO_ISO:
                        type: string
                        maxLength: 3
                        description: ISO code for unit of measurement
              required:
              - IT_BAPI_CPE_TERMCONVIN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_CPET_TERMCONVIN_WRK:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        TERMCONVIN_GUID:
                          type: string
                          format: byte
                          description: CPE Term - GUID for Conversion Input
                        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
                        UPDKZ:
                          type: string
                          maxLength: 1
                          description: Update indicator
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
