cs.fin.query.aging
客户应收账龄(本位币),按 账龄区间汇总。
- 请求路由:
cs.fin.query.aging- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "cs.fin.query.aging",
"args" : {
"customerId" : "CUST10086"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
customerId | String | 否 | 客户 ID |
返回
账龄区间汇总列表(本位币金额)
[
{
"label" : "0-30天",
"minDays" : 0,
"maxDays" : 30,
"amountBase" : 11300.0
},
{
"label" : "31-60天",
"minDays" : 31,
"maxDays" : 60,
"amountBase" : 5200.0
},
{
"label" : "61-90天",
"minDays" : 61,
"maxDays" : 90,
"amountBase" : 0
},
{
"label" : "90天以上",
"minDays" : 91,
"maxDays" : null,
"amountBase" : 1800.0
}
]
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
label | String | 区间标签 |
minDays | Number | 起始账龄天数(含) |
maxDays | Number | 截止账龄天数(含),null 表示无上限 |
amountBase | Number | 区间应收余额(本位币) |