POST xuner/bi/home/queryHome
主页数据
请求信息
URI 参数
无。
Body 参数
gethomedataRequest| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| mode |
日期类型 today(今天)/yesterday(昨天)/week(本周)/month(本月)/除以上其它值(需自定义起止时间) |
string |
无。 |
| beginDate |
开始日期 格式yyyy-MM-dd |
string |
无。 |
| endDate |
结束日期 格式yyyy-MM-dd |
string |
无。 |
请求格式
application/json, text/json
样例:
{
"mode": "today",
"beginDate": "",
"endDate": ""
}
响应信息
资源描述
主页数据
gXopResponseOfgethomedata| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| data | gethomedata |
无。 |
|
| desc |
错误信息 |
string |
无。 |
| result |
响应代码 1 成功 1011 令牌失效 0或其它 请求错误 |
integer |
无。 |
响应格式
application/json, text/json
样例:
{
"data": {
"grossProfit": 0.0,
"amount": 0.0,
"standardAmount": 0.0,
"orderNum": 0,
"num": 0,
"lastGrossProfit": 0.0,
"lastAmount": 0.0,
"lastStandardAmount": 0.0,
"lastOrderNum": 0,
"lastNum": 0,
"yearGrossProfit": 0.0,
"yearAmount": 0.0,
"yearStandardAmount": 0.0,
"yearOrderNum": 0,
"yearNum": 0,
"shoppingCode": "",
"shoppingName": "",
"shoppingStoreCode": "",
"shoppingStoreName": "",
"shoppingAmount": 0.0,
"shoppingStandardAmount": 0.0,
"shoppingOrderNum": 0,
"shoppingNum": 0,
"storeCode": "",
"storeName": "",
"storeAmount": 0.0,
"storeStandardAmount": 0.0,
"storeOrderNum": 0,
"storeNum": 0,
"productCode": "",
"productName": "",
"productAmount": 0.0,
"productStandardAmount": 0.0,
"productOrderNum": 0,
"productNum": 0,
"areaCode": "",
"areaName": "",
"areaAmount": 0.0,
"areaStandardAmount": 0.0,
"areaOrderNum": 0,
"areaNum": 0,
"vipCode": "",
"vipName": "",
"vipNewNum": 0,
"vipAmount": 0.0,
"vipStandardAmount": 0.0,
"vipOrderNum": 0,
"vipNum": 0,
"vipLastAmount": 0.0,
"vipLastStandardAmount": 0.0,
"vipLastOrderNum": 0,
"vipLastNum": 0,
"vipYearAmount": 0.0,
"vipYearStandardAmount": 0.0,
"vipYearOrderNum": 0,
"vipYearNum": 0,
"salejh": 0.0,
"ispowercost": 0,
"ispoweroldcode": 0,
"ispowervd": 0,
"ispowercopingsummary": 0,
"ispowerreceivablesummary": 0,
"ispowercashbank": 0,
"ispowersalecost": 0,
"ispowercustomerwarning": 0,
"ispowerproductwarning": 0,
"ispowerproduct": 0,
"ispowerpurchase": 0,
"ispowerprocurementsummary": 0,
"ispowerwholesalesummary": 0
},
"desc": "",
"result": 0
}