AIM Web Services

<back to all web services

GetContractDetailsRequest

GetContractDetails
Requires active-e Contracts Service or active-e Customer Service

The following routes are available for this service:
POST, GET/api/GetContractDetails
GetContractDetailsRequest Parameters:
NameParameterData TypeRequiredDescription
RefbodystringNo
Subbodyint?No
BaseSecureRequest Parameters:
NameParameterData TypeRequiredDescription
TokenHeaderstringNo
DeviceIdHeaderstringNo
AppIdHeaderstringYes
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyheaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenheaderstringNo
GetContractDetailsResponse Parameters:
NameParameterData TypeRequiredDescription
AccountSubformstringNo
NextDueDateformDateTimeNo
PaymentAmountformdecimalNo
PastDueAmountformdecimalNo
LateChargesformdecimalNo
OtherChargesformdecimalNo
TotalDueformdecimalNo
AccumulatedCreditformdecimalNo
StudentNameformstringNo
SchoolNameformstringNo
TopicformstringNo
InventoryformList<InventoryGeneric>No
PaymentsformList<PaymentGeneric>No
PaymentAmtformdecimalNo
PastDueAmtformdecimalNo
CurrentBalanceformdecimalNo
TotalPayoffformdecimalNo
DiscountedPayoffformdecimal?No
PayoffDateformDateTimeNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusbodyBaseResponseResultNo
BaseResponseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodebodystringNo
LoginbodystringNo
ErrorCodebodystringNo
ErrorDisplayTextbodystringNo
ErrorMessagebodystringNo
DomainNamebodystringNo
IpAddressbodystringNo
InventoryGeneric Parameters:
NameParameterData TypeRequiredDescription
ModelformstringNo
ItemformstringNo
SkuformstringNo
SerialformstringNo
DescformstringNo
MfgformstringNo
PaymentGeneric Parameters:
NameParameterData TypeRequiredDescription
DateformDateTimeNo
AmountformdecimalNo
RefformstringNo

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/GetContractDetails HTTP/1.1 
Host: active-ewebservice.biz 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Ref":"String","Sub":0,"Token":"String","DeviceId":"String","AppId":"String","ApiKey":"String","OAuthToken":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"AccountSub":"String","PaymentAmount":0,"PastDueAmount":0,"LateCharges":0,"OtherCharges":0,"TotalDue":0,"AccumulatedCredit":0,"StudentName":"String","SchoolName":"String","Topic":"String","Inventory":[{"Model":"String","Item":"String","Sku":"String","Serial":"String","Desc":"String","Mfg":"String"}],"Payments":[{"Amount":0,"Ref":"String"}],"PaymentAmt":0,"PastDueAmt":0,"CurrentBalance":0,"TotalPayoff":0,"DiscountedPayoff":0,"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}