openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CHECK_INFO_APAR_APPL:
    post:
      tags:
      - STU4
      summary: PTF-check on local application server
      operationId: /rfc/CHECK_INFO_APAR_APPL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PATHNAME:
                  type: string
                  default: INFOAPAR_PATH
                  maxLength: 64
                  description: Pathname of INFO-APAR file in IFS
                AS4_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:
                  AS4_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.
