查询费用明细接口
该接口用于查询指定社区的费用明细历史记录,包括费用详情、账户明细和折扣信息。
http://{ip}:{port}/app/fee.queryFeeDetail (Java110Cmd服务编码)
GET
| 参数名称 | 必填 | 类型 | 描述 | 
|---|---|---|---|
| Authorization | 是 | String | 用户认证token | 
| app-id | 是 | String | 应用ID | 
| transaction-id | 是 | String | 请求流水号 | 
| sign | 是 | String | 签名 | 
| req-time | 是 | String | 请求时间(YYYYMMDDhhmmss) | 
| 参数名称 | 必填 | 类型 | 描述 | 示例 | 
|---|---|---|---|---|
| communityId | 是 | String | 社区ID | "123456789" | 
| startTime | 否 | String | 开始时间(YYYY-MM-DD) | "2023-01-01" | 
| endTime | 否 | String | 结束时间(YYYY-MM-DD) | "2023-12-31" | 
| row | 否 | Integer | 每页记录数 | 10 | 
| page | 否 | Integer | 当前页码 | 1 | 
| 参数名称 | 类型 | 描述 | 
|---|---|---|
| code | String | 返回码(0表示成功) | 
| msg | String | 返回信息 | 
| data | Object | 返回数据 | 
| 参数名称 | 类型 | 描述 | 
|---|---|---|
| total | Integer | 总记录数 | 
| records | Integer | 总页数 | 
| feeDetails | Array | 费用明细列表 | 
| 参数名称 | 类型 | 描述 | 
|---|---|---|
| detailId | String | 明细ID | 
| state | String | 状态(1100:已退费,1200:退费失败,1300:退费单) | 
| cycles | String | 周期 | 
| receivableAmount | String | 应收金额 | 
| receivedAmount | String | 实收金额 | 
| createTime | String | 创建时间 | 
| feeAccountDetailDtoList | Array | 账户明细列表 | 
| payFeeDetailDiscountDtoList | Array | 折扣信息列表 | 
http://{ip}:{port}/app/fee.queryFeeDetail?communityId=123123&page=1&row=10
{
  "code": "0",
  "msg": "成功",
  "data": {
    "total": 5,
    "records": 1,
    "feeDetails": [
      {
        "detailId": "1001",
        "state": "1100",
        "cycles": "2023-01",
        "receivableAmount": "100.00",
        "receivedAmount": "90.00",
        "createTime": "2023-01-15 10:30:45",
        "feeAccountDetailDtoList": [
          {
            "accountId": "ACC001",
            "amount": "90.00"
          }
        ],
        "payFeeDetailDiscountDtoList": [
          {
            "discountId": "D001",
            "discountAmount": "10.00"
          }
        ]
      }
    ]
  }
}
参数处理:
数据查询:
数据转换:
分页处理:
| 状态码 | 描述 | 
|---|---|
| 0 | 成功 | 
| 其他 | 失败,具体错误信息见msg字段 |