openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_TERM_READ_ALL_CB:
    post:
      tags:
      - CPE_TERM_CB
      summary: CPE_C - Term - Read All from Customizing Buffer
      operationId: /rfc/CPE_TERM_READ_ALL_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: R/3 System, current language
                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_TERM:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        TERMID:
                          type: string
                          maxLength: 10
                          description: CPE Term -  Key
                        COND_TYPE:
                          type: string
                          maxLength: 4
                          description: 'CPE: Condition Type for Commodity Pricing'
                        VALIDTO:
                          type: string
                          maxLength: 14
                          description: CPE - 'Valid From' Time Stamp of Commodity Pricing Object
                        TERMTYPE:
                          type: integer
                          format: int64
                          description: CPE Term - Term Calculation Type
                        TERMRULE:
                          type: string
                          maxLength: 5
                          description: CPE Term - Term Rule
                        QUOTSRC:
                          type: string
                          maxLength: 2
                          description: Quotation Source
                        QUOTTYPE:
                          type: string
                          maxLength: 5
                          description: Quotation Type
                        QUOTNAME:
                          type: string
                          maxLength: 18
                          description: Quotation Name
                        QUOTGROUP:
                          type: string
                          maxLength: 5
                          description: Quotation Group
                        REFDOCCAT:
                          type: integer
                          format: int64
                          description: CPE Term - Reference Document Category
                        REFDOC:
                          type: string
                          maxLength: 10
                          description: CPE Term - Reference Document Number
                        REFITEM:
                          type: string
                          maxLength: 10
                          description: CPE Term - Reference Document Item Number
                        REFGUID:
                          type: string
                          format: byte
                          description: CPE Term - GUID of Reference Document Item
                        REFCOND:
                          type: string
                          maxLength: 4
                          description: CPE Term - Reference Condition Type
                        FIXTERMRATE:
                          type: integer
                          format: int64
                          description: CPE Term - Fixed Rate
                        FIXTERMCURR:
                          type: string
                          maxLength: 5
                          description: CPE - Currency for Fixed Value
                        FIXTERMPRUN:
                          type: integer
                          format: int64
                          description: CPE - Price Unit of Fixed Rate
                        FIXTERMUOM:
                          type: string
                          maxLength: 3
                          description: CPE - Unit of Measure of Fixed Rate
                        USERVAL1:
                          type: integer
                          format: int64
                          description: CPE Term - Freely Usable Field
                        USERUOM1:
                          type: string
                          maxLength: 3
                          description: CPE Term - Freely Usable Unit of Measure Field
                  ET_TERM_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
                        TERMID:
                          type: string
                          maxLength: 10
                          description: CPE Term -  Key
                        COND_TYPE:
                          type: string
                          maxLength: 4
                          description: 'CPE: Condition Type for Commodity Pricing'
                        TERMTEXT:
                          type: string
                          maxLength: 40
                          description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
