AIM Web Services

<back to all web services

GetCustomerHistoryRequest

GetCustomerHistory
Requires active-e Customer Service.

The following routes are available for this service:
POST, GET/api/GetCustomerHistory
GetCustomerHistoryRequest Parameters:
NameParameterData TypeRequiredDescription
GetInvoicesbodybool?No
GetTicketsbodybool?No
GetProposalsbodybool?No
GetContractsbodybool?No
GetOrdersbodybool?No
GetShortTermRentalsbodybool?No
GetWebPaymentsbodybool?No
ShowClosedbodybool?No
GetPaymentsDuebodybool?No
DateFrombodystringNo
DateTobodystringNo
Acctbodyint?No
GetMembershipsbodybool?No
GetPendingWebOrdersbodybool?No
GetFutureTeeTimesbodybool?No
GetStationReservationsbodybool?No
GetPendingWebRentalsbodybool?No
GetValuePacksbodybool?No
IncludeUninvoicedSchedulingbodybool?No
IncludeOnHoldbodybool?No
GetConsignmentsbodybool?No
GetRecurringHeaderInfobodybool?No
BaseSecureRequest Parameters:
NameParameterData TypeRequiredDescription
TokenHeaderstringNo
DeviceIdHeaderstringNo
AppIdHeaderstringYes
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyheaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenheaderstringNo
GetCustomerHistoryResponse Parameters:
NameParameterData TypeRequiredDescription
CustomerHistoryformList<CustomerHistoryGeneric>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusbodyBaseResponseResultNo
BaseResponseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodebodystringNo
LoginbodystringNo
ErrorCodebodystringNo
ErrorDisplayTextbodystringNo
ErrorMessagebodystringNo
DomainNamebodystringNo
IpAddressbodystringNo
CustomerHistoryGeneric Parameters:
NameParameterData TypeRequiredDescription
DateformDateTimeNo
DateStrformstringNo
RefformstringNo
DescformstringNo
AmountformdecimalNo
OrigAmountformdecimalNo
LateformboolNo
RefTypeformstringNo
POformstringNo
EstReceivedDateformDateTime?No

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /api/GetCustomerHistory HTTP/1.1 
Host: active-ewebservice.biz 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"GetInvoices":false,"GetTickets":false,"GetProposals":false,"GetContracts":false,"GetOrders":false,"GetShortTermRentals":false,"GetWebPayments":false,"ShowClosed":false,"GetPaymentsDue":false,"DateFrom":"String","DateTo":"String","Acct":0,"GetMemberships":false,"GetPendingWebOrders":false,"GetFutureTeeTimes":false,"GetStationReservations":false,"GetPendingWebRentals":false,"GetValuePacks":false,"IncludeUninvoicedScheduling":false,"IncludeOnHold":false,"GetConsignments":false,"GetRecurringHeaderInfo":false,"Token":"String","DeviceId":"String","AppId":"String","ApiKey":"String","OAuthToken":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"CustomerHistory":[{}],"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}