openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWZ_AI_ELEMENT_IN_AI:
    post:
      tags:
      - SWZA
      operationId: /rfc/SWZ_AI_ELEMENT_IN_AI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OBJECTID:
                  type: string
                  maxLength: 90
                  description: ID of object to be processed
                TASK_ID:
                  type: string
                  maxLength: 14
                  description: Task ID according to task catalog
                WI_ID:
                  type: integer
                  format: int64
                  description: Work queue ID
              required:
              - OBJECTID
              - TASK_ID
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT:
                    type: string
                    maxLength: 1
                    description: Return value (0 = line not in WQ / 1 = in WQ)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
