openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_CREATE_CONTAINER_OPERATION:
    post:
      tags:
      - SWF1
      operationId: /rfc/SWF_CREATE_CONTAINER_OPERATION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                STEP_DESCRIPTION:
                  type: object
                  properties:
                    DESCRIPT:
                      type: string
                      maxLength: 80
                      description: Name of Step or Outcome
                    DESCR_SUCC:
                      type: string
                      maxLength: 80
                      description: Outcome Name
                    OPERRESULT:
                      type: string
                      maxLength: 32
                      description: Container element for result of operation
                    OPERAND_1:
                      type: string
                      maxLength: 255
                      description: First operand for arithmetic operation
                    CONT_OPERA:
                      type: string
                      maxLength: 1
                      description: 'Arithmetic Operator for Container Operation  enumValues: ""=Assignment,*=* (Multiply),+=+ (Add),/=/ (Divide),-=- (Subtract)'
                      enum:
                      - ''
                      - '*'
                      - +
                      - /
                      - '-'
                    OPERAND_2:
                      type: string
                      maxLength: 255
                      description: Second operand for arithmetic operation
                    APPEND:
                      type: string
                      maxLength: 1
                      description: 'Checkbox  enumValues: ""=No,X=Yes'
                      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'
              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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
