openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_GP_RUN_ACI_INFO_GET:
    post:
      tags:
      - SWF_GP_RUN
      operationId: /rfc/SWF_GP_RUN_ACI_INFO_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_ACI_ID:
                  type: string
                  maxLength: 32
                IM_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                IM_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                ET_MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LINE:
                        type: string
                        maxLength: 273
                        description: Text line for message
              required:
              - IM_ACI_ID
              - IM_LANGU
              - IM_USER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_ACI_INFO:
                    type: object
                    properties:
                      ACI_ID:
                        type: string
                        maxLength: 32
                        description: ID of a GP Action
                      DIALOG:
                        type: string
                        maxLength: 1
                        description: 'Indicator Whether Dialog Step Exists  enumValues: X=Dialog Step,""=Background Step'
                        enum:
                        - X
                        - ''
                      STATUS:
                        type: string
                        maxLength: 12
                        description: 'Status of an Activity  enumValues: ERROR='
                        enum:
                        - ERROR
                      GP_GUID:
                        type: string
                        maxLength: 32
                        description: ID of GP Definition
                      GP_VERS:
                        type: integer
                        format: int64
                        description: Version of GP Definition
                      GP_BSID:
                        type: string
                        maxLength: 32
                        description: ID of GP Definition
                      CONTEXT:
                        type: string
                        format: byte
                        description: Context of an Activity as XML Stream
                      PROCESSORTYPE:
                        type: string
                        maxLength: 2
                        description: 'Agent Type  enumValues: RO=Role,RU=Rule'
                        enum:
                        - RO
                        - RU
                      RULE_NAME:
                        type: string
                        maxLength: 10
                        description: 'Agent Rule Name  enumValues: manager=OM: LEADING_POSITION'
                        enum:
                        - manager
                      ROLE_NAME:
                        type: string
                        maxLength: 32
                        description: Role Name
                      ACTPROCESSOR:
                        type: string
                        maxLength: 12
                        description: Possible Agents Within a GP Process Role
                      ASTS:
                        type: integer
                        format: int64
                        description: Time Stamp Actual Start
                      AETS:
                        type: integer
                        format: int64
                        description: Time Stamp Actual End
                  EX_RETURNCODE:
                    type: integer
                    format: int64
                  ET_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        LINE:
                          type: string
                          maxLength: 273
                          description: Text line for message
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
