Cisco Cisco Prime Home 6.3 Guia Do Programador
Cisco Prime Home – Integration Guide
OL-28558-01 v5.1
45
Updating an Application
Request
POST /prime-home/portal/query/execute
device with oui: 001A2B999999
device with oui: 001A2B999999
Response
{
"docId": "subscription#8#78",
"fields": {
"deviceId": "78",
"disposition": "MANAGED_DEVICE",
"lastInform": "2010-12-06T19:19:59.486Z",
"manufacturer": "ClearAccess",
"model": "AG10W-NA2",
"oui": "001A2B",
"personLabel": ["kender"],
"serialNumber": "001A2B999999",
"subscriberCode": "life-cycle-use-case-subscriber",
"subscriberId": "8",
"wanType": "ADSL2+",
"wanip": ["010.001.001.016"]
"deviceId": "78",
"disposition": "MANAGED_DEVICE",
"lastInform": "2010-12-06T19:19:59.486Z",
"manufacturer": "ClearAccess",
"model": "AG10W-NA2",
"oui": "001A2B",
"personLabel": ["kender"],
"serialNumber": "001A2B999999",
"subscriberCode": "life-cycle-use-case-subscriber",
"subscriberId": "8",
"wanType": "ADSL2+",
"wanip": ["010.001.001.016"]
},
"id": "8#78",
"type": "subscription"
}
"id": "8#78",
"type": "subscription"
}
Request
GET /prime-home/api/v1/devices/78/data
Response
{
"applications": {
"WIFI": {"dto": {"Settings": {"WLANConfigurations": {"1": {
"BeaconAdvertisementEnabled": "0",
"BeaconType": "WPA2",
"Channel": "11",
"Enable": "0",
"SSID": "ClearAccess",
"Secret": "G846DkDRDj64byr"
"BeaconType": "WPA2",
"Channel": "11",
"Enable": "0",
"SSID": "ClearAccess",
"Secret": "G846DkDRDj64byr"
}}}}}
},
"deviceId": 78,
"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": "001A2B999999",
"softwareVersion": "2.3.0.13_4.02L.03.wp1.A2pB025c1.d21j2",
"subscriberCode": "kender"
"deviceId": 78,
"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": "001A2B999999",
"softwareVersion": "2.3.0.13_4.02L.03.wp1.A2pB025c1.d21j2",
"subscriberCode": "kender"
}