POST Public/api/Stock/Get
The entry point for getting products stock information
Request Information
URI Parameters
None.
Body Parameters
StockRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AuthToken |
Your unique partner identification token |
globally unique identifier | |
| ProductToken |
The unique token for the product you want to get stock information for |
globally unique identifier |
Request Formats
application/json, text/json
Sample:
{
"authToken": "e5e7b877-8ae1-4ee0-b4eb-9b6559de5762",
"productToken": "dac6bfae-6fa3-41ba-a2f9-f538e6911bb8"
}
application/xml, text/xml
Sample:
<StockController.StockRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HuurayV3.Areas.Public.Controllers"> <AuthToken>e5e7b877-8ae1-4ee0-b4eb-9b6559de5762</AuthToken> <ProductToken>dac6bfae-6fa3-41ba-a2f9-f538e6911bb8</ProductToken> </StockController.StockRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Object containing stock information for the specified product
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.