openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWD_STORE_WF_MNODES:
    post:
      tags:
      - SWDB
      operationId: /rfc/SWD_STORE_WF_MNODES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                ACT_TASK:
                  type: string
                  maxLength: 14
                ACT_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
                DO_COMMIT:
                  type: string
                  default: ' '
                  maxLength: 1
                ACT_MNODES:
                  type: array
                  items:
                    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
                      NODETYPE:
                        type: string
                        maxLength: 4
                        description: Node type
                      MODELEMENT:
                        type: string
                        maxLength: 1
                        description: 'Workflow definition: Modelling elements  enumValues: E=Event,S=Step,O=Linking operator'
                        enum:
                        - E
                        - S
                        - O
                      SYMBNAME:
                        type: string
                        maxLength: 20
                        description: 'Workflow definition: Symbolic name for return value'
                      TASK:
                        type: string
                        maxLength: 14
                        description: Task abbreviation
                      PARFORFLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag for table-controled parallel processing  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      PARFOROBJ:
                        type: string
                        maxLength: 132
                        description: Expression Old Length (Only Use for Read Purposes)
                      MIN_TOKENS:
                        type: integer
                        format: int64
                        description: Number of branches necessary
                      EXP_TOKENS:
                        type: integer
                        format: int64
                        description: 'Workflow definition: Number of preceding nodes of a node'
                      FORK_TOKEN:
                        type: integer
                        format: int64
                        description: Number of parallel branches
                      BLOCKID:
                        type: integer
                        format: int64
                        description: ID of block in workflow definition
                      NEST_LEVEL:
                        type: integer
                        format: int64
                        description: Nesting level of current block in workflow definition
                      PAR_BLCKID:
                        type: integer
                        format: int64
                        description: ID of superordinate block in workflow definition
                      CONDIT_ID:
                        type: integer
                        format: int64
                        description: 'Workflow definition: Reference to a condition'
                      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: 132
                        description: Expression Old Length (Only Use for Read Purposes)
                      PARAMETER2:
                        type: string
                        maxLength: 132
                        description: Expression Old Length (Only Use for Read Purposes)
                      PARAMETER3:
                        type: string
                        maxLength: 132
                        description: Expression Old Length (Only Use for Read Purposes)
                      PARAMETER4:
                        type: string
                        maxLength: 132
                        description: Expression Old Length (Only Use for Read Purposes)
                      EVT_TYPE:
                        type: string
                        maxLength: 32
                        description: Event for object type
                      EVT_OTYPE:
                        type: string
                        maxLength: 32
                        description: Type of Objects in Persistent Object References
                      EVT_CATID:
                        type: string
                        maxLength: 2
                        description: 'Object Type Category  enumValues: BO=BOR Object Type,BC=Business Class,XC=XML Object Type,CL=ABAP Class'
                        enum:
                        - BO
                        - BC
                        - XC
                        - CL
                      EVT_CONTEL:
                        type: string
                        maxLength: 255
                        description: Container element with object reference
                      REC_COUNT:
                        type: integer
                        format: int64
                        description: Number of Events for Wait Step
                      START_NODE:
                        type: string
                        maxLength: 1
                        description: 'Flag for start node of block  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      END_NODE:
                        type: string
                        maxLength: 1
                        description: 'Flag for end node of block  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CLIPBOARD:
                        type: string
                        maxLength: 1
                        description: 'Workflow definition: Flag for nodes in clipboard  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CASE_CONTE:
                        type: string
                        maxLength: 132
                        description: Expression Old Length (Only Use for Read Purposes)
                      VCXPOS:
                        type: string
                        maxLength: 5
                        description: 'Workflow definition: Horizontal position of nodes'
                      VCYPOS:
                        type: string
                        maxLength: 5
                        description: 'Workflow definition: Vertical position of nodes'
                      RETURN:
                        type: string
                        maxLength: 4
                        description: 'Workflow definition: Return value of a method'
                      RETURNCODE:
                        type: string
                        maxLength: 255
                        description: 'Workflow Definition: Container Expression for Step Result'
                      EDITORDER:
                        type: integer
                        format: int64
                        description: 'Workflow definition: Editing sequence'
                      STEP_HIDE:
                        type: string
                        maxLength: 1
                        description: 'Display Node in Workflow Log  enumValues: X=Only in Technical Workflow Log,B=Condition ''Complete Work Item'' True: Not in Graf. Protocol,""=In All Workflow Logs'
                        enum:
                        - X
                        - B
                        - ''
                      EXC_CLSNAM:
                        type: string
                        maxLength: 30
                        description: Object Type Name
                      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
                      TRIGTYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of Event Creator  enumValues: ""=Trigger Event,L=Trigger Local Event'
                        enum:
                        - ''
                        - L
                      EVT_NAME:
                        type: string
                        maxLength: 32
                        description: Symbolic Event Name
                      CRL_NAME:
                        type: string
                        maxLength: 22
                        description: Name of a Correlation
                      CASETYPE:
                        type: string
                        maxLength: 1
                        description: 'Multiple Condition Type  enumValues: S=Switch,""=Case'
                        enum:
                        - S
                        - ''
                      BLCKTYPE:
                        type: string
                        maxLength: 1
                        description: 'Block Type  enumValues: P=ParForEach,""=Standard,S=ForEach'
                        enum:
                        - P
                        - ''
                        - S
                      BLCK_DLG:
                        type: string
                        maxLength: 1
                        description: 'Block Appears as Dialog Step in Inbox (GP)  enumValues: ""=Default Background Processing,X=Guided Procedures Action Set'
                        enum:
                        - ''
                        - X
                      PFE_USECTX:
                        type: string
                        maxLength: 1
                        description: 'ParForEach: Include Context  enumValues: X=Include Context,""=Do Not Include Context'
                        enum:
                        - X
                        - ''
                      MSELTYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of User Decision  enumValues: G=Guided Procedures,""=Standard'
                        enum:
                        - G
                        - ''
              required:
              - ACT_TASK
              - ACT_WFDKEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_MNODES:
                    type: array
                    items:
                      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
                        NODETYPE:
                          type: string
                          maxLength: 4
                          description: Node type
                        MODELEMENT:
                          type: string
                          maxLength: 1
                          description: 'Workflow definition: Modelling elements  enumValues: E=Event,S=Step,O=Linking operator'
                          enum:
                          - E
                          - S
                          - O
                        SYMBNAME:
                          type: string
                          maxLength: 20
                          description: 'Workflow definition: Symbolic name for return value'
                        TASK:
                          type: string
                          maxLength: 14
                          description: Task abbreviation
                        PARFORFLAG:
                          type: string
                          maxLength: 1
                          description: 'Flag for table-controled parallel processing  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        PARFOROBJ:
                          type: string
                          maxLength: 132
                          description: Expression Old Length (Only Use for Read Purposes)
                        MIN_TOKENS:
                          type: integer
                          format: int64
                          description: Number of branches necessary
                        EXP_TOKENS:
                          type: integer
                          format: int64
                          description: 'Workflow definition: Number of preceding nodes of a node'
                        FORK_TOKEN:
                          type: integer
                          format: int64
                          description: Number of parallel branches
                        BLOCKID:
                          type: integer
                          format: int64
                          description: ID of block in workflow definition
                        NEST_LEVEL:
                          type: integer
                          format: int64
                          description: Nesting level of current block in workflow definition
                        PAR_BLCKID:
                          type: integer
                          format: int64
                          description: ID of superordinate block in workflow definition
                        CONDIT_ID:
                          type: integer
                          format: int64
                          description: 'Workflow definition: Reference to a condition'
                        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: 132
                          description: Expression Old Length (Only Use for Read Purposes)
                        PARAMETER2:
                          type: string
                          maxLength: 132
                          description: Expression Old Length (Only Use for Read Purposes)
                        PARAMETER3:
                          type: string
                          maxLength: 132
                          description: Expression Old Length (Only Use for Read Purposes)
                        PARAMETER4:
                          type: string
                          maxLength: 132
                          description: Expression Old Length (Only Use for Read Purposes)
                        EVT_TYPE:
                          type: string
                          maxLength: 32
                          description: Event for object type
                        EVT_OTYPE:
                          type: string
                          maxLength: 32
                          description: Type of Objects in Persistent Object References
                        EVT_CATID:
                          type: string
                          maxLength: 2
                          description: 'Object Type Category  enumValues: BO=BOR Object Type,BC=Business Class,XC=XML Object Type,CL=ABAP Class'
                          enum:
                          - BO
                          - BC
                          - XC
                          - CL
                        EVT_CONTEL:
                          type: string
                          maxLength: 255
                          description: Container element with object reference
                        REC_COUNT:
                          type: integer
                          format: int64
                          description: Number of Events for Wait Step
                        START_NODE:
                          type: string
                          maxLength: 1
                          description: 'Flag for start node of block  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        END_NODE:
                          type: string
                          maxLength: 1
                          description: 'Flag for end node of block  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CLIPBOARD:
                          type: string
                          maxLength: 1
                          description: 'Workflow definition: Flag for nodes in clipboard  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CASE_CONTE:
                          type: string
                          maxLength: 132
                          description: Expression Old Length (Only Use for Read Purposes)
                        VCXPOS:
                          type: string
                          maxLength: 5
                          description: 'Workflow definition: Horizontal position of nodes'
                        VCYPOS:
                          type: string
                          maxLength: 5
                          description: 'Workflow definition: Vertical position of nodes'
                        RETURN:
                          type: string
                          maxLength: 4
                          description: 'Workflow definition: Return value of a method'
                        RETURNCODE:
                          type: string
                          maxLength: 255
                          description: 'Workflow Definition: Container Expression for Step Result'
                        EDITORDER:
                          type: integer
                          format: int64
                          description: 'Workflow definition: Editing sequence'
                        STEP_HIDE:
                          type: string
                          maxLength: 1
                          description: 'Display Node in Workflow Log  enumValues: X=Only in Technical Workflow Log,B=Condition ''Complete Work Item'' True: Not in Graf. Protocol,""=In All Workflow Logs'
                          enum:
                          - X
                          - B
                          - ''
                        EXC_CLSNAM:
                          type: string
                          maxLength: 30
                          description: Object Type Name
                        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
                        TRIGTYPE:
                          type: string
                          maxLength: 1
                          description: 'Type of Event Creator  enumValues: ""=Trigger Event,L=Trigger Local Event'
                          enum:
                          - ''
                          - L
                        EVT_NAME:
                          type: string
                          maxLength: 32
                          description: Symbolic Event Name
                        CRL_NAME:
                          type: string
                          maxLength: 22
                          description: Name of a Correlation
                        CASETYPE:
                          type: string
                          maxLength: 1
                          description: 'Multiple Condition Type  enumValues: S=Switch,""=Case'
                          enum:
                          - S
                          - ''
                        BLCKTYPE:
                          type: string
                          maxLength: 1
                          description: 'Block Type  enumValues: P=ParForEach,""=Standard,S=ForEach'
                          enum:
                          - P
                          - ''
                          - S
                        BLCK_DLG:
                          type: string
                          maxLength: 1
                          description: 'Block Appears as Dialog Step in Inbox (GP)  enumValues: ""=Default Background Processing,X=Guided Procedures Action Set'
                          enum:
                          - ''
                          - X
                        PFE_USECTX:
                          type: string
                          maxLength: 1
                          description: 'ParForEach: Include Context  enumValues: X=Include Context,""=Do Not Include Context'
                          enum:
                          - X
                          - ''
                        MSELTYPE:
                          type: string
                          maxLength: 1
                          description: 'Type of User Decision  enumValues: G=Guided Procedures,""=Standard'
                          enum:
                          - G
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
