POST api/Common/GetDrugList
通用接口获取门店商品信息
请求的信息
URI参数
None.
Body参数
DrugListCondition名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
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. |
请求格式
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" }
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
CustomJsonResultOfPageResultViewOfDrugListModel名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
Content | PageResultViewOfDrugListModel |
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", "drugShort": "sample string 7", "drugType": "sample string 8", "retailPrice": 9.0, "memberPrice": 10.0, "spec": "sample string 11", "unit": "sample string 12", "dismantlingUnit": "sample string 13", "dismantlingPrice": 14.0, "dismantlingNumber": "sample string 15", "approvalNumber": "sample string 16", "placeOrigin": "sample string 17", "dosageForm": "sample string 18", "manufacturer": "sample string 19", "updateDate": "sample string 20", "updateTime": "sample string 21" }, { "$ref": "3" }, { "$ref": "3" } ], "customStatus": 10, "customMessage": "sample string 2" } }