openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCSM_SYSTEM_LIST:
    post:
      tags:
      - SCSMROUTE
      operationId: /rfc/SCSM_SYSTEM_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INCLUDE_LOCAL_SYS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Alert: SALC: Flag (X) if only local input for function call'
                SUPPRESS_REFILL:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Alert: SALC: Flag (X) if only local input for function call'
                SYS_GROUP:
                  type: string
                  default: <ALL>
                  maxLength: 40
                  description: Object name in CCMS Repository
                ALL_SYSTEMS_SIDS:
                  type: array
                  items:
                    type: object
                    properties:
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                MGD_SYSTEMS_IN_LOCAL_MC:
                  type: array
                  items:
                    type: object
                    properties:
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                SYSTEMS:
                  type: array
                  items:
                    type: object
                    properties:
                      SYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      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
                      CS_CHGTMST:
                        type: integer
                        format: int64
                        description: 'Alert: UTC Time Stamp in Format <YYYYMMDDhhmmss>'
                      CS_CHGCNT:
                        type: integer
                        format: int32
                        description: 'Alert: Number of Status Changes of Communication Status'
                      CSMSTATUS:
                        type: string
                        maxLength: 1
                        description: 'Alert: Status of Segment (online/offline/problems/disabled)'
                      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'
                      RESERVE_C:
                        type: string
                        maxLength: 10
                        description: Reserve Field
                      RESERVE_I:
                        type: integer
                        format: int32
                        description: Reserve Field
                      CACHE_TMST:
                        type: integer
                        format: int64
                        description: 'Alert: UTC Time Stamp in Format <YYYYMMDDhhmmss>'
                      DESTINAT_2:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      NBRSEGM:
                        type: integer
                        format: int32
                        description: Number of Monitoring Segments in System
                      CSMSEGMCMPL:
                        type: string
                        maxLength: 1
                        description: 'Flag: CSMSEGM Contains Entries for Each Segment of System'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ALL_SYSTEMS_SIDS:
                    type: array
                    items:
                      type: object
                      properties:
                        SYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                  MGD_SYSTEMS_IN_LOCAL_MC:
                    type: array
                    items:
                      type: object
                      properties:
                        SYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                  SYSTEMS:
                    type: array
                    items:
                      type: object
                      properties:
                        SYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        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
                        CS_CHGTMST:
                          type: integer
                          format: int64
                          description: 'Alert: UTC Time Stamp in Format <YYYYMMDDhhmmss>'
                        CS_CHGCNT:
                          type: integer
                          format: int32
                          description: 'Alert: Number of Status Changes of Communication Status'
                        CSMSTATUS:
                          type: string
                          maxLength: 1
                          description: 'Alert: Status of Segment (online/offline/problems/disabled)'
                        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'
                        RESERVE_C:
                          type: string
                          maxLength: 10
                          description: Reserve Field
                        RESERVE_I:
                          type: integer
                          format: int32
                          description: Reserve Field
                        CACHE_TMST:
                          type: integer
                          format: int64
                          description: 'Alert: UTC Time Stamp in Format <YYYYMMDDhhmmss>'
                        DESTINAT_2:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        NBRSEGM:
                          type: integer
                          format: int32
                          description: Number of Monitoring Segments in System
                        CSMSEGMCMPL:
                          type: string
                          maxLength: 1
                          description: 'Flag: CSMSEGM Contains Entries for Each Segment of System'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
