openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_MAP_TERMROUNDIN_FROM_BAPI:
    post:
      tags:
      - CPE_MAP_DOC_BAPI
      summary: CPE_D - Term Rounding In - Mapping Doc. to BAPI
      operationId: /rfc/CPE_MAP_TERMROUNDIN_FROM_BAPI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_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
              required:
              - IT_BAPI_CPE_TERMROUNDIN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_CPED_TERMROUNDIN:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
