Porta Plus 2 Web Services

<back to all web services

BatchCPEData

The following routes are available for this service:
POST/AddCPEInventory
POST/Swoop_AddCPEInventory
POST/AssignUA
POST/ReleaseUA
POST/DeleteUA
POST/AssignUAFromASDB
POST/UpdateUAFromASDB

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/oneway/BatchCPEData HTTP/1.1 
Host: 7el.co 
Content-Type: application/json
Content-Length: length

{"AllCPEData":[{"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"}],"License":"String","AssignUA":false,"ReleaseUA":false,"IEnv":0}