...
Code Block |
---|
POST /restconf/operations/data-provider:getread-faultcurrent-entitylist { "input":{ "filter":[], "sortorder":[], "pagination":{ "size":20, "page":1 } } } Response: { "output": { "pagination":{ "size":20, "page":1, "total": 3 }, "data": [ { "id": "Sim2230/LP-MWPS-TTP-RADIO/rslIsExceeded", "node-id": "Sim2230", "counter": "2", "timestamp": "2017-01-01T01:00:00.0Z", "object-id": "LP-MWPS-TTP-RADIO", "problem": "rslIsExceeded", "severity": "Critical", "type": "ProblemNotificationXml" }, { "id": "Sim2231/LP-MWPS-TTP-RADIO/rslIsExceeded", "node-id": "Sim2231", "counter": "3", "timestamp": "2017-01-01T02:00:00.0Z", "object-id": "LP-MWPS-TTP-RADIO", "problem": "rslIsExceeded", "severity": "Critical", "type": "ProblemNotificationXml" }, { "id": "Sim2230/LP-MWPS-TTP-RADIO/signalLost", "node-id": "Sim2230", "counter": "4", "timestamp": "2017-01-01T03:00:00.0Z", "object-id": "LP-MWPS-TTP-RADIO", "problem": "signalLost", "severity": "Major", "type": "ProblemNotificationXml" } ] } } |
...
Code Block |
---|
POST /restconf/operations/data-provider:getread-faultcurrent-entitylist { "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", "node-id": "Sim2230", "counter": "4", "timestamp": "2017-01-01T03:00:00.0Z", "object-id": "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", "object-id": "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", "object-id": "LP-MWPS-TTP-RADIO", "problem": "rslIsExceeded", "severity": "Critical", "type": "ProblemNotificationXml" } ] } |
...