AIM Web Services

<back to all web services

InventoryAutoPriceRequest

InventoryAutoPrice
Requires active-e Inventory Service

The following routes are available for this service:
GET/api/InventoryAutoPrice
InventoryAutoPriceRequest Parameters:
NameParameterData TypeRequiredDescription
Categoryqueryint?No
SubCategoryqueryint?No
Vendorqueryint?No
AutoPriceIdquerylong?No
MinimumPricequerydecimalNo
PriceAquerydecimalNo
PriceBquerydecimalNo
PriceCquerydecimalNo
OurPricequerydecimalNo
RetailPricequerydecimalNo
CostquerydecimalNo
WeightedCostquerydecimalNo
VendorNormalCostquerydecimalNo
BaseSecureRequest Parameters:
NameParameterData TypeRequiredDescription
TokenHeaderstringNo
DeviceIdHeaderstringNo
AppIdHeaderstringYes
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyheaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenheaderstringNo
InventoryAutoPriceResponse Parameters:
NameParameterData TypeRequiredDescription
AutoPriceRecordsformList<AutoPriceRecord>No
MinimumPriceformdecimal?No
PriceAformdecimal?No
PriceBformdecimal?No
PriceCformdecimal?No
OurPriceformdecimal?No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusbodyBaseResponseResultNo
BaseResponseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodebodystringNo
LoginbodystringNo
ErrorCodebodystringNo
ErrorDisplayTextbodystringNo
ErrorMessagebodystringNo
DomainNamebodystringNo
IpAddressbodystringNo
AutoPriceRecord Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
DescriptionformstringNo
Categoryformint?No
CategoryDescriptionformstringNo
SubCategoryformint?No
SubCategoryDescriptionformstringNo
Vendorformint?No
VendorNameformstringNo

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

{"AutoPriceRecords":[{"Id":0,"Description":"String","Category":0,"CategoryDescription":"String","SubCategory":0,"SubCategoryDescription":"String","Vendor":0,"VendorName":"String"}],"MinimumPrice":0,"PriceA":0,"PriceB":0,"PriceC":0,"OurPrice":0,"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}