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: api-uk.activesoftswitch.com
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
}