AIM Web Services

<back to all web services

ScheduledExchangesGetRequest

ScheduledExchanges
Requires active-e Contracts Service.

The following routes are available for this service:
GET/api/ScheduledExchanges
ScheduledExchangesGetRequest Parameters:
NameParameterData TypeRequiredDescription
ScheduledDateFromqueryDateTime?No
ScheduledDateToqueryDateTime?No
DistrictIdquerylong?No
SchoolIdquerylong?No
LocationIdquerylong?No
StatusIdquerylong?No
OptionIdquerylong?No
IncludeProcessedquerybool?No
LanIdquerystringNo
BaseSecureRequest Parameters:
NameParameterData TypeRequiredDescription
TokenHeaderstringNo
DeviceIdHeaderstringNo
AppIdHeaderstringYes
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyheaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenheaderstringNo
ScheduledExchangesGetResponse Parameters:
NameParameterData TypeRequiredDescription
ScheduledExchangesformList<ScheduledExchangesGetInfo>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusbodyBaseResponseResultNo
BaseResponseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodebodystringNo
LoginbodystringNo
ErrorCodebodystringNo
ErrorDisplayTextbodystringNo
ErrorMessagebodystringNo
DomainNamebodystringNo
IpAddressbodystringNo
ScheduledExchangesGetInfo Parameters:
NameParameterData TypeRequiredDescription
ExchangeIDformlongNo
AcctformintNo
SubformintNo
NameformstringNo
AddressformstringNo
Address2formstringNo
CityformstringNo
StudentformstringNo
SchoolformstringNo
DistrictformstringNo
ItemformstringNo
EmployeeformstringNo
ReturnedDateformDateTime?No
StockNumberformstringNo
SerialformstringNo
ReturnOptionformstringNo
ScheduledReturnedRefformstringNo
StatusformstringNo
HistoryformstringNo
ExchangeRefformlong?No
AutoPayHoldDateformDateTime?No
ExchangedItemformstringNo
PostingDateformDateTimeNo
ScheduledDateformDateTimeNo
NewSkuformstringNo
NotesformstringNo
SourceformstringNo
OptionformstringNo
ProcessedformboolNo
MobileExchangedStatusformboolNo

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

HTTP + OTHER

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

GET /api/ScheduledExchanges HTTP/1.1 
Host: active-ewebservice.biz 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ScheduledExchanges":[{"ExchangeID":0,"Acct":0,"Sub":0,"Name":"String","Address":"String","Address2":"String","City":"String","Student":"String","School":"String","District":"String","Item":"String","Employee":"String","ReturnedDate":"0001-01-01T00:00:00.0000000","StockNumber":"String","Serial":"String","ReturnOption":"String","ScheduledReturnedRef":"String","Status":"String","History":"String","ExchangeRef":0,"AutoPayHoldDate":"0001-01-01T00:00:00.0000000","ExchangedItem":"String","NewSku":"String","Notes":"String","Source":"String","Option":"String","Processed":false,"MobileExchangedStatus":false}],"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}