POST api/YoudeYi/getBranchStock
友德医获取门店库存接口
请求的信息
URI参数
None.
Body参数
getBranchStockCondition名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
AppKey |
合作方接入认证标识(海王提供对应商户编码) |
string |
None. |
TimeStamp |
10位时间戳 格式为long,时区为GMT+8。开放平台允许合作方请求最大时间误差为10分钟 |
integer |
None. |
Sign |
签名 |
string |
None. |
Version |
版本号 |
string |
None. |
ProductList |
商品列表 |
Collection of getBranchStockRequestDrugs |
None. |
BranchId |
门店id |
string |
None. |
请求格式
application/json, text/json
Sample:
{ "appKey": "sample string 1", "timeStamp": 2, "sign": "sample string 3", "version": "sample string 4", "productList": [ { "$id": "2", "drugBarcode": "sample string 1", "drugName": "sample string 2" }, { "$ref": "2" }, { "$ref": "2" } ], "branchId": "sample string 5" }
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
getBranchStockResult名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
code |
返回码 |
integer |
None. |
message |
返回值 |
string |
None. |
data |
返回json |
string |
None. |
响应格式
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2", "data": "sample string 3" }