openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPC_RUNTIME_ANALYSIS:
    post:
      tags:
      - RSPC_BACKEND
      operationId: /rfc/RSPC_RUNTIME_ANALYSIS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_INSTANCE:
                  type: string
                  maxLength: 30
                  description: Process Instance (Value)
                I_LOGID:
                  type: string
                  maxLength: 25
                  description: Log-ID of a Process Chain Run
                I_TYPE:
                  type: string
                  maxLength: 10
                  description: Process Type
                I_VARIANT:
                  type: string
                  maxLength: 30
                  description: Process Variant (Name)
                E_T_RUNTIME:
                  type: array
                  items:
                    type: object
                    properties:
                      LOG_ID:
                        type: string
                        maxLength: 25
                        description: Log-ID of a Process Chain Run
                      TYPE:
                        type: string
                        maxLength: 10
                        description: Process Type
                      EVENT_START:
                        type: string
                        maxLength: 32
                        description: Background Processing Event
                      EVENTP_START:
                        type: string
                        maxLength: 64
                        description: Background Event Parameters (Such as, Jobname/Jobcount)
                      JOB_COUNT:
                        type: string
                        maxLength: 8
                        description: Job ID
                      BATCHDATE:
                        type: string
                        format: date
                        description: Release Date for Background Scheduling
                      BATCHTIME:
                        type: string
                        maxLength: 6
                        description: Release time of scheduled background job
                      BACKLINK_START:
                        type: string
                        maxLength: 1
                        description: 'Back-Link Event  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      VARIANTE:
                        type: string
                        maxLength: 30
                        description: Process Variant (Name)
                      INSTANCE:
                        type: string
                        maxLength: 30
                        description: Process Instance (Value)
                      STATE:
                        type: string
                        maxLength: 1
                        description: 'Status of Process  enumValues: Y=Ready,""=Undefined,A=Active,Q=Released,R=Ended with errors,G=Successfully completed,F=Completed,X=Canceled,S=Skipped at restart,P=Planned,J=Framework Error Upon Completion (e.g. follow-on job missing)'
                        enum:
                        - Y
                        - ''
                        - A
                        - Q
                        - R
                        - G
                        - F
                        - X
                        - S
                        - P
                        - J
                      EVENT_END:
                        type: string
                        maxLength: 32
                        description: Background Processing Event
                      EVENTP_END:
                        type: string
                        maxLength: 64
                        description: Background Event Parameters (Such as, Jobname/Jobcount)
                      BACKLINK_END:
                        type: string
                        maxLength: 1
                        description: 'Back-Link Event  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      ACTUAL_STATE:
                        type: string
                        maxLength: 1
                        description: 'Status of Process  enumValues: Y=Ready,""=Undefined,A=Active,Q=Released,R=Ended with errors,G=Successfully completed,F=Completed,X=Canceled,S=Skipped at restart,P=Planned,J=Framework Error Upon Completion (e.g. follow-on job missing)'
                        enum:
                        - Y
                        - ''
                        - A
                        - Q
                        - R
                        - G
                        - F
                        - X
                        - S
                        - P
                        - J
                      STARTTIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun)
                      ENDTIMESTAMP:
                        type: integer
                        format: int64
                        description: UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun)
                      DURATION:
                        type: integer
                        format: int64
                        description: Validity Period
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_RUNTIME:
                    type: array
                    items:
                      type: object
                      properties:
                        LOG_ID:
                          type: string
                          maxLength: 25
                          description: Log-ID of a Process Chain Run
                        TYPE:
                          type: string
                          maxLength: 10
                          description: Process Type
                        EVENT_START:
                          type: string
                          maxLength: 32
                          description: Background Processing Event
                        EVENTP_START:
                          type: string
                          maxLength: 64
                          description: Background Event Parameters (Such as, Jobname/Jobcount)
                        JOB_COUNT:
                          type: string
                          maxLength: 8
                          description: Job ID
                        BATCHDATE:
                          type: string
                          format: date
                          description: Release Date for Background Scheduling
                        BATCHTIME:
                          type: string
                          maxLength: 6
                          description: Release time of scheduled background job
                        BACKLINK_START:
                          type: string
                          maxLength: 1
                          description: 'Back-Link Event  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        VARIANTE:
                          type: string
                          maxLength: 30
                          description: Process Variant (Name)
                        INSTANCE:
                          type: string
                          maxLength: 30
                          description: Process Instance (Value)
                        STATE:
                          type: string
                          maxLength: 1
                          description: 'Status of Process  enumValues: Y=Ready,""=Undefined,A=Active,Q=Released,R=Ended with errors,G=Successfully completed,F=Completed,X=Canceled,S=Skipped at restart,P=Planned,J=Framework Error Upon Completion (e.g. follow-on job missing)'
                          enum:
                          - Y
                          - ''
                          - A
                          - Q
                          - R
                          - G
                          - F
                          - X
                          - S
                          - P
                          - J
                        EVENT_END:
                          type: string
                          maxLength: 32
                          description: Background Processing Event
                        EVENTP_END:
                          type: string
                          maxLength: 64
                          description: Background Event Parameters (Such as, Jobname/Jobcount)
                        BACKLINK_END:
                          type: string
                          maxLength: 1
                          description: 'Back-Link Event  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        ACTUAL_STATE:
                          type: string
                          maxLength: 1
                          description: 'Status of Process  enumValues: Y=Ready,""=Undefined,A=Active,Q=Released,R=Ended with errors,G=Successfully completed,F=Completed,X=Canceled,S=Skipped at restart,P=Planned,J=Framework Error Upon Completion (e.g. follow-on job missing)'
                          enum:
                          - Y
                          - ''
                          - A
                          - Q
                          - R
                          - G
                          - F
                          - X
                          - S
                          - P
                          - J
                        STARTTIMESTAMP:
                          type: integer
                          format: int64
                          description: UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun)
                        ENDTIMESTAMP:
                          type: integer
                          format: int64
                          description: UTC time stamp in long form (YYYYMMDDhhmmss,mmmuuun)
                        DURATION:
                          type: integer
                          format: int64
                          description: Validity Period
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
