Porta Plus 2 Web Services

<back to all web services

PortaGetUA

The following routes are available for this service:
GET/GetUAType/{License}/{ICustomer}
GET/GetUATypesbyTypeID/{License}/{ICustomer}/{i_ua_type}/{Type}
GET/GetUATypesbyTypeIDforMACSearch/{License}/{i_ua_type}/{Type}/{getresultsbymac}
GET/GetAllUANames/{License}/{UAName}/{getAllUANames}
GET/GetUAbyIcustomer/{License}/{ICustomer}/{getforCPEIM}/{toGetAllUAs}
GET/Getuabymacsearchstring/{License}/{mac}/{getresultsbymac}
GET/GetAllMACAddress/{License}/{MAC}/{getAllMAC}
GET/GetMACBySearch/{License}/{searchstring}/{macSearch}
GET/GetAllUAType/{License}/{getAllUATypes}
GET/GetAllProfileName/{License}/{i_ua_type}/{currentModelVal}/{getAllUAProfiles}
GET/GetProfileName/{License}/{i_ua_type}/{ICustomer}/{currentModelVal}/{subcustomerID}
GET/GetProfileNamesforCPEIM/{License}/{i_ua_type}/{ICustomer}/{Type}/{getforCPEIM}

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/oneway/PortaGetUA HTTP/1.1 
Host: api-uk.activesoftswitch.com 
Content-Type: text/jsv
Content-Length: length

{
	i_ua_type: 0,
	ICustomer: 0,
	currentModelVal: String,
	IEnv: 0,
	getAllUATypes: False,
	getAllUAProfiles: False,
	getAllUANames: False,
	UAName: String,
	getAllMAC: False,
	MAC: String,
	Type: String,
	subcustomerID: 0,
	getforCPEIM: False,
	macSearch: False,
	searchstring: String,
	getresultsbymac: False,
	toGetAllUAs: False,
	License: String,
	ContentId: 0,
	FeatureName: String
}