openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/AS4_READ_INFOAPAR:
    post:
      tags:
      - STU4
      summary: 'iSeries: Read Information APAR'
      operationId: /rfc/AS4_READ_INFOAPAR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HOSTNAME:
                  type: string
                  maxLength: 32
                  description: Hostname
                INFOAPAR_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      DB4TXT:
                        type: string
                        maxLength: 132
                        description: 'iSeries: Text Field of Length 132'
              required:
              - HOSTNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  APAR_DATE:
                    type: string
                    format: date
                    description: Field of type DATS
                  AS4_FILENAME:
                    type: string
                    maxLength: 60
                    description: Physical file name
                  INFOAPAR_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        DB4TXT:
                          type: string
                          maxLength: 132
                          description: 'iSeries: Text Field of Length 132'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
