openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPC_GET_CHAIN:
    post:
      tags:
      - RSPC_BACKEND
      operationId: /rfc/RSPC_GET_CHAIN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHAIN:
                  type: string
                  maxLength: 25
                  description: Process Chain
                I_FILTER_CLIENT:
                  type: string
                  default: ' '
                  maxLength: 1
                I_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                I_OBJVERS:
                  type: string
                  default: A
                  maxLength: 1
                  description: Object Version
                I_ONE_NO_DIALOG:
                  type: string
                  default: ' '
                  maxLength: 1
                I_TYPE:
                  type: string
                  maxLength: 10
                  description: Process Type
                I_T_VARIANT:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 10
                        description: Process Type
                      VARIANTE:
                        type: string
                        maxLength: 30
                        description: Process Variant (Name)
                I_VARIANT:
                  type: string
                  maxLength: 30
                  description: Process Variant (Name)
                I_WITH_DIALOG:
                  type: string
                  default: ' '
                  maxLength: 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_NEW:
                    type: string
                    maxLength: 1
                    description: Texts for Chain
                  E_T_CHAINATTR:
                    type: array
                    items:
                      type: object
                      properties:
                        CHAIN_ID:
                          type: string
                          maxLength: 25
                          description: Process Chain
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: Object version
                        TSTPNM:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        TIMESTMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        CONTREL:
                          type: string
                          maxLength: 6
                          description: Content release
                        CONTTIMESTMP:
                          type: integer
                          format: int64
                          description: 'Content time stamp: Last modification to the object by SAP'
                        BCTCOMP:
                          type: string
                          maxLength: 10
                          description: Obsolete (Component of BI Content)
                        SERVER:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        SERVERTYPE:
                          type: string
                          maxLength: 1
                          description: Server Type
                        POLLING:
                          type: string
                          maxLength: 1
                          description: The main process waits until other proceses have finished
                        CREATED:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        UNWATCHED:
                          type: string
                          maxLength: 1
                          description: Chain is not Monitored Automatically
                        APPLNM:
                          type: string
                          maxLength: 30
                          description: Application Component
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Editing Client
                        BATCHUSER:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        BATCHCLASS:
                          type: string
                          maxLength: 1
                          description: Class of Background Job
                        ALERTS:
                          type: string
                          maxLength: 1
                          description: Send Alerts If Errors Occur
                        REDTOGREEN:
                          type: string
                          maxLength: 1
                          description: Red Outcome Renders Chain Green If Process Is Red
                        TLOGO_OWNED_BY:
                          type: string
                          maxLength: 4
                          description: 'BW: Object Type (TLOGO)'
                        OBJNM_OWNED_BY:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                  E_T_CHAINS:
                    type: array
                    items:
                      type: object
                      properties:
                        CHAIN_ID:
                          type: string
                          maxLength: 25
                          description: Process Chain
                        EVENT_START:
                          type: string
                          maxLength: 32
                          description: Background Processing Event
                        EVENTP_START:
                          type: string
                          maxLength: 64
                          description: Background Event Parameters (Such as, Jobname/Jobcount)
                        EVENTNO_START:
                          type: integer
                          format: int64
                          description: Status; Case; Decision; Event Number
                        BACKLINK_START:
                          type: string
                          maxLength: 1
                          description: Back-Link Event
                        TYPE:
                          type: string
                          maxLength: 10
                          description: Process Type
                        VARIANTE:
                          type: string
                          maxLength: 30
                          description: Process Variant (Name)
                        EVENT_GREEN:
                          type: string
                          maxLength: 32
                          description: Background Processing Event
                        EVENTP_GREEN:
                          type: string
                          maxLength: 64
                          description: Background Event Parameters (Such as, Jobname/Jobcount)
                        BACKLINK_GREEN:
                          type: string
                          maxLength: 1
                          description: Back-Link Event
                        EVENT_RED:
                          type: string
                          maxLength: 32
                          description: Background Processing Event
                        EVENTP_RED:
                          type: string
                          maxLength: 64
                          description: Background Event Parameters (Such as, Jobname/Jobcount)
                        BACKLINK_RED:
                          type: string
                          maxLength: 1
                          description: Back-Link Event
                        GREEN_EQ_RED:
                          type: string
                          maxLength: 1
                          description: Send Green Event Even with Errors
                        WAIT:
                          type: integer
                          format: int32
                          description: Seconds
                        MAIL_AT_RED:
                          type: string
                          maxLength: 30
                          description: Process Variant (Name)
                        MAIL_AT_GREEN:
                          type: string
                          maxLength: 30
                          description: Process Variant (Name)
                  E_T_CHAINT:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        CHAIN_ID:
                          type: string
                          maxLength: 25
                          description: Process Chain
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: Object version
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                  E_T_CHAIN_IDS:
                    type: array
                    items:
                      type: object
                      properties:
                        CHAIN_ID:
                          type: string
                          maxLength: 25
                          description: Process Chain
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
