openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWP_WORKFLOW_STEP_LOG_READ:
    post:
      tags:
      - SWPL
      operationId: /rfc/SWP_WORKFLOW_STEP_LOG_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WF_ID:
                  type: integer
                  format: int64
                WORKFLOW_STEP_LOG:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: Client
                      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 node in a WF execution'
                      LOG_DATE:
                        type: string
                        format: date
                        description: 'Workflow: Date when an activity was logged'
                      LOG_TIME:
                        type: string
                        maxLength: 6
                        description: 'Workflow: Time when a WF activity was logged'
                      LOG_COUNT:
                        type: integer
                        format: int64
                        description: Counter for entries in work item log
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                      DELETED:
                        type: string
                        maxLength: 1
                        description: 'Workflow: Delete flag for workflow data which is old  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      RETRYCOUNT:
                        type: integer
                        format: int64
                        description: 'Workflow: Number of unsuccessful step activations'
                      WI_ID:
                        type: integer
                        format: int64
                        description: 'Workflow: Work item ID of an activity in a workflow'
                      WI_SYSTEM:
                        type: string
                        maxLength: 10
                        description: 'Workflow: (Log.) system in which a workflow activity occurs'
                      TASK_ID:
                        type: string
                        maxLength: 14
                        description: Task abbreviation
                      WI_AGENT:
                        type: string
                        maxLength: 12
                        description: Actual Agent of Work Item
                      WI_AED:
                        type: string
                        format: date
                        description: End Date of Work Item
                      WI_AET:
                        type: string
                        maxLength: 6
                        description: Current end time of work item
                      RETURNCODE:
                        type: string
                        maxLength: 74
                        description: 'Workflow: Data element for terminating events (swwwcompevt)'
                      WI_DH_STAT:
                        type: integer
                        format: int64
                        description: 'Deadline Status of a Work Item  enumValues: 8996=Latest Start,8990=Requested Start,8998=Latest End,0000=Deadline Not Yet Reached,8997=Requested End'
                        enum:
                        - '8996'
                        - '8990'
                        - '8998'
                        - '0000'
                        - '8997'
                      PRED_NODE:
                        type: integer
                        format: int64
                        description: 'Workflow: Preceding activity of a newly started activity'
                      PRED_NODEP:
                        type: integer
                        format: int64
                        description: 'Workflow: Parallelism index of preceding node of an activity'
                      PRED_WI_ID:
                        type: integer
                        format: int64
                        description: 'Workflow: Work item ID of preceding activity of an activity'
                      RETURNVAL:
                        type: string
                        maxLength: 255
                        description: 'WFM: Return value of a step'
                      RETURNTYP:
                        type: string
                        maxLength: 2
                        description: 'Type of Return Value  enumValues: RV=Return value of method                     [C255],CX=Class-Based Exception,RC=Return code of method                      [C4],EV=Terminating event (object type + event)    [C74]'
                        enum:
                        - RV
                        - CX
                        - RC
                        - EV
              required:
              - WF_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WORKFLOW_STEP_LOG:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: Client
                        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 node in a WF execution'
                        LOG_DATE:
                          type: string
                          format: date
                          description: 'Workflow: Date when an activity was logged'
                        LOG_TIME:
                          type: string
                          maxLength: 6
                          description: 'Workflow: Time when a WF activity was logged'
                        LOG_COUNT:
                          type: integer
                          format: int64
                          description: Counter for entries in work item log
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                        DELETED:
                          type: string
                          maxLength: 1
                          description: 'Workflow: Delete flag for workflow data which is old  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        RETRYCOUNT:
                          type: integer
                          format: int64
                          description: 'Workflow: Number of unsuccessful step activations'
                        WI_ID:
                          type: integer
                          format: int64
                          description: 'Workflow: Work item ID of an activity in a workflow'
                        WI_SYSTEM:
                          type: string
                          maxLength: 10
                          description: 'Workflow: (Log.) system in which a workflow activity occurs'
                        TASK_ID:
                          type: string
                          maxLength: 14
                          description: Task abbreviation
                        WI_AGENT:
                          type: string
                          maxLength: 12
                          description: Actual Agent of Work Item
                        WI_AED:
                          type: string
                          format: date
                          description: End Date of Work Item
                        WI_AET:
                          type: string
                          maxLength: 6
                          description: Current end time of work item
                        RETURNCODE:
                          type: string
                          maxLength: 74
                          description: 'Workflow: Data element for terminating events (swwwcompevt)'
                        WI_DH_STAT:
                          type: integer
                          format: int64
                          description: 'Deadline Status of a Work Item  enumValues: 8996=Latest Start,8990=Requested Start,8998=Latest End,0000=Deadline Not Yet Reached,8997=Requested End'
                          enum:
                          - '8996'
                          - '8990'
                          - '8998'
                          - '0000'
                          - '8997'
                        PRED_NODE:
                          type: integer
                          format: int64
                          description: 'Workflow: Preceding activity of a newly started activity'
                        PRED_NODEP:
                          type: integer
                          format: int64
                          description: 'Workflow: Parallelism index of preceding node of an activity'
                        PRED_WI_ID:
                          type: integer
                          format: int64
                          description: 'Workflow: Work item ID of preceding activity of an activity'
                        RETURNVAL:
                          type: string
                          maxLength: 255
                          description: 'WFM: Return value of a step'
                        RETURNTYP:
                          type: string
                          maxLength: 2
                          description: 'Type of Return Value  enumValues: RV=Return value of method                     [C255],CX=Class-Based Exception,RC=Return code of method                      [C4],EV=Terminating event (object type + event)    [C74]'
                          enum:
                          - RV
                          - CX
                          - RC
                          - EV
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
