POST DataCenter/GetDistributionReport
根据查询条件,返回各种分布图信息,需要传递access_token
请求信息
请求URI参数
无
请求数据参数
查询条件
DistributionQueryInfo| 名称 | 说明 | 类型 | 扩展说明 |
|---|---|---|---|
| start_time |
查询开始时间. |
字符串 |
无 |
| end_time |
查询结束时间. |
字符串 |
无 |
| merchant_no |
商户编码,优先查询商户编码和门店编码,只有商户编码和门店编码都为空,查询关键字才生效。 |
字符串 |
无 |
| store_no |
门店编码,优先查询商户编码和门店编码,只有商户编码和门店编码都为空,查询关键字才生效。 |
字符串 |
无 |
| key_word |
查询关键字,商户名称|门店名称,优先查询商户编码和门店编码,只有商户编码和门店编码都为空,查询关键字才生效,关键字为模糊匹配。 |
字符串 |
无 |
请求数据格式
application/json, text/json
例子:
{
"start_time": "sample string 1",
"end_time": "sample string 2",
"merchant_no": "sample string 3",
"store_no": "sample string 4",
"key_word": "sample string 5"
}
响应数据
资源说明
查询结果
ResultInfoOfDistributionResultInfo| 名称 | 说明 | 类型 | 扩展说明 |
|---|---|---|---|
| code | ResultCode |
无 |
|
| msg | 字符串 |
无 |
|
| data | DistributionResultInfo |
无 |
响应数据格式
application/json, text/json
例子:
{
"code": "SUCCESS",
"msg": "sample string 1",
"data": {
"money_distribution_list": [
{
"key": "sample string 1",
"value": "sample string 2"
},
{
"key": "sample string 1",
"value": "sample string 2"
}
],
"order_distribution_list": [
{
"key": "sample string 1",
"value": "sample string 2"
},
{
"key": "sample string 1",
"value": "sample string 2"
}
]
}
}