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

HTTP + JSV

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

POST /jsv/reply/CPEInventory HTTP/1.1 
Host: 7el.co 
Content-Type: text/jsv
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: text/jsv
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
}