openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWP_WORKFLOW_NODE_LOG_READ:
    post:
      tags:
      - SWPL
      operationId: /rfc/SWP_WORKFLOW_NODE_LOG_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WF_ID:
                  type: integer
                  format: int64
                WORKFLOW_NODE_LOG:
                  type: array
                  items:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: 'Workflow definition: Client'
                      WF_ID:
                        type: integer
                        format: int64
                        description: Workflow ID
                      NODEID:
                        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: Start time of a workflow activity'
                      LOG_TIME:
                        type: string
                        maxLength: 6
                        description: 'Workflow: Start time of a workflow activity'
                      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
                      NODETYPE:
                        type: string
                        maxLength: 1
                        description: 'Node Type  enumValues: D=DECISION,F=FORK,T=TRIGGER,X=BLOCKSTART,Y=BLOCKEND,E=ENDIF,J=JOIN,Z=DEAD END,S=STEP,C=CASE,P=Container operation (ADD, MULTIPLY, ...),V=VOID,I=IF,R=RECEIVER,O=CONTROL'
                        enum:
                        - D
                        - F
                        - T
                        - X
                        - Y
                        - E
                        - J
                        - Z
                        - S
                        - C
                        - P
                        - V
                        - I
                        - R
                        - O
                      EXP_TOKENS:
                        type: integer
                        format: int64
                        description: 'Workflow definition: Number of preceding nodes of a node'
                      REC_TOKENS:
                        type: integer
                        format: int64
                        description: 'Workflow: Number of tokens received by a node'
                      MIN_TOKENS:
                        type: integer
                        format: int64
                        description: 'Workflow: Token number n for which a n from m join triggers'
                      REC_COUNT:
                        type: integer
                        format: int64
                        description: 'Workflow wait step: Number of events which have occurred'
                      CONT_CMD:
                        type: integer
                        format: int64
                        description: 'Workflow definition: Workflow control  enumValues: 12=Function: Allocate,01=Process control: Cancel work item,13=Function: Substract,11=Function: Add,09=Process Control: Calculate Correlation,15=Function: Divide,14=Function: Multiply,18=Function: Append,02=Flow control: Cancel workflow'
                        enum:
                        - '12'
                        - '01'
                        - '13'
                        - '11'
                        - '09'
                        - '15'
                        - '14'
                        - '18'
                        - '02'
                      PARAMETER1:
                        type: string
                        maxLength: 255
                        description: 'Workflow definition: Parameters of a control flow operator'
                      PARAMETER2:
                        type: string
                        maxLength: 255
                        description: 'Workflow definition: Parameters of a control flow operator'
                      PARAMETER3:
                        type: string
                        maxLength: 255
                        description: 'Workflow definition: Parameters of a control flow operator'
                      PARAMETER4:
                        type: string
                        maxLength: 255
                        description: 'Workflow definition: Parameters of a control flow operator'
                      RETURNCODE:
                        type: integer
                        format: int64
                        description: 'Workflow: Return code of a control command in a workflow'
                      CMPGUID:
                        type: string
                        maxLength: 32
                        description: GUID of WFM Runtime Component
                      WI_ID:
                        type: integer
                        format: int64
                        description: Context Work Item of Node (Block Item, Flow Item)
                      NODECAT:
                        type: string
                        maxLength: 1
                        description: 'Workflow Log: Category of a Node  enumValues: S=Start Node,E=End Node,A=Atomic Node'
                        enum:
                        - S
                        - E
                        - A
                      NODE_L_IND:
                        type: integer
                        format: int64
                        description: 'WFM: Node Loop Counter'
              required:
              - WF_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WORKFLOW_NODE_LOG:
                    type: array
                    items:
                      type: object
                      properties:
                        CLIENT:
                          type: string
                          maxLength: 3
                          description: 'Workflow definition: Client'
                        WF_ID:
                          type: integer
                          format: int64
                          description: Workflow ID
                        NODEID:
                          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: Start time of a workflow activity'
                        LOG_TIME:
                          type: string
                          maxLength: 6
                          description: 'Workflow: Start time of a workflow activity'
                        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
                        NODETYPE:
                          type: string
                          maxLength: 1
                          description: 'Node Type  enumValues: D=DECISION,F=FORK,T=TRIGGER,X=BLOCKSTART,Y=BLOCKEND,E=ENDIF,J=JOIN,Z=DEAD END,S=STEP,C=CASE,P=Container operation (ADD, MULTIPLY, ...),V=VOID,I=IF,R=RECEIVER,O=CONTROL'
                          enum:
                          - D
                          - F
                          - T
                          - X
                          - Y
                          - E
                          - J
                          - Z
                          - S
                          - C
                          - P
                          - V
                          - I
                          - R
                          - O
                        EXP_TOKENS:
                          type: integer
                          format: int64
                          description: 'Workflow definition: Number of preceding nodes of a node'
                        REC_TOKENS:
                          type: integer
                          format: int64
                          description: 'Workflow: Number of tokens received by a node'
                        MIN_TOKENS:
                          type: integer
                          format: int64
                          description: 'Workflow: Token number n for which a n from m join triggers'
                        REC_COUNT:
                          type: integer
                          format: int64
                          description: 'Workflow wait step: Number of events which have occurred'
                        CONT_CMD:
                          type: integer
                          format: int64
                          description: 'Workflow definition: Workflow control  enumValues: 12=Function: Allocate,01=Process control: Cancel work item,13=Function: Substract,11=Function: Add,09=Process Control: Calculate Correlation,15=Function: Divide,14=Function: Multiply,18=Function: Append,02=Flow control: Cancel workflow'
                          enum:
                          - '12'
                          - '01'
                          - '13'
                          - '11'
                          - '09'
                          - '15'
                          - '14'
                          - '18'
                          - '02'
                        PARAMETER1:
                          type: string
                          maxLength: 255
                          description: 'Workflow definition: Parameters of a control flow operator'
                        PARAMETER2:
                          type: string
                          maxLength: 255
                          description: 'Workflow definition: Parameters of a control flow operator'
                        PARAMETER3:
                          type: string
                          maxLength: 255
                          description: 'Workflow definition: Parameters of a control flow operator'
                        PARAMETER4:
                          type: string
                          maxLength: 255
                          description: 'Workflow definition: Parameters of a control flow operator'
                        RETURNCODE:
                          type: integer
                          format: int64
                          description: 'Workflow: Return code of a control command in a workflow'
                        CMPGUID:
                          type: string
                          maxLength: 32
                          description: GUID of WFM Runtime Component
                        WI_ID:
                          type: integer
                          format: int64
                          description: Context Work Item of Node (Block Item, Flow Item)
                        NODECAT:
                          type: string
                          maxLength: 1
                          description: 'Workflow Log: Category of a Node  enumValues: S=Start Node,E=End Node,A=Atomic Node'
                          enum:
                          - S
                          - E
                          - A
                        NODE_L_IND:
                          type: integer
                          format: int64
                          description: 'WFM: Node Loop Counter'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
