openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWP_WI_CREATOR_SET:
    post:
      tags:
      - SWP1
      operationId: /rfc/SWP_WI_CREATOR_SET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NODE_ID:
                  type: integer
                  format: int64
                  default: 0
                  description: Work item (ID) which passed to error status
                NODE_PAR_INDEX:
                  type: integer
                  format: int64
                  default: 0
                  description: Work item (ID) which passed to error status
                WF_ID:
                  type: integer
                  format: int64
                  description: Work item (ID) which passed to error status
              required:
              - WF_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SWP_WI_REQUESTER:
                    type: object
                    properties:
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      WF_ID:
                        type: integer
                        format: int64
                        description: Workflow ID
                      NODE_ID:
                        type: integer
                        format: int64
                        description: Node Number
                      NODE_P_IND:
                        type: integer
                        format: int64
                        description: 'Workflow: ParForEach index of a workflow step/node'
                  SWW_WI_CREATOR:
                    type: string
                    maxLength: 90
                    description: Work item (ID) which passed to error status
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
