openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CPE_BASIS_TEST:
    post:
      tags:
      - CPE_TEST
      summary: To test CPE_BASIS function modules
      operationId: /rfc/CPE_BASIS_TEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_APPSERV:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Single-character flag
                IV_DISPLAYLIST:
                  type: string
                  maxLength: 1
                  description: Single-character flag
                IV_LOGSYS:
                  type: string
                  maxLength: 10
                  description: Logical system
                IV_PRESSERV:
                  type: string
                  default: X
                  maxLength: 1
                  description: Single-character flag
                IV_SOURCE:
                  type: string
                  maxLength: 100
                  description: Character 100
                ET_RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLLNAME:
                        type: string
                        maxLength: 30
                        description: Data element (semantic domain)
                      OBJECT:
                        type: integer
                        format: int64
                        description: CPE - Routine
                      TEXT:
                        type: string
                        maxLength: 40
                        description: Description
              required:
              - IV_APPSERV
              - IV_LOGSYS
              - IV_PRESSERV
              - IV_SOURCE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_TEST_ERROR_OCCURRED:
                    type: string
                    maxLength: 1
                    description: Single-character flag
                  ET_RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLLNAME:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        OBJECT:
                          type: integer
                          format: int64
                          description: CPE - Routine
                        TEXT:
                          type: string
                          maxLength: 40
                          description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
