openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_CREATE_EXCEPTIONS:
    post:
      tags:
      - SWF1
      operationId: /rfc/SWF_CREATE_EXCEPTIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                STEP_NODE_ID:
                  type: integer
                  format: int64
                STEP_DESCRIPTION_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      NODEID:
                        type: integer
                        format: int64
                        description: Node Number
                      RETURN:
                        type: integer
                        format: int64
                        description: Exception for method
                      DESCRIPT:
                        type: string
                        maxLength: 80
                        description: Outcome Name
                      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
                        - ''
              required:
              - STEP_NODE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_STEP_NODE_ID:
                    type: integer
                    format: int64
                  STEP_DESCRIPTION_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        NODEID:
                          type: integer
                          format: int64
                          description: Node Number
                        RETURN:
                          type: integer
                          format: int64
                          description: Exception for method
                        DESCRIPT:
                          type: string
                          maxLength: 80
                          description: Outcome Name
                        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
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
