AIM Web Services

<back to all web services

InventoryDetailRequest

InventoryDetail
Requires active-e Inventory Service

The following routes are available for this service:
POST, GET/api/InventoryDetail
InventoryDetailRequest Parameters:
NameParameterData TypeRequiredDescription
Pkbodylong?No
PkTypebodystringNo
ModelbodystringNo
SkipImagesbodyboolNo
IncludeSerialInfobodyboolNo
CustomerAcctbodyint?No
BaseSecureRequest Parameters:
NameParameterData TypeRequiredDescription
TokenHeaderstringNo
DeviceIdHeaderstringNo
AppIdHeaderstringYes
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyheaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenheaderstringNo
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
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusbodyBaseResponseResultNo
BaseResponseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodebodystringNo
LoginbodystringNo
ErrorCodebodystringNo
ErrorDisplayTextbodystringNo
ErrorMessagebodystringNo
DomainNamebodystringNo
IpAddressbodystringNo
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.

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

{"Pk":0,"PkType":"String","Model":"String","SkipImages":false,"IncludeSerialInfo":false,"CustomerAcct":0,"Token":"String","DeviceId":"String","AppId":"String","ApiKey":"String","OAuthToken":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"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"}}