WebAPI

<back to all web services

GetAccount

Retrieves account settings and preferred methods of communication.

The following routes are available for this service:
GET/GetAccount/{AccountId}RESTFUL call with Account ID and Page Size in the URI
Parameters:
NameParameterData TypeRequiredDescription
AccountIdpathintYes

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/GetAccount HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: text/csv
Content-Length: length

AccountId
0

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

AccountId,AccountNumber,PrimaryContactId,AccountStatementDeliveryID,AccountStatementDelivery,AccountType,AccountTypeId,AccountBalance,AccountStatusID,AccountStatus,FinancialStatusId,FinancialStatus,IsInGracePeriod,MobilePhone,AddressInfos,RebillAmount,LBTAmount,IsPostpaidAccount,PlanCode,RebillMethodId,RebillMethod,IsMonthlyPassAutoRenewal
0,String,0,0,String,String,0,0,0,String,0,String,False,String,"[{AddressType:String,CountryCode:String,IsPrimaryAddress:False,AddressTypeId:0,AddressLine1:STRING,AddressLine2:STRING,City:STRING,CountyCode:STRING,PostalCode:STRING,PtcAbsCode:STRING,ContactId:0,AddressId:0}]",0,0,False,String,0,String,False