openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_CREATE_INITIAL_WORKFLOW:
    post:
      tags:
      - SWF1
      operationId: /rfc/SWF_CREATE_INITIAL_WORKFLOW
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TEMPLATE:
                  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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_NODE_ID:
                    type: integer
                    format: int64
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
