AIM Web Services

<back to all web services

InventoryHistoryRequest

InventoryHistory
Requires active-e Inventory Service

The following routes are available for this service:
GET/api/InventoryHistory
InventoryHistoryRequest Parameters:
NameParameterData TypeRequiredDescription
LocIdquerylong?No
ItemquerystringNo
BaseSecureRequest Parameters:
NameParameterData TypeRequiredDescription
TokenHeaderstringNo
DeviceIdHeaderstringNo
AppIdHeaderstringYes
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyheaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenheaderstringNo
InventoryHistoryResponse Parameters:
NameParameterData TypeRequiredDescription
HistoryRecordsbodyList<InventoryHistoryObj>No
InventoryDetailbodyInventoryDetailResponseNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusbodyBaseResponseResultNo
BaseResponseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodebodystringNo
LoginbodystringNo
ErrorCodebodystringNo
ErrorDisplayTextbodystringNo
ErrorMessagebodystringNo
DomainNamebodystringNo
IpAddressbodystringNo
InventoryHistoryObj Parameters:
NameParameterData TypeRequiredDescription
DateValformDateTimeNo
SDateValformDateTimeNo
AcctformintNo
SubformintNo
CusNameformstringNo
QtyformdecimalNo
AmtformdecimalNo
RefformstringNo
TypeformstringNo
SerialformstringNo
EmployeeformstringNo
EmployeeNameformstringNo
StlocformstringNo
DunnformstringNo
SoldDescformstringNo
Tcp_rtncodeformstringNo
TableNameformstringNo
TraPkformlong?No
CusPkformlong?No
SasPkformlong?No
SaqPkformlong?No
SkuPkformlong?No
SadPkformlong?No
TablePkformlongNo
InventoryDetailResponse Parameters:
NameParameterData TypeRequiredDescription
SadPkformlongNo
InvTypeformstringNo
ModelformstringNo
DescriptionformstringNo
MfgformstringNo
CategoryformintNo
CategoryDescriptionformstringNo
SubCategoryformintNo
SubCategoryDescriptionformstringNo
SelectionCodeformstringNo
SelectionCodeDescriptionformstringNo
SellSerialsOnlineformboolNo
NotesformstringNo
ImagesformList<ImageInfo>No
HasImagesformboolNo
VariantDetailsformList<InventoryDetailByVariant>No
AddOnsformList<AddOnDetail>No
ActiveEInfoformActiveEInfoNo
WeightformdecimalNo
UnitformstringNo
ShipChargeformdecimalNo
ImageInfo Parameters:
NameParameterData TypeRequiredDescription
UrlformstringNo
ImageStreamformstringNo
ImageSizeformstringNo
ErrorMessageformstringNo
UriPkformlong?No
InventoryDetailByVariant Parameters:
NameParameterData TypeRequiredDescription
SkuPkformlongNo
SkuformstringNo
VendorCostformdecimal?No
VendorNameformstringNo
AttributesformList<InventoryDetailAttribute>No
LocationDetailsformList<InventoryDetailByLocation>No
ImagesformList<ImageInfo>No
HasImagesformboolNo
BarcodesformList<string>No
InventoryDetailAttribute Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ValueformstringNo
PriorityformintNo
WebTypequeryintNo1 is 'Don't Send to Web', 2 is 'Guided Navigation'
InventoryDetailByLocation Parameters:
NameParameterData TypeRequiredDescription
SaqPkformlongNo
LocationInfoformLocationInfoNo
SerialsformList<InventoryDetailBySerial>No
SubstitutesformList<InventoryDetailSubstitute>No
RetailformdecimalNo
OurPriceformdecimalNo
SalePriceformdecimal?No
SaleInfoformstringNo
PriceAformdecimalNo
PriceBformdecimalNo
PriceCformdecimalNo
MinPriceformdecimalNo
CustomerPriceformdecimalNo
AllowPriceChangeformboolNo
QtyformdecimalNo
QtyAvailformdecimalNo
ActiveeHoldbackQtyformdecimalNo
ReorderMinformintNo
ReorderMaxformintNo
AverageCostformdecimal?No
WeightedCostformdecimal?No
LocatorformstringNo
SelectionCodeformstringNo
SelectionCodeDescriptionformstringNo
SpiffformdecimalNo
CurrentSpotCheckQtyformdecimal?No
QtyOutformdecimalNo
QtyOnOrderformdecimalNo
AvailableForSTRformdecimalNo
LocationInfo Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
DescformstringNo
ShortDescformstringNo
RegionformstringNo
LatitudeformdecimalNo
LongitudeformdecimalNo
InStorePickupformstringNo
ActiveformboolNo
InventoryDetailBySerial Parameters:
NameParameterData TypeRequiredDescription
SasPkformlongNo
SerialformstringNo
RetailformdecimalNo
OurPriceformdecimalNo
SalePriceformdecimal?No
StatusformstringNo
SaleInfoformstringNo
PriceAformdecimalNo
PriceBformdecimalNo
PriceCformdecimalNo
MinPriceformdecimalNo
AllowPriceChangeformboolNo
Costformdecimal?No
WeightedCostformdecimal?No
NotesformstringNo
AttributesformList<InventoryDetailAttribute>No
ImagesformList<ImageInfo>No
HasImagesformboolNo
IsActiveeHoldbackformboolNo
CustomerAcctformint?No
AvailableForSTRformboolNo
InventoryDetailSubstitute Parameters:
NameParameterData TypeRequiredDescription
ModelformstringNo
SkuformstringNo
MfgformstringNo
DescriptionformstringNo
PriceformdecimalNo
AvailableQtyformdecimalNo
AddOnDetail Parameters:
NameParameterData TypeRequiredDescription
SadPkformlongNo
SkuPkformlongNo
CatPkformlongNo
SubPkformlongNo
ItemformstringNo
DescriptionformstringNo
PriceformdecimalNo
ActiveEInfo Parameters:
NameParameterData TypeRequiredDescription
DimensionformstringNo
WebDescriptionformstringNo
SummaryformstringNo
SETitleformstringNo
SEDescriptionformstringNo
SEKeywordsformstringNo
SEAltTextformstringNo
SEHtmlFreeTextformstringNo
UnpublishedformboolNo
FreeShippingformboolNo
IsFeaturedformboolNo
WebCategoryIdsformList<long>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.

GET /api/InventoryHistory HTTP/1.1 
Host: active-ewebservice.biz 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"HistoryRecords":[{"Acct":0,"Sub":0,"CusName":"String","Qty":0,"Amt":0,"Ref":"String","Type":"String","Serial":"String","Employee":"String","EmployeeName":"String","Stloc":"String","Dunn":"String","SoldDesc":"String","Tcp_rtncode":"String","TableName":"String","TraPk":0,"CusPk":0,"SasPk":0,"SaqPk":0,"SkuPk":0,"SadPk":0,"TablePk":0}],"InventoryDetail":{"SadPk":0,"InvType":"String","Model":"String","Description":"String","Mfg":"String","Category":0,"CategoryDescription":"String","SubCategory":0,"SubCategoryDescription":"String","SelectionCode":"String","SelectionCodeDescription":"String","SellSerialsOnline":false,"Notes":"String","Images":[{"Url":"String","ImageStream":"String","ImageSize":"String","ErrorMessage":"String","UriPk":0}],"HasImages":true,"VariantDetails":[{}],"AddOns":[{}],"ActiveEInfo":{"Dimension":"String","WebDescription":"String","Summary":"String","SETitle":"String","SEDescription":"String","SEKeywords":"String","SEAltText":"String","SEHtmlFreeText":"String","Unpublished":false,"FreeShipping":false,"IsFeatured":false,"WebCategoryIds":[0]},"Weight":0,"Unit":"String","ShipCharge":0,"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}},"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}