Cisco Cisco Prime Home 6.3 开发者指南
Cisco Prime Home – Integration Guide
OL-28558-01 v5.1
51
Request
GET /prime-home/api/v1/devices/79/data
Response
{
"applications": {
(...)
},
"deviceId": 79,
"deviceTypeId": 3,
"deviceTypeImagePath": "/acs-portal/images/devices/ag10w.png",
"disposition": "MANAGED_DEVICE",
"excludeFromBulkOperation": false,
"firstInform": "2010-11-04T19:56:22.323Z",
"friendlyManufacturerName": "ClearAccess",
"friendlyName": "AG10W-NA2",
"informCount": 12438,
"labels": [],
"lastInform": "2010-12-06T19:19:59.486Z",
"manufacturer": "ClearAccess",
"oui": "001A2B",
"revision": -15500043644,
"sn": "001A2B999998",
"softwareVersion": "2.3.0.13_4.02L.03.wp1.A2pB025c1.d21j2",
(...)
},
"deviceId": 79,
"deviceTypeId": 3,
"deviceTypeImagePath": "/acs-portal/images/devices/ag10w.png",
"disposition": "MANAGED_DEVICE",
"excludeFromBulkOperation": false,
"firstInform": "2010-11-04T19:56:22.323Z",
"friendlyManufacturerName": "ClearAccess",
"friendlyName": "AG10W-NA2",
"informCount": 12438,
"labels": [],
"lastInform": "2010-12-06T19:19:59.486Z",
"manufacturer": "ClearAccess",
"oui": "001A2B",
"revision": -15500043644,
"sn": "001A2B999998",
"softwareVersion": "2.3.0.13_4.02L.03.wp1.A2pB025c1.d21j2",
}
Request
PUT /prime-home/api/v1/devices/79/data
{
"applications": {
(...)
(...)
},
"deviceId": 79,
"deviceTypeId": 3,
"deviceTypeImagePath": "/acs-portal/images/devices/ag10w.png",
"disposition": "MANAGED_DEVICE",
"excludeFromBulkOperation": false,
"firstInform": "2010-11-04T19:56:22.323Z",
"friendlyManufacturerName": "ClearAccess",
"friendlyName": "AG10W-NA2",
"informCount": 12438,
"labels": [],
"lastInform": "2010-12-06T19:19:59.486Z",
"manufacturer": "ClearAccess",
"oui": "001A2B",
"revision": -15500043644,
"deviceId": 79,
"deviceTypeId": 3,
"deviceTypeImagePath": "/acs-portal/images/devices/ag10w.png",
"disposition": "MANAGED_DEVICE",
"excludeFromBulkOperation": false,
"firstInform": "2010-11-04T19:56:22.323Z",
"friendlyManufacturerName": "ClearAccess",
"friendlyName": "AG10W-NA2",
"informCount": 12438,
"labels": [],
"lastInform": "2010-12-06T19:19:59.486Z",
"manufacturer": "ClearAccess",
"oui": "001A2B",
"revision": -15500043644,
"rmaFor": {
"code": "BROKEN"
"oui": "001A2B",
"sn": "001A2B999999"
"oui": "001A2B",
"sn": "001A2B999999"
}
"sn": "001A2B999998",
"softwareVersion": "2.3.0.13_4.02L.03.wp1.A2pB025c1.d21j2",
"softwareVersion": "2.3.0.13_4.02L.03.wp1.A2pB025c1.d21j2",
}
Response
{
"applications": {