Porta Plus 2 Web Services

<back to all web services

CPEInventory

The following routes are available for this service:
GET/GetCPEInventory/{License}/{ResellerID}

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/CPEInventory HTTP/1.1 
Host: 7el.co 
Content-Type: application/json
Content-Length: length

{"i_ua":0,"name":"String","type":"String","i_ua_type":0,"description":"String","mac":"String","inventory_id":"String","profile":"String","port":0,"ascii_key":"String","i_customer":0,"i_customerSpecified":false,"ua_profile_id":"String","profile_id":0,"used":"String","notepad":"String","opc_key":"String","ResellerID":0,"Ienv":0,"i_account":0,"ManagedBy":"String","AssignUA":false,"UpdateUA":false,"ReleaseUA":false,"DeleteUA":false,"CheckAssignedPorts":false,"releaseUAOnAccountDeletion":false,"License":"String","ContentId":0,"FeatureName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ListCPEInventory":[{"i_ua":0,"name":"String","type":"String","i_ua_type":0,"description":"String","mac":"String","inventory_id":"String","profile":"String","port":0,"ascii_key":"String","i_customer":0,"i_customerSpecified":false,"ua_profile_id":"String","profile_id":0,"used":"String","notepad":"String","opc_key":"String","ResellerID":0,"Ienv":0,"i_account":0,"ManagedBy":"String","AssignUA":false,"UpdateUA":false,"ReleaseUA":false,"DeleteUA":false,"CheckAssignedPorts":false,"releaseUAOnAccountDeletion":false,"License":"String","ContentId":0,"FeatureName":"String"}],"UAAdded":false,"uaResponse":{"UAAdded":false,"ExceptionFlag":false},"UAAddedtoAS":0,"UADelete":false,"errorMessage":"String"}