POST api/Common/GetStoreDrugStockList
通用接口获取门店商品库存
请求的信息
URI参数
None.
Body参数
StoreDrugStockListCondition| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| AppKey |
合作方接入认证标识(海王提供对应商户编码)--必填 |
string |
None. |
| TimeStamp |
10位时间戳 格式为long,时区为GMT+8。开放平台允许合作方请求最大时间误差为10分钟 --必填 |
integer |
None. |
| Version |
API协议版本,可选值:1.0 --必填 |
string |
None. |
| Sign |
签名值 --必填 |
string |
None. |
| StoreID |
门店ID --必填 |
string |
None. |
| BarCode |
商品编码(海王商品编码) |
string |
None. |
| IntlBarCode |
国际条形码(69码) |
string |
None. |
| StandardCode |
本位码 支持批量用逗号分隔 |
string |
None. |
| PsUpdate |
库存更新日期小时 |
integer |
None. |
请求格式
application/json, text/json
Sample:
{
"appKey": "sample string 1",
"timeStamp": 2,
"version": "sample string 3",
"sign": "sample string 4",
"storeID": "sample string 5",
"barCode": "sample string 6",
"intlBarCode": "sample string 7",
"standardCode": "sample string 8",
"psUpdate": 9
}
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
CustomJsonResultOfPageResultViewOfStoreDrugStockListModel| 名称 | 描述 | 类型 | 其它信息 |
|---|---|---|---|
| Content | PageResultViewOfStoreDrugStockListModel |
None. |
响应格式
application/json, text/json
Sample:
{
"content": {
"$id": "2",
"total": 1,
"result": [
{
"$id": "3",
"storeID": "sample string 1",
"storeNo": "sample string 2",
"barCode": "sample string 3",
"intlBarCode": "sample string 4",
"standardCode": "sample string 5",
"drugName": "sample string 6",
"retailPrice": 7.0,
"stockNumber": 8,
"isStock": true,
"drugType": "sample string 10"
},
{
"$ref": "3"
},
{
"$ref": "3"
}
],
"customStatus": 10,
"customMessage": "sample string 2"
}
}