openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_TERMRULE_READ_CB:
    post:
      tags:
      - CPE_TERMRULE_CB
      summary: CPE_C - Term Rule - Read Customizing Buffer
      operationId: /rfc/CPE_TERMRULE_READ_CB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: R/3 System, current language
                IV_LOGSYS:
                  type: string
                  maxLength: 10
                  description: Logical system
                IV_NO_BUFFER:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
                IV_TERMRULE:
                  type: string
                  maxLength: 5
                  description: CPE Term - Term Rule
                IV_VALIDTO:
                  type: string
                  maxLength: 14
                  description: CPE - Valid to Time Stamp of Object
              required:
              - IV_LOGSYS
              - IV_TERMRULE
              - IV_VALIDTO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_TERMRULE:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      TERMRULE:
                        type: string
                        maxLength: 5
                        description: CPE Term - Term Rule
                      VALIDTO:
                        type: string
                        maxLength: 14
                        description: CPE - 'Valid From' Time Stamp of Commodity Pricing Object
                      CALCRULE:
                        type: string
                        maxLength: 5
                        description: CPE Term - Calculation Rule
                      SURCHARGERULE:
                        type: string
                        maxLength: 5
                        description: CPE Term - Surcharge Rule
                      PERDETRULE_Q:
                        type: string
                        maxLength: 5
                        description: CPE Term - Period Determination Rule for Commodity Rates
                      PERDETRULE_C:
                        type: string
                        maxLength: 5
                        description: CPE Term - Period Determ. Rule for Currency Exchange Rates
                  EV_RULETEXT:
                    type: string
                    maxLength: 40
                    description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
