Porta Plus 2 Web Services

<back to all web services

PortaAccountInfo

The following routes are available for this service:
GET/GetAccountBalance/{License}/{IAccount}
GET/GetAccountDetails/{License}/{AccountID}
GET/GetAccountDetailsByIaccount/{License}/{IAccount}

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

{
	IAccount: 0,
	AccountID: String,
	License: String,
	ContentId: 0,
	FeatureName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	AvailableBalance: 0,
	AccountCustomerDetails: 
	{
		CustomerName: String,
		CustomerFirstName: String,
		CustomerLastName: String,
		CustomerAddress: String,
		CustomerAddress1: String,
		CustomerAddress2: String,
		CustomerAddress3: String,
		CustomerCity: String,
		CustomerPostcode: String,
		CustomerCompany: String,
		CustomerCountry: String,
		CustomerEmail: String,
		CustomerPhoneNo: String,
		AccountName: String,
		AccountFirstName: String,
		AccountLastName: String,
		AccountAddress: String,
		AccountAddress1: String,
		AccountAddress2: String,
		AccountAddress3: String,
		AccountCity: String,
		AccountPostcode: String,
		AccountSalutation: String,
		AccountEmail: String,
		AccountLogin: String,
		AccountPassword: String,
		AccountCompany: String,
		AccountCountry: String,
		AccountContact1: String,
		AccountContact2: String,
		AccountBCC: String,
		AccountPhoneNo1: String,
		AccountPhoneNo2: String,
		AccountFax: String,
		IEnv: 0,
		AccountState: String,
		Note: String,
		ICustomer: 0
	},
	License: String,
	ContentId: 0,
	FeatureName: String
}