openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_DB4_CUR_SQL:
    post:
      tags:
      - STU4
      summary: Get the actual SQL Statement
      operationId: /rfc/GET_DB4_CUR_SQL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PID:
                  type: integer
                  format: int32
                  description: 'iSeries: Process ID of a Work Process'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CURSQL:
                    type: string
                    description: Length of the Current SQL Statement
                  CURSQL_LEN:
                    type: integer
                    format: int32
                    description: Length of the Current SQL Statement
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
