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 .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/reply/CPEInventory HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

i_ua,name,type,i_ua_type,description,mac,inventory_id,profile,port,ascii_key,i_customer,i_customerSpecified,ua_profile_id,profile_id,used,notepad,opc_key,ResellerID,Ienv,i_account,ManagedBy,AssignUA,UpdateUA,ReleaseUA,DeleteUA,CheckAssignedPorts,releaseUAOnAccountDeletion,License,ContentId,FeatureName
0,String,String,0,String,String,String,String,0,String,0,False,String,0,String,String,String,0,0,0,String,False,False,False,False,False,False,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

ListCPEInventory,UAAdded,uaResponse,UAAddedtoAS,UADelete,errorMessage
"[{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}]",False,"{UAAdded:False,ExceptionFlag:False}",0,False,String