...
Code Block |
---|
POST /restconf/operations/data-provider:get-entity
{
"entity":"fault",
"filter":[],
"sortorder":[{
"property":"timeStamp",
"sortorder":"descending"
},
{
"property":"nodeName",
"sortorder":"ascending"
}],
"pagination":{
"size":20,
"page":1
}
}
Response:
{
"pagination":{
"size":20,
"page":1,
"total": 3
},
"data": [
{
"_id": "Sim2230/LP-MWPS-TTP-RADIO/signalLost",
"nodeName": "Sim2230",
"counter": "4",
"timeStamp": "2017-01-01T03:00:00.0Z",
"objectId": "LP-MWPS-TTP-RADIO",
"problem": "signalLost",
"severity": "Major",
"type": "ProblemNotificationXml"
},
{
"_id": "Sim2231/LP-MWPS-TTP-RADIO/rslIsExceeded",
"nodeName": "Sim2231",
"counter": "3",
"timeStamp": "2017-01-01T02:00:00.0Z",
"objectId": "LP-MWPS-TTP-RADIO",
"problem": "rslIsExceeded",
"severity": "Critical",
"type": "ProblemNotificationXml"
},
{
"_id": "Sim2230/LP-MWPS-TTP-RADIO/rslIsExceeded",
"nodeName": "Sim2230",
"counter": "2",
"timeStamp": "2017-01-01T01:00:00.0Z",
"objectId": "LP-MWPS-TTP-RADIO",
"problem": "rslIsExceeded",
"severity": "Critical",
"type": "ProblemNotificationXml"
}
]
} |
...