openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWD_STORE_WF_MLINES:
    post:
      tags:
      - SWDB
      operationId: /rfc/SWD_STORE_WF_MLINES
      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_MLINES:
                  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
                      PRED_NODE:
                        type: integer
                        format: int64
                        description: ID of node in workflow definition
                      SUCC_NODE:
                        type: integer
                        format: int64
                        description: ID of subsequent node in workflow definition
                      REPATRIATE:
                        type: string
                        maxLength: 1
                        description: 'Indicator for a return path in the workflow defintion  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ASYNC:
                        type: string
                        maxLength: 1
                        description: 'Workflow definition: Asynchronous line  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      LCXPOS:
                        type: string
                        maxLength: 5
                        description: 'Workflow definition: Horizontal position of lines'
                      LCYPOS:
                        type: string
                        maxLength: 5
                        description: 'Workflow definition: Vertical position of nodes'
              required:
              - ACT_TASK
              - ACT_WFDKEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_MLINES:
                    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
                        PRED_NODE:
                          type: integer
                          format: int64
                          description: ID of node in workflow definition
                        SUCC_NODE:
                          type: integer
                          format: int64
                          description: ID of subsequent node in workflow definition
                        REPATRIATE:
                          type: string
                          maxLength: 1
                          description: 'Indicator for a return path in the workflow defintion  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ASYNC:
                          type: string
                          maxLength: 1
                          description: 'Workflow definition: Asynchronous line  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        LCXPOS:
                          type: string
                          maxLength: 5
                          description: 'Workflow definition: Horizontal position of lines'
                        LCYPOS:
                          type: string
                          maxLength: 5
                          description: 'Workflow definition: Vertical position of nodes'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
