POST api/SimpleVendingMachine/MerchantDevice
查询商户装置详情
请求的信息
URI参数
None.
Body参数
入参模型
MerchantDeviceInfo名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
branchNo |
店号 |
string |
None. |
branchName |
店名 |
string |
None. |
deviceCode |
装置编码 |
string |
None. |
deviceName |
装置名称 |
string |
None. |
appKey |
合作方接入认证标识(海王提供对应商户编码)--必填 |
string |
None. |
timeStamp |
10位时间戳 格式为long,时区为GMT+8。开放平台允许合作方请求最大时间误差为10分钟 |
integer |
None. |
version |
API协议版本,可选值:1.0 |
string |
None. |
sign |
签名值 --必填 |
string |
None. |
请求格式
application/json, text/json
Sample:
{ "branchNo": "sample string 1", "branchName": "sample string 2", "deviceCode": "sample string 3", "deviceName": "sample string 4", "appKey": "sample string 5", "timeStamp": 6, "version": "sample string 7", "sign": "sample string 8" }
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
CustomJsonResultOfMerchantDeviceResult名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
Content | MerchantDeviceResult |
None. |
响应格式
application/json, text/json
Sample:
{ "content": { "$id": "2", "list": [ { "$id": "3", "branchNo": "sample string 1", "branchName": "sample string 2", "deviceCode": "sample string 3", "deviceName": "sample string 4", "address": "sample string 5" }, { "$ref": "3" }, { "$ref": "3" } ], "customStatus": 10, "customMessage": "sample string 1" } }