openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/AS4_PARSE_INFOAPAR:
    post:
      tags:
      - STU4
      summary: 'iSeries: Parse Information APAR'
      operationId: /rfc/AS4_PARSE_INFOAPAR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APAR_FILENAME:
                  type: string
                  default: INFOAPAR_PATH
                  maxLength: 64
                  description: 'AS/400: Path name of Info APAR file'
                REQ_OS_RELEASE:
                  type: string
                  maxLength: 6
                  description: 'iSeries: Operating System Release'
                PTF_STATUS:
                  type: array
                  items:
                    type: object
                    properties:
                      STAT_ICON:
                        type: string
                        maxLength: 6
                        description: 'iSeries: PTF Status (Icon)'
                      STATUS:
                        type: string
                        maxLength: 1
                        description: 'iSeries: PTF Status'
                      LICPGM:
                        type: string
                        maxLength: 7
                        description: 'iSeries: PTF Product ID'
                      PTFNBR:
                        type: string
                        maxLength: 7
                        description: 'iSeries: PTF Number'
                      INFO_COM:
                        type: string
                        maxLength: 80
                        description: 'iSeries: Comment from Info APAR File'
                      STATUS_TXT:
                        type: string
                        maxLength: 120
                        description: 'iSeries: PTF Status'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OS_RELEASE:
                    type: string
                    maxLength: 6
                    description: 'AS/400: Operating System Release'
                  PTF_STATUS:
                    type: array
                    items:
                      type: object
                      properties:
                        STAT_ICON:
                          type: string
                          maxLength: 6
                          description: 'iSeries: PTF Status (Icon)'
                        STATUS:
                          type: string
                          maxLength: 1
                          description: 'iSeries: PTF Status'
                        LICPGM:
                          type: string
                          maxLength: 7
                          description: 'iSeries: PTF Product ID'
                        PTFNBR:
                          type: string
                          maxLength: 7
                          description: 'iSeries: PTF Number'
                        INFO_COM:
                          type: string
                          maxLength: 80
                          description: 'iSeries: Comment from Info APAR File'
                        STATUS_TXT:
                          type: string
                          maxLength: 120
                          description: 'iSeries: PTF Status'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
