Porta Plus 2 Web Services

<back to all web services

PortaAccountDetailsByProduct

The following routes are available for this service:
GET/GetAccountDetails/{License}/{ICustomer}/{searchString}
GET/GetAccountDetailsbyIProduct/{License}/{ICustomer}/{searchString}/{getAccountsbyIProduct}
GET/GetAccountDetailsbyIProduct/{License}/{ICustomer}/{searchString}/{getAccountsbyIProduct}/{getCliStatus}
GET/GetAccountDetails/{License}/{ICustomer}/{searchString}/{prefix}

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

{
	Currency: String,
	ICustomer: 0,
	IProduct: 0,
	GetDIDS: False,
	Aliases: False,
	MultipleProducts: String,
	GetAccountServiceFeatures: False,
	GetBlockedAccounts: False,
	AccountID: String,
	IAccount: 0,
	ShowAllResellerProducts: False,
	ResellerID: 0,
	searchString: String,
	name: String,
	IService: 0,
	filterByActivationDate: String,
	fromDate: String,
	toDate: String,
	prefix: 0,
	accountlist: 
	[
		{
			i_customer: 0,
			i_reseller: 0,
			ProductName: String,
			i_account: 0,
			id: String,
			label: String,
			i_ua: 0,
			i_ua_type: 0,
			Type: String,
			Extension: String,
			fullname: String,
			assignedAddons: String,
			hidecli: False,
			assignedHardware: 
			[
				{
					i_account: 0,
					name: String,
					i_ua: 0,
					i_ua_type: 0,
					Type: String
				}
			]
		}
	],
	getAccountsbyIProduct: False,
	getCliStatus: False,
	License: String,
	ContentId: 0,
	FeatureName: String
}