openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/KAP_PSR_READ_QUERY_DETAILS:
    post:
      tags:
      - KAP_PSR
      operationId: /rfc/KAP_PSR_READ_QUERY_DETAILS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_COMPUID:
                  type: string
                  maxLength: 25
                I_OBJVERS:
                  type: string
                  default: A
                  maxLength: 1
                ET_QUERY_DETAILS:
                  type: array
                  items:
                    type: object
                    properties:
                      POSIT:
                        type: integer
                        format: int64
                        description: Position
                      COLUMN_TYPE:
                        type: string
                        maxLength: 1
                        description: Type of Query Column (Characteristic, Attribute, Key Figure)
                      COLUMN_TEXT1:
                        type: string
                        maxLength: 60
                        description: Long description
                      COLUMN_TEXT2:
                        type: string
                        maxLength: 60
                        description: Long description
                      COLUMN_APP:
                        type: string
                        maxLength: 1
                        description: Query Column Display
              required:
              - I_COMPUID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_LINE:
                    type: integer
                    format: int64
                  ET_QUERY_DETAILS:
                    type: array
                    items:
                      type: object
                      properties:
                        POSIT:
                          type: integer
                          format: int64
                          description: Position
                        COLUMN_TYPE:
                          type: string
                          maxLength: 1
                          description: Type of Query Column (Characteristic, Attribute, Key Figure)
                        COLUMN_TEXT1:
                          type: string
                          maxLength: 60
                          description: Long description
                        COLUMN_TEXT2:
                          type: string
                          maxLength: 60
                          description: Long description
                        COLUMN_APP:
                          type: string
                          maxLength: 1
                          description: Query Column Display
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
