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
PkqueryintegerNoThe PK being used for lookup. Can be used in conjunction with PkType. Do not use if Model is passed in.
PkTypequerystringNoThe type of PK being used for lookup. Can be SAD, SKU, SAS, or EXT. Only used if PK is passed in. Defaults to SAD if not sent.
ModelquerystringNoThe Model being used for lookup. Do not use if Pk is passed in.
SkipImagesbodyboolNo
IncludeSerialInfobodyboolNo
CustomerAcctqueryintegerNoIf sent, the Customer Acct will be used for customer specific pricing.
BaseSecureRequest Parameters:
NameParameterData TypeRequiredDescription
TokenHeaderstringNoThe Login Token return by the Security API. Required for secured calls.
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyHeaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenHeaderstringYesThe OAuthToken token return by AeServices30
DeviceIdHeaderstringNoThe Device ID of the Mobile Device. Not used for non-mobile devices.
AppIdHeaderstringYesAn identifier for your integration
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 'Send To Web'
InventoryDetailByLocation Parameters:
NameParameterData TypeRequiredDescription
SaqPkformlongNo
LocationInfoformLocationInfoNo
SerialsformList<InventoryDetailBySerial>No
SubstitutesformList<InventoryDetailSubstitute>No
RetailformdecimalNo
OurPriceformdecimalNo
SalePriceformdecimal?No
SaleInfoformstringNo
PriceAformdecimalNo
PriceBformdecimalNo
PriceCformdecimalNo
MinPriceformdecimalNo
ActiveEPriceformdecimalNo
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
CashSaleAcctformint?No
InventoryDetailBySerial Parameters:
NameParameterData TypeRequiredDescription
SasPkformlongNo
SerialformstringNo
RetailformdecimalNo
OurPriceformdecimalNo
SalePriceformdecimal?No
StatusformstringNo
SaleInfoformstringNo
PriceAformdecimalNo
PriceBformdecimalNo
PriceCformdecimalNo
MinPriceformdecimalNo
ActiveEPriceformdecimalNo
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
HidePriceformboolNo

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","ApiKey":"String","OAuthToken":"String","DeviceId":"String","AppId":"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],"HidePrice":false},"Weight":0,"Unit":"String","ShipCharge":0,"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}