openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_QUANCONV_READ_ALL_CB:
    post:
      tags:
      - CPE_QUANCONV_CB
      summary: CPE_C - Quantity Conversion - Read All from Customizing Buffer
      operationId: /rfc/CPE_QUANCONV_READ_ALL_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language key
                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_VALIDTO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_QUANCONV:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        QUANCONVRULE:
                          type: string
                          maxLength: 5
                          description: CPE - Quantity Conversion Rule
                        VALIDTO:
                          type: string
                          maxLength: 14
                          description: CPE - 'Valid From' Time Stamp of Commodity Pricing Object
                        QUANCONVROUT:
                          type: integer
                          format: int64
                          description: CPE - Quantity Conversion Routine
                        QUANCONVROUND:
                          type: string
                          maxLength: 5
                          description: CPE - Rounding Rule for Converting Quantities
                  ET_QUANCONV_T:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        QUANCONVRULE:
                          type: string
                          maxLength: 5
                          description: CPE - Quantity Conversion Rule
                        RULETEXT:
                          type: string
                          maxLength: 40
                          description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
