openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CCMSBI_REMOTE_ROUTE_FOR_CONT:
    post:
      tags:
      - SCSM_BI_UTIL_FUNCTIONS
      operationId: /rfc/CCMSBI_REMOTE_ROUTE_FOR_CONT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEFAULT_ROUTES:
                  type: array
                  items:
                    type: object
                    properties:
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      CONTEXT:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      CONTXTSTAT:
                        type: string
                        maxLength: 1
                        description: 'Alert: Status of Context (active/inactive/....)'
                      CTXCLASS:
                        type: string
                        maxLength: 40
                        description: 'Alert: Customization: Name of Customization Group'
                      CTXOWNER:
                        type: string
                        maxLength: 40
                        description: 'Alert: Owner of Monitoring Context'
                      SEGMENT:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Segment'
                      SEGMENTTYP:
                        type: integer
                        format: int32
                        description: 'Alert: Segment Type'
                      DESTINAT:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      SEGMSTATUS:
                        type: string
                        maxLength: 1
                        description: 'Alert: Status of Segment (online/offline/problems/disabled)'
                      RESP_MSSY:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      VERSION:
                        type: string
                        maxLength: 10
                        description: 'Alert: Version of Monitoring Infrastructure'
                      CHG_USER:
                        type: string
                        maxLength: 12
                        description: 'Alert: Last Changed By'
                      CHG_DATE:
                        type: string
                        format: date
                        description: 'Alert: Date of last change'
                      CHG_TIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time of last change'
                      SEGSTATMST:
                        type: integer
                        format: int64
                        description: 'Alert: UTC Time Stamp in Format <YYYYMMDDhhmmss>'
                      SEGSTATCNT:
                        type: integer
                        format: int32
                        description: 'Alert: Number of Status Changes of Communication Status'
                      SEGMSERVER:
                        type: string
                        maxLength: 20
                        description: Server Name
                      SEGMHOST:
                        type: string
                        maxLength: 32
                        description: Name of Current Application Server
                      CONTXTTYPE:
                        type: integer
                        format: int32
                        description: 'Alert: Type of Monitoring Context'
                      CTX_SYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      CTX_MCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      CTX_NUMRNG:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      CTX_UID:
                        type: string
                        maxLength: 10
                        description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                      CTX_CLAS:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type class (perf., single msg.,...)'
                      CTX_INDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      CTX_EXTIDX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      RESERVE_C:
                        type: string
                        maxLength: 10
                        description: Reserve field
                      RESERVE_I:
                        type: integer
                        format: int32
                        description: Reserve field
                      CTXCLIENT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      CSMSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      DESTINAT_2:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                RC_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      MTSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      MTMCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      MTNUMRANGE:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      MTUID:
                        type: string
                        maxLength: 10
                        description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                      MTCLASS:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type class (perf., single msg.,...)'
                      MTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      EXTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      RC:
                        type: integer
                        format: int32
                        description: 'Alert: Return Code'
                SYS_CONT:
                  type: array
                  items:
                    type: object
                    properties:
                      MTSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      MTMCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DEFAULT_ROUTES:
                    type: array
                    items:
                      type: object
                      properties:
                        SYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        CONTEXT:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        CONTXTSTAT:
                          type: string
                          maxLength: 1
                          description: 'Alert: Status of Context (active/inactive/....)'
                        CTXCLASS:
                          type: string
                          maxLength: 40
                          description: 'Alert: Customization: Name of Customization Group'
                        CTXOWNER:
                          type: string
                          maxLength: 40
                          description: 'Alert: Owner of Monitoring Context'
                        SEGMENT:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Segment'
                        SEGMENTTYP:
                          type: integer
                          format: int32
                          description: 'Alert: Segment Type'
                        DESTINAT:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        SEGMSTATUS:
                          type: string
                          maxLength: 1
                          description: 'Alert: Status of Segment (online/offline/problems/disabled)'
                        RESP_MSSY:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        VERSION:
                          type: string
                          maxLength: 10
                          description: 'Alert: Version of Monitoring Infrastructure'
                        CHG_USER:
                          type: string
                          maxLength: 12
                          description: 'Alert: Last Changed By'
                        CHG_DATE:
                          type: string
                          format: date
                          description: 'Alert: Date of last change'
                        CHG_TIME:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time of last change'
                        SEGSTATMST:
                          type: integer
                          format: int64
                          description: 'Alert: UTC Time Stamp in Format <YYYYMMDDhhmmss>'
                        SEGSTATCNT:
                          type: integer
                          format: int32
                          description: 'Alert: Number of Status Changes of Communication Status'
                        SEGMSERVER:
                          type: string
                          maxLength: 20
                          description: Server Name
                        SEGMHOST:
                          type: string
                          maxLength: 32
                          description: Name of Current Application Server
                        CONTXTTYPE:
                          type: integer
                          format: int32
                          description: 'Alert: Type of Monitoring Context'
                        CTX_SYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        CTX_MCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        CTX_NUMRNG:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        CTX_UID:
                          type: string
                          maxLength: 10
                          description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                        CTX_CLAS:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type class (perf., single msg.,...)'
                        CTX_INDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        CTX_EXTIDX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        RESERVE_C:
                          type: string
                          maxLength: 10
                          description: Reserve field
                        RESERVE_I:
                          type: integer
                          format: int32
                          description: Reserve field
                        CTXCLIENT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        CSMSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        DESTINAT_2:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                  RC_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        MTSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        MTMCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        MTNUMRANGE:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        MTUID:
                          type: string
                          maxLength: 10
                          description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                        MTCLASS:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type class (perf., single msg.,...)'
                        MTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        EXTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        RC:
                          type: integer
                          format: int32
                          description: 'Alert: Return Code'
                  SYS_CONT:
                    type: array
                    items:
                      type: object
                      properties:
                        MTSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        MTMCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
