openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB4_GET_RECORD_CONTENT:
    post:
      tags:
      - STU4_ST04
      summary: 'iSeries: Get Content of one Record of a Table'
      operationId: /rfc/DB4_GET_RECORD_CONTENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_RECORD:
                  type: object
                  properties:
                    FILE:
                      type: string
                      maxLength: 10
                      description: 'iSeries: Physical File (Dtabhase Monitor)'
                    LIBRARY:
                      type: string
                      maxLength: 10
                      description: 'iSeries: Library of Physical File (Database Monitor)'
                    MEMBER:
                      type: string
                      maxLength: 10
                      description: 'iSeries: Physical Member (Database Monitor)'
                    RELRECNO:
                      type: integer
                      format: int32
                      description: 'iSeries: Relative Record Number (Database Monitor)'
                    RECLOCK:
                      type: string
                      maxLength: 1
                      description: 'iSeries: Jobs Holding/Waiting for a Database Record Lock'
                    TBNAME:
                      type: string
                      maxLength: 30
                      description: 'iSeries: SQL Name of Table or View'
              required:
              - P_RECORD
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
