openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWZ_AI_SHOW:
    post:
      tags:
      - SWZA
      operationId: /rfc/SWZ_AI_SHOW
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WI_ID:
                  type: integer
                  format: int64
                  description: Work queue ID
                AI_ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      WI_ID:
                        type: integer
                        format: int64
                        description: Work item ID
                      OBJECTID:
                        type: string
                        maxLength: 90
                        description: Object ID
                      TASK_ID:
                        type: string
                        maxLength: 14
                        description: Task ID
                      STAT:
                        type: string
                        maxLength: 12
                        description: 'Processing Status of a Work Item  enumValues: STARTED=In Process,CANCELLED=Logically Deleted,READY=Ready,EXCPHANDLR=Exception Being Handled,COMMITTED=Executed (Only If Expl. End Confirmation Is Expected),WAITING=Waiting (Also: Work Items in Resubmission),COMPLETED=Completed,ERROR=Error,EXCPCAUGHT=Exception Caught,CHECKED=In Preparation,SELECTED=Reserved'
                        enum:
                        - STARTED
                        - CANCELLED
                        - READY
                        - EXCPHANDLR
                        - COMMITTED
                        - WAITING
                        - COMPLETED
                        - ERROR
                        - EXCPCAUGHT
                        - CHECKED
                        - SELECTED
                      BATCH:
                        type: string
                        maxLength: 1
                        description: 'Flag whether line in work queue can run in background  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      RELEASED:
                        type: string
                        maxLength: 1
                        description: 'Flag whether the line of a work queue is released  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CR_WI_ID:
                        type: integer
                        format: int64
                        description: Work item ID
                OBJECT_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTID:
                        type: string
                        maxLength: 90
                        description: Object ID
                      TASK_ID:
                        type: string
                        maxLength: 14
                        description: Task ID
                      STATUS:
                        type: string
                        maxLength: 12
                        description: 'Processing Status of a Work Item  enumValues: STARTED=In Process,CANCELLED=Logically Deleted,READY=Ready,EXCPHANDLR=Exception Being Handled,COMMITTED=Executed (Only If Expl. End Confirmation Is Expected),WAITING=Waiting (Also: Work Items in Resubmission),COMPLETED=Completed,ERROR=Error,EXCPCAUGHT=Exception Caught,CHECKED=In Preparation,SELECTED=Reserved'
                        enum:
                        - STARTED
                        - CANCELLED
                        - READY
                        - EXCPHANDLR
                        - COMMITTED
                        - WAITING
                        - COMPLETED
                        - ERROR
                        - EXCPCAUGHT
                        - CHECKED
                        - SELECTED
                      BATCH:
                        type: string
                        maxLength: 1
                        description: 'Flag whether line in work queue can run in background  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      RELEASED:
                        type: string
                        maxLength: 1
                        description: 'Flag whether the line of a work queue is released  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
              required:
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  AI_ENTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        WI_ID:
                          type: integer
                          format: int64
                          description: Work item ID
                        OBJECTID:
                          type: string
                          maxLength: 90
                          description: Object ID
                        TASK_ID:
                          type: string
                          maxLength: 14
                          description: Task ID
                        STAT:
                          type: string
                          maxLength: 12
                          description: 'Processing Status of a Work Item  enumValues: STARTED=In Process,CANCELLED=Logically Deleted,READY=Ready,EXCPHANDLR=Exception Being Handled,COMMITTED=Executed (Only If Expl. End Confirmation Is Expected),WAITING=Waiting (Also: Work Items in Resubmission),COMPLETED=Completed,ERROR=Error,EXCPCAUGHT=Exception Caught,CHECKED=In Preparation,SELECTED=Reserved'
                          enum:
                          - STARTED
                          - CANCELLED
                          - READY
                          - EXCPHANDLR
                          - COMMITTED
                          - WAITING
                          - COMPLETED
                          - ERROR
                          - EXCPCAUGHT
                          - CHECKED
                          - SELECTED
                        BATCH:
                          type: string
                          maxLength: 1
                          description: 'Flag whether line in work queue can run in background  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        RELEASED:
                          type: string
                          maxLength: 1
                          description: 'Flag whether the line of a work queue is released  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CR_WI_ID:
                          type: integer
                          format: int64
                          description: Work item ID
                  OBJECT_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTID:
                          type: string
                          maxLength: 90
                          description: Object ID
                        TASK_ID:
                          type: string
                          maxLength: 14
                          description: Task ID
                        STATUS:
                          type: string
                          maxLength: 12
                          description: 'Processing Status of a Work Item  enumValues: STARTED=In Process,CANCELLED=Logically Deleted,READY=Ready,EXCPHANDLR=Exception Being Handled,COMMITTED=Executed (Only If Expl. End Confirmation Is Expected),WAITING=Waiting (Also: Work Items in Resubmission),COMPLETED=Completed,ERROR=Error,EXCPCAUGHT=Exception Caught,CHECKED=In Preparation,SELECTED=Reserved'
                          enum:
                          - STARTED
                          - CANCELLED
                          - READY
                          - EXCPHANDLR
                          - COMMITTED
                          - WAITING
                          - COMPLETED
                          - ERROR
                          - EXCPCAUGHT
                          - CHECKED
                          - SELECTED
                        BATCH:
                          type: string
                          maxLength: 1
                          description: 'Flag whether line in work queue can run in background  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        RELEASED:
                          type: string
                          maxLength: 1
                          description: 'Flag whether the line of a work queue is released  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
