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 .csv suffix or ?format=csv

HTTP + CSV

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

POST /csv/oneway/BatchCPEData HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

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