openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPC_API_CHAIN_SCHEDULE:
    post:
      tags:
      - RSPC_API
      operationId: /rfc/RSPC_API_CHAIN_SCHEDULE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHAIN:
                  type: string
                  maxLength: 25
                I_PERIODIC:
                  type: string
                  default: ' '
                  maxLength: 1
                E_T_CONFLICTS:
                  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  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      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  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      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  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      GREEN_EQ_RED:
                        type: string
                        maxLength: 1
                        description: 'Send Green Event Even with Errors  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
              required:
              - I_CHAIN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_CONFLICTS:
                    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  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        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  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        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  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        GREEN_EQ_RED:
                          type: string
                          maxLength: 1
                          description: 'Send Green Event Even with Errors  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
