openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWZ_AI_HEADER_READ:
    post:
      tags:
      - SWZA
      operationId: /rfc/SWZ_AI_HEADER_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WI_ID:
                  type: integer
                  format: int64
                  description: Work queue ID
              required:
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AI_HEADER:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      WI_ID:
                        type: integer
                        format: int64
                        description: ID of a work queue
                      APPL:
                        type: string
                        maxLength: 30
                        description: Source application for work queue
                      DEF_TASK:
                        type: string
                        maxLength: 14
                        description: Default task for work queue
                      RELEASED:
                        type: string
                        maxLength: 1
                        description: 'Indicator Denoting Whether Entire Work Queue Is Released  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MCOA1:
                        type: string
                        maxLength: 30
                        description: Search term for matchcode use
                      APPLEXFUNC:
                        type: string
                        maxLength: 30
                        description: Function module for executing a work queue
                      BINDFUNC:
                        type: string
                        maxLength: 30
                        description: 'FM for executing a programmed binding: WQ -> WI'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
