openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EUP_START_PROCESS_WITH_FIELDS:
    post:
      tags:
      - GP_PROCESS_RUNTIME
      summary: Start process with fields.
      operationId: /rfc/EUP_START_PROCESS_WITH_FIELDS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IT_FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      LABEL_NAME:
                        type: string
                        maxLength: 255
                        description: ''
                      NAMESPACE:
                        type: string
                        maxLength: 255
                        description: ''
                      VALUE:
                        type: string
                        maxLength: 255
                        description: ''
                IT_PROCESS_ROLES:
                  type: array
                  items:
                    type: object
                    properties:
                      R3_USER:
                        type: string
                        maxLength: 32
                        description: ''
                      TECH_NAME:
                        type: string
                        maxLength: 32
                        description: ''
                IV_INITIATOR:
                  type: string
                  maxLength: 12
                  description: User Name
                IV_PROCESS_TEMPLATE_ID:
                  type: string
                  maxLength: 32
                  description: GUID in 'CHAR' Format in Uppercase
                IV_SYSTEM_ID:
                  type: string
                  maxLength: 8
                  description: Name of SAP R/3 System
                IV_VERSION_NUMBER:
                  type: object
                  properties:
                    GLOBAL_PART:
                      type: integer
                      format: int32
                      description: ''
                    LOCAL_PART:
                      type: integer
                      format: int32
                      description: ''
              required:
              - IT_FIELDS
              - IT_PROCESS_ROLES
              - IV_INITIATOR
              - IV_PROCESS_TEMPLATE_ID
              - IV_SYSTEM_ID
              - IV_VERSION_NUMBER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_ACTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        TITLE:
                          type: string
                          maxLength: 60
                          description: ''
                        TECH_NAME:
                          type: string
                          maxLength: 60
                          description: ''
                        DESCRIPTION:
                          type: string
                          maxLength: 255
                          description: ''
                        STATUS:
                          type: integer
                          format: int32
                          description: ''
                        PARENT:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        ACTIVITY_ORDER:
                          type: integer
                          format: int32
                          description: ''
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: ''
                        LANGUAGE:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        TEMPLATE_ID:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        TEMPLATE_VERSION_GLOBAL:
                          type: integer
                          format: int32
                          description: Natural number
                        TEMPLATE_VERSION_LOCAL:
                          type: integer
                          format: int32
                          description: Natural number
                        PROCESSOR:
                          type: string
                          maxLength: 12
                          description: User Name
                        ACTION_TYPE:
                          type: integer
                          format: int32
                          description: ''
                        ASYNCHRONOUS:
                          type: string
                          maxLength: 1
                          description: ''
                  ET_BLOCKS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        TITLE:
                          type: string
                          maxLength: 60
                          description: ''
                        TECH_NAME:
                          type: string
                          maxLength: 60
                          description: ''
                        DESCRIPTION:
                          type: string
                          maxLength: 255
                          description: ''
                        STATUS:
                          type: integer
                          format: int32
                          description: ''
                        PARENT:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        ACTIVITY_ORDER:
                          type: integer
                          format: int32
                          description: ''
                        OPTIONAL:
                          type: string
                          maxLength: 1
                          description: ''
                        LANGUAGE:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        TEMPLATE_ID:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        TEMPLATE_VERSION_GLOBAL:
                          type: integer
                          format: int32
                          description: Natural number
                        TEMPLATE_VERSION_LOCAL:
                          type: integer
                          format: int32
                          description: Natural number
                        BLOCK_TYPE:
                          type: integer
                          format: int32
                          description: ''
                        IS_PROCESS:
                          type: string
                          maxLength: 1
                          description: ''
                        INITIATOR:
                          type: string
                          maxLength: 12
                          description: User Name
                        WORKFLOW_CONNECTOR_ID:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        IS_DECISION_BLOCK:
                          type: string
                          maxLength: 1
                          description: ''
                        DECISION_ACTION_ID:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                        PARENT_PROCESS_ID:
                          type: string
                          maxLength: 32
                          description: GUID in 'CHAR' Format in Uppercase
                  EV_PROCESS_INSTANCE_ID:
                    type: string
                    maxLength: 32
                    description: GUID in 'CHAR' Format in Uppercase
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
