openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWD_WF_DEFINITION_STEP_READ:
    post:
      tags:
      - SWDE
      operationId: /rfc/SWD_WF_DEFINITION_STEP_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NODEID:
                  type: integer
                  format: int64
                TASK:
                  type: string
                  maxLength: 14
                WFDKEY:
                  type: object
                  properties:
                    WFD_ID:
                      type: string
                      maxLength: 10
                      description: Number of workflow definition
                    VERSION:
                      type: string
                      maxLength: 4
                      description: Version
                    EXETYP:
                      type: string
                      maxLength: 1
                      description: 'Workflow Type  enumValues: E=Runtime,R=Ad Hoc Runtime,S=Definition,D=Ad Hoc Definition,C=Configuration Definition,A=Configuration Runtime'
                      enum:
                      - E
                      - R
                      - S
                      - D
                      - C
                      - A
              required:
              - NODEID
              - TASK
              - WFDKEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  STEPS:
                    type: object
                    properties:
                      CLIENT:
                        type: string
                        maxLength: 3
                        description: 'Workflow definition: Client'
                      WFD_ID:
                        type: string
                        maxLength: 10
                        description: Number of workflow definition
                      VERSION:
                        type: string
                        maxLength: 4
                        description: Version
                      EXETYP:
                        type: string
                        maxLength: 1
                        description: 'Workflow Type  enumValues: E=Runtime,R=Ad Hoc Runtime,S=Definition,D=Ad Hoc Definition,C=Configuration Definition,A=Configuration Runtime'
                        enum:
                        - E
                        - R
                        - S
                        - D
                        - C
                        - A
                      NODEID:
                        type: integer
                        format: int64
                        description: Node Number
                      CONT_OBJKT:
                        type: string
                        maxLength: 32
                        description: 'Workflow definition: Container element for object ID'
                      TASK:
                        type: string
                        maxLength: 14
                        description: Task abbreviation
                      BATCH_TASK:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Task processed in background  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      SKIP_ENABL:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Processing can be rejected  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CONFRM_MAN:
                        type: string
                        maxLength: 1
                        description: 'Indicator: End of processing must be confirmed manually  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CONFRM_EVT:
                        type: string
                        maxLength: 1
                        description: 'Workflow Definition: Step End by Terminating Event  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CONFRM_TSK:
                        type: string
                        maxLength: 1
                        description: 'Workflow definition: Step end by task end  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      SNDMETHODS:
                        type: string
                        maxLength: 1
                        description: 'Workflow definition: Flag for secondary methods exists  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      EXEC_VERS:
                        type: string
                        maxLength: 1
                        description: 'Workflow definition: Execution version of task  enumValues: D=Definition time,A=Current version,I=Instantiation time'
                        enum:
                        - D
                        - A
                        - I
                      ACT_ROLE:
                        type: string
                        maxLength: 14
                        description: 'WF def.: Role for processing task'
                      CONT_ROLE:
                        type: string
                        maxLength: 32
                        description: 'Workflow definition: Container element for role (agent)'
                      DEADL_ROLE:
                        type: string
                        maxLength: 14
                        description: 'WF def.: Role expression for deadline agent'
                      DEADL_CONT:
                        type: string
                        maxLength: 32
                        description: 'Workflow definition: Container element for role (deadline)'
                      NOTIF_ROLE:
                        type: string
                        maxLength: 14
                        description: 'WF def.: Role expression for notification'
                      NOTIF_CONT:
                        type: string
                        maxLength: 32
                        description: 'Workflow definition: Container element f. role (notif.agent)'
                      DES_ST_B:
                        type: string
                        maxLength: 3
                        description: 'Reference date/time for requested start  enumValues: ""=No Deadline Monitoring Active,EXP=Expression,WIS=Work Item Creation,WFS=Workflow Creation'
                        enum:
                        - ''
                        - EXP
                        - WIS
                        - WFS
                      DES_ST_U:
                        type: string
                        maxLength: 3
                        description: Time Unit
                      DES_ST_O:
                        type: integer
                        format: int32
                        description: Offset between reference time and missed deadline
                      LATE_ST_B:
                        type: string
                        maxLength: 3
                        description: 'Reference date/time for latest start  enumValues: ""=No Deadline Monitoring Active,EXP=Expression,WIS=Work Item Creation,WFS=Workflow Creation'
                        enum:
                        - ''
                        - EXP
                        - WIS
                        - WFS
                      LATE_ST_U:
                        type: string
                        maxLength: 3
                        description: Time Unit
                      LATE_ST_O:
                        type: integer
                        format: int32
                        description: Offset between reference time and missed deadline
                      DES_END_B:
                        type: string
                        maxLength: 3
                        description: 'Reference date/time for requested end  enumValues: ""=No Deadline Monitoring Active,EXP=Expression,WIS=Work Item Creation,WFS=Workflow Creation'
                        enum:
                        - ''
                        - EXP
                        - WIS
                        - WFS
                      DES_END_U:
                        type: string
                        maxLength: 3
                        description: Time Unit
                      DES_END_O:
                        type: integer
                        format: int32
                        description: Offset between reference time and missed deadline
                      LATE_END_B:
                        type: string
                        maxLength: 3
                        description: 'Reference Date/Time for Latest End  enumValues: ""=No Deadline Monitoring Active,EXP=Expression,WIS=Work Item Creation,WFS=Workflow Creation'
                        enum:
                        - ''
                        - EXP
                        - WIS
                        - WFS
                      LATE_END_U:
                        type: string
                        maxLength: 3
                        description: Time Unit
                      LATE_END_O:
                        type: integer
                        format: int32
                        description: Offset between reference time and missed deadline
                      ESCALATION:
                        type: string
                        maxLength: 1
                        description: 'Workflow definition: Escalation  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      PRIORITY:
                        type: integer
                        format: int64
                        description: 'Priority of step  enumValues: 1=1 Highest - Express,6=6 Low,3=3 Higher,9=9 Lowest,8=8 Very low,5=5 Medium,7=7 Lower,2=2 Very high,4=4 High'
                        enum:
                        - '1'
                        - '6'
                        - '3'
                        - '9'
                        - '8'
                        - '5'
                        - '7'
                        - '2'
                        - '4'
                      STEP_ASYNC:
                        type: string
                        maxLength: 1
                        description: 'Workflow definition: Start asynchronously  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CONT_EXCL:
                        type: string
                        maxLength: 32
                        description: Excluded agents for step
                      DEEND_ROLE:
                        type: string
                        maxLength: 14
                        description: 'WF: Org. Object for Notif. Agent If Requested End Is Reached'
                      LASTR_ROLE:
                        type: string
                        maxLength: 14
                        description: 'WF: Org. Object for Notif. Agent If Latest Start Is Reached'
                      DIAL_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: NO advancing with dialog  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ERR_COUNT:
                        type: integer
                        format: int64
                        description: Retries for Work Items with Temporary Errors
                      MODULEPOOL:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      SUBSCREEN:
                        type: string
                        maxLength: 4
                        description: Screen number
                      FUNCNAME:
                        type: string
                        maxLength: 30
                        description: Function module for formatting work item preview
                      BI_TIMEOUT:
                        type: integer
                        format: int32
                        description: Time Interval Between Creation of Work Item and Timeout
                      INVISIBLE:
                        type: string
                        maxLength: 1
                        description: 'Work Item Is Not Visible in Inbox  enumValues: X=Step Invisible,""=Step Visible'
                        enum:
                        - X
                        - ''
                      XMLPROT:
                        type: integer
                        format: int64
                        description: Transfer Format Used In Web Activity
                      WAIT4CB:
                        type: string
                        maxLength: 1
                        description: 'Wait For Feedback By XML  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      URL_ROLE:
                        type: string
                        maxLength: 14
                        description: Rule for URL Determination
                      XMLGRP:
                        type: string
                        maxLength: 4
                        description: Log Group
                      XMLCMD:
                        type: string
                        maxLength: 10
                        description: Transfer Log Function
                      SWIM_EDITE:
                        type: string
                        maxLength: 32
                        description: Grouping Name
                      REROUTING:
                        type: string
                        maxLength: 1
                        description: 'Execute Agent Determination Again  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      XMLCMDLEVL:
                        type: string
                        maxLength: 1
                        description: 'Function Attribute  enumValues: ""=Independent Function,B=Process Connection Is Required,A=Process Communication Is Started'
                        enum:
                        - ''
                        - B
                        - A
                      EVT_ROUTNG:
                        type: string
                        maxLength: 2
                        description: 'Type of event delivery  enumValues: ""=Direct to Wait Step,WF=Using Workflow'
                        enum:
                        - ''
                        - WF
                      PRE_INST:
                        type: string
                        maxLength: 1
                        description: 'Create Work Item During Workflow Start  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      WAITTYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of Wait Step  enumValues: L=Wait for Local Event,""=Wait for Event,W=Wait for Event by Using Workflow,C=Wait for Condition'
                        enum:
                        - L
                        - ''
                        - W
                        - C
                      CRL_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Use Correlation  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      WILLBRANCH:
                        type: string
                        maxLength: 1
                        description: 'Activity Branched (Implemented by Generated Case)  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MSELTYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of User Decision  enumValues: G=Guided Procedures,""=Standard'
                        enum:
                        - G
                        - ''
                      REFER_DATE:
                        type: string
                        maxLength: 255
                        description: Reference date for calculating deadlines
                      REFER_TIME:
                        type: string
                        maxLength: 255
                        description: Reference time for deadline calculation
                      TASK_EXPR:
                        type: string
                        maxLength: 255
                        description: Expression for task
                      DES_ST_EXP:
                        type: string
                        maxLength: 255
                        description: Expression for requested start (time)
                      DES_SD_EXP:
                        type: string
                        maxLength: 255
                        description: Expression for requested start (date)
                      LAT_ST_EXP:
                        type: string
                        maxLength: 255
                        description: Expression for latest start (time)
                      LAT_SD_EXP:
                        type: string
                        maxLength: 255
                        description: Expression for latest start (date)
                      DES_ET_EXP:
                        type: string
                        maxLength: 255
                        description: Expression for requested end (time)
                      DES_ED_EXP:
                        type: string
                        maxLength: 255
                        description: Expression for requested end (date)
                      LAT_ET_EXP:
                        type: string
                        maxLength: 255
                        description: Expression for Latest End
                      LAT_ED_EXP:
                        type: string
                        maxLength: 255
                        description: Expression for latest end (date)
                      AGENT_EXPR:
                        type: string
                        maxLength: 255
                        description: Expression for Agent of Activity
                      DEADL_EXPR:
                        type: string
                        maxLength: 255
                        description: Notification Agent for Deadline Monitoring
                      DEEND_EXPR:
                        type: string
                        maxLength: 255
                        description: Notification Agent If Requested End Is Missed
                      LASTR_EXPR:
                        type: string
                        maxLength: 255
                        description: Notification Agent for Latest Start
                      NOTIF_EXPR:
                        type: string
                        maxLength: 255
                        description: Expression for Notification Agent for Completion
                      EXCL_EXPR:
                        type: string
                        maxLength: 255
                        description: Excluded agents as expression
                      LOGSYS_EXP:
                        type: string
                        maxLength: 255
                        description: 'WF: Logical system for workflow runtime'
                      USLSYS_EXP:
                        type: string
                        maxLength: 255
                        description: 'WF: Logical system for inbox'
                      URL_EXPR:
                        type: string
                        maxLength: 255
                        description: Address (URL) for Workflow Call
                      CONV_EXPR:
                        type: string
                        maxLength: 255
                        description: 'WebFlow: Conversion'
                      XML_EXPR:
                        type: string
                        maxLength: 255
                        description: Rule for XML Document Format
                      AUTH_EXPR:
                        type: string
                        maxLength: 255
                        description: WebFlow Rule for Authentication
                      SEND_EXPR:
                        type: string
                        maxLength: 255
                        description: WebFlow Rule for Sending
                      CONV_ROLE:
                        type: string
                        maxLength: 14
                        description: Rule for Conversion
                      XML_ROLE:
                        type: string
                        maxLength: 14
                        description: Rule for XML Creation
                      AUTH_ROLE:
                        type: string
                        maxLength: 14
                        description: Authorization Determination Rule
                      SEND_ROLE:
                        type: string
                        maxLength: 14
                        description: Rule for Sending
                      XMLCMDROLE:
                        type: string
                        maxLength: 14
                        description: Rule for Function Control
                      XMLP_ROLE:
                        type: string
                        maxLength: 14
                        description: Rule for Function Control
                      PARAMETER1:
                        type: string
                        maxLength: 255
                        description: First parameter with expression for user decision
                      PARAMETER2:
                        type: string
                        maxLength: 255
                        description: Second parameter with expression for user decision
                      PARAMETER3:
                        type: string
                        maxLength: 255
                        description: Third parameter with expression for user decision
                      PARAMETER4:
                        type: string
                        maxLength: 255
                        description: Fourth parameter with expression for user decision
                      CASE_CONTE:
                        type: string
                        maxLength: 255
                        description: 'Workflow definition: Expression via container'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
