openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAL_RFC_CONTEXTS_FOR_SYSTEM:
    post:
      tags:
      - SAL_RFC
      operationId: /rfc/SAL_RFC_CONTEXTS_FOR_SYSTEM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALSYSTEM:
                  type: string
                  maxLength: 8
                CSMSYSID:
                  type: string
                  maxLength: 8
                DO_NOT_PING_SYSTEM:
                  type: string
                  default: ' '
                  maxLength: 1
                FILL_CACHE:
                  type: string
                  default: X
                  maxLength: 1
                MTE_CLASS_PATTERN:
                  type: string
                  default: ' '
                  maxLength: 1
                ROUTES_BY_COMMTYPE:
                  type: string
                  default: H
                  maxLength: 1
                USE_CACHE:
                  type: string
                  default: X
                  maxLength: 1
                ALL_CONTEXTS:
                  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)
                UNREACHABLE_CONTEXTS:
                  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)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SYSTEM_CTX_AND_SEGMS:
                    type: object
                    properties:
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      ISCOMPLETE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      CONTEXTS:
                        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'
                            SEGMENT:
                              type: string
                              maxLength: 40
                              description: 'Alert: Name of Monitoring Segment'
                            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'
                            CTXCLIENT:
                              type: string
                              maxLength: 3
                              description: Client ID of Current User
                            CSMSYSID:
                              type: string
                              maxLength: 8
                              description: Name of the SAP System
                            CONTXTTYPE:
                              type: integer
                              format: int32
                              description: 'Alert: Type of Monitoring Context'
                            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'
                            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
                      SEGMENTS:
                        type: array
                        items:
                          type: object
                          properties:
                            SYSID:
                              type: string
                              maxLength: 8
                              description: Name of the SAP System
                            SEGMENT:
                              type: string
                              maxLength: 40
                              description: 'Alert: Name of Monitoring Segment'
                            DESTINAT:
                              type: string
                              maxLength: 32
                              description: Logical Destination (Specified in Function Call)
                            COMMPRIO:
                              type: integer
                              format: int32
                              description: Priority of RFC Communication Route
                            COMMTYPE:
                              type: string
                              maxLength: 1
                              description: Type of RFC Communication Route
                            COMMSTATUS:
                              type: string
                              maxLength: 1
                              description: Communication Status of Route
                            SEGMENTTYP:
                              type: integer
                              format: int32
                              description: 'Alert: Segment Type'
                            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
                            RESERVE_C:
                              type: string
                              maxLength: 10
                              description: Reserve Field
                            RESERVE_I:
                              type: integer
                              format: int32
                              description: Reserve Field
                            CUSJ2EEDES:
                              type: string
                              maxLength: 32
                              description: Logical Destination (Specified in Function Call)
                            DSRDEST:
                              type: string
                              maxLength: 32
                              description: Logical Destination (Specified in Function Call)
                  ALL_CONTEXTS:
                    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)
                  UNREACHABLE_CONTEXTS:
                    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)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
