Event Monitoring Events
This section provides examples for MONTE event types.
Current
| URI | Method | Description | 
|---|---|---|
                                
                             | 
                            GET | This API retrieves the most recent MONTE events of the specified device. It provides options to filter the data for specific subscriptionId and eventType. | 
Method: GET
URI:
http://impactids-edge-01/ids-data-api/v1/monte-events/current/352253064335013?eventType=LOSS_OF_CONNECTIVITY&subscriptionId=/lenin-cse/sub-1E4674ED-B6AB-4A55-BF28-DFED681D884EResponse:
                200 OK:[
    {
        "groupName": "auto2",
        "deviceId": "352253064335013",
        "serverTime": "2021-09-21T08:40:10.000+00:00",
        "subscriptionId": "/lenin-cse/sub-1E4674ED-B6AB-4A55-BF28-DFED681D884E",
        "createdTime": "2021-09-21T08:40:10.000+00:00",
        "eventType": "LOSS_OF_CONNECTIVITY",
        "details": {
            "pi": "/lenin-cse/nod-626ED1D9-22EB-4755-877D-13F21B5EDC4D",
            "ri": "/lenin-cse/sch-5EB1AD7B-373B-4B2D-8F4A-D7FB4D2D01BB",
            "ty": "18"
        }
    }
]
        Historical
| URI | Method | Description | 
|---|---|---|
                                
                             | 
                            GET | This API retrieves all the MONTE event for specified devices in the specified time range. Multiple subscriptionId and eventType can be specified to filter out events. | 
Method: GET
URI:
http://impactids-edge-01/ids-data-api/v1/monte-events/history?fromTime=2021-01-01T00:00:00&toTime=2030-12-01T00:00:00&deviceId=352253064335000& subscriptionId=/lenin-cse/sub-74B15A8D-120B-4654-8F88-759CF3130E25&eventType=UE_REACHABILITYResponse:
                200 OK:[
    {
        "groupName": "auto1.auto11",
        "deviceId": "352253064335000",
        "serverTime": "2021-09-21T08:51:46.000+00:00",
        "subscriptionId": "/lenin-cse/sub-74B15A8D-120B-4654-8F88-759CF3130E25",
        "createdTime": "2021-09-21T08:51:46.000+00:00",
        "eventType": "UE_REACHABILITY",
        "details": {
            "m2m:sce": "86400",
            "pi": "/lenin-cse/nod-626ED1D9-22EB-4755-877D-13F21B5EDC4D",
            "ri": "/lenin-cse/sch-9754C6A6-10D9-46BD-AC8F-3E7C79D8878D",
            "ty": "18"
        }
    }
]
        Bulk
| URI | Method | Description | 
|---|---|---|
                                
                             | 
                            GET | This API retrieves MONTE events of all the devices in the specified time range.The response consists of a list of JSON formatted data, separated by newlines. | 
Method: GET
URI:
http://impactids-edge-01/ids-data-api/v1/monte-events/bulk?fromTime=2000-01-01T00:00:00&toTime=2030-12-01T00:00:00Response:
                200 OK:{
	"groupName": "auto1.auto11",
	"deviceId": "352253064335000",
	"serverTime": 1632214306000,
	"subscriptionId": "/lenin-cse/sub-74B15A8D-120B-4654-8F88-759CF3130E25",
	"createdTime": 1632214306000,
	"eventType": "UE_REACHABILITY",
	"details": {
		"m2m:sce": "86400",
		"pi": "/lenin-cse/nod-626ED1D9-22EB-4755-877D-13F21B5EDC4D",
		"ri": "/lenin-cse/sch-9754C6A6-10D9-46BD-AC8F-3E7C79D8878D",
		"ty": "18"
	}
}