GET api/Product/Stock?token={token}&keyword={keyword}&source={source}
“Stock”的文档。
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
token | “token”的文档。 |
Define this parameter in the request URI. |
keyword | “keyword”的文档。 |
Define this parameter in the request URI. |
source | “source”的文档。 |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "status": 1, "success": true, "msg": "sample string 3", "data": [ { "code": "sample string 1", "name": "sample string 2", "price": 3.0, "stock": 4 }, { "code": "sample string 1", "name": "sample string 2", "price": 3.0, "stock": 4 }, { "code": "sample string 1", "name": "sample string 2", "price": 3.0, "stock": 4 } ] }
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models"> <data> <ProductModels> <code>sample string 1</code> <name>sample string 2</name> <price>3</price> <stock>4</stock> </ProductModels> <ProductModels> <code>sample string 1</code> <name>sample string 2</name> <price>3</price> <stock>4</stock> </ProductModels> <ProductModels> <code>sample string 1</code> <name>sample string 2</name> <price>3</price> <stock>4</stock> </ProductModels> </data> <msg>sample string 3</msg> <status>1</status> <success>true</success> </ResultModel>