POST Public/api/Stock
The entry point for getting products stock information
Request Information
URI Parameters
None.
Body Parameters
StockRequestName | 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": "6f40518a-213e-4f94-8fba-523a5b4ad7a1", "productToken": "ac2a320f-c87d-42f0-9a88-eeca37ead8c1" }
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>6f40518a-213e-4f94-8fba-523a5b4ad7a1</AuthToken> <ProductToken>ac2a320f-c87d-42f0-9a88-eeca37ead8c1</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.