...
Code Block | ||
---|---|---|
| ||
{
“filters”:{
“property”:”<filter-value>”
},
“sortorder”:[{
“property”:””,
“order”:”ascending|descending”
}
],
“pagination”:{
“size”:20,
“page”:1
}
} |
...
Code Block |
---|
POST /restconf/operations/data-provider:get-entity { "entity":"faultfaultcurrent", "filter":{}, "sortorder":[], "pagination":{ "size":20, "page":1 } } Response: [ { "_id": "Sim2230/LP-MWPS-TTP-RADIO/rslIsExceeded" "nodeName": "Sim2230", "counter": "2", "timeStamp": "2017-01-01T0001T01:00:00.0Z", "objectId": "LP-MWPS-TTP-RADIO", "problem": "rslIsExceeded", "severity": "Critical", "type": "ProblemNotificationXml" }, { "_id": "Sim2231/LP-MWPS-TTP-RADIO/rslIsExceeded" "nodeName": "Sim2231", "counter": "3", "timeStamp": "2017-01-01T0001T02:00:00.0Z", "objectId": "LP-MWPS-TTP-RADIO", "problem": "rslIsExceeded", "severity": "Critical", "type": "ProblemNotificationXml" }, { "_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" } ] |
Code Block |
---|
POST /restconf/operations/data-provider:get-entity { "entity":"fault", "filter":{}, "sortorder":[{ "timeStamp":"descending" }, { "nodeName":"ascending" }], "pagination":{ "size":20, "page":1 } } Response: [ { "_id": "Sim2230/LP-MWPS-TTP-RADIO/signalLost" "nodeName": "Sim2230", "counter": "4", "timeStamp": "2017-01-01T00-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": "Non-alarmed, "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" } ] |
...