openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_CREATE_ACTIVITY_MUL_RESULT:
    post:
      tags:
      - SWF1
      operationId: /rfc/SWF_CREATE_ACTIVITY_MUL_RESULT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                STEP_DESCRIPTION:
                  type: object
                  properties:
                    TASK:
                      type: string
                      maxLength: 14
                      description: Task abbreviation
                    DESCRIPT:
                      type: string
                      maxLength: 80
                      description: Name of Step or Outcome
                    DESCR_SUCC:
                      type: string
                      maxLength: 80
                      description: Outcome Name
                    SKIP_ENABL:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Processing can be rejected  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    INVISIBLE:
                      type: string
                      maxLength: 1
                      description: 'Work Item Is Not Visible in Inbox  enumValues: X=Step Invisible,""=Step Visible'
                      enum:
                      - X
                      - ''
                STEP_NODE_ID:
                  type: integer
                  format: int64
                STEP_PROPERTIES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: 'Attribute: Name'
                      VALUE:
                        type: string
                        description: 'Attributes: Value'
                      XVALUE:
                        type: string
                        format: byte
                        description: 'Attributes: Value'
                RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      NODEID:
                        type: integer
                        format: int64
                        description: Node Number
                      RETURNCODE:
                        type: string
                        maxLength: 255
                        description: 'Workflow Definition: Container Expression for Step Result'
                      RETURN_DSC:
                        type: string
                        maxLength: 60
                        description: Outcome
                      EVT_OTYPE:
                        type: string
                        maxLength: 32
                        description: Object Type
                      EVT_TYPE:
                        type: string
                        maxLength: 32
                        description: Event for object type
                      EVT_CONTEL:
                        type: string
                        maxLength: 255
                        description: Container element with object reference
                      SELECTED:
                        type: string
                        maxLength: 1
                        description: Internal ABAP System Field
              required:
              - STEP_DESCRIPTION
              - STEP_NODE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_BLOCK_ID:
                    type: integer
                    format: int64
                    description: Table of Name Value Pairs
                  NEW_STEP_NODE_ID:
                    type: integer
                    format: int64
                    description: Table of Name Value Pairs
                  RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        NODEID:
                          type: integer
                          format: int64
                          description: Node Number
                        RETURNCODE:
                          type: string
                          maxLength: 255
                          description: 'Workflow Definition: Container Expression for Step Result'
                        RETURN_DSC:
                          type: string
                          maxLength: 60
                          description: Outcome
                        EVT_OTYPE:
                          type: string
                          maxLength: 32
                          description: Object Type
                        EVT_TYPE:
                          type: string
                          maxLength: 32
                          description: Event for object type
                        EVT_CONTEL:
                          type: string
                          maxLength: 255
                          description: Container element with object reference
                        SELECTED:
                          type: string
                          maxLength: 1
                          description: Internal ABAP System Field
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
