openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_TERMROUNDIN_WRK_TO_BAPI:
    post:
      tags:
      - CPE_MAP_DOC_WORK_BAPI
      summary: CPE_D - Term Rounding In - Mapping BAPI to Doc. (WRK)
      operationId: /rfc/CPE_TERMROUNDIN_WRK_TO_BAPI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_CPET_TERMROUNDIN_WRK:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      TERMROUNDIN_GUID:
                        type: string
                        format: byte
                        description: CPE Term - GUID of Rounding Input
                      CONVPLACE:
                        type: integer
                        format: int64
                        description: CPE - Conversion Place
                      ROUNDRULE:
                        type: string
                        maxLength: 5
                        description: CPE - Rounding Rule
                      UPDKZ:
                        type: string
                        maxLength: 1
                        description: Update indicator
              required:
              - IT_CPET_TERMROUNDIN_WRK
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_BAPI_CPE_TERMROUNDIN:
                    type: array
                    items:
                      type: object
                      properties:
                        OPERATION:
                          type: string
                          maxLength: 3
                          description: Function
                        TERMROUNDIN_GUID:
                          type: string
                          format: byte
                          description: CPE Term - GUID of Rounding Input
                        CONVPLACE:
                          type: integer
                          format: int64
                          description: CPE - Conversion Place
                        ROUNDRULE:
                          type: string
                          maxLength: 5
                          description: CPE - Rounding Rule
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
