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

HTTP + CSV

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

POST /csv/reply/PortaAccountInfo HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

IAccount,AccountID,License,ContentId,FeatureName
0,String,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

AvailableBalance,AccountCustomerDetails,License,ContentId,FeatureName
0,"{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}",String,0,String