获取回款单详情
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/crm/receipt/detail
Query参数:
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 调用接口凭证 |
Body参数:
{
"id": "1531241506074741762"
}
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
id | string | 是 | 回款id |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"receipt_order": {
"id": 1531241506074741762,
"corp_id": "wpvvCXcAAAsQgTf6tGxZNXWs0AjheY6Q",
"order_id": 1529721542509998082,
"customer_id": "wmvvCXcAAA-Szs4aldpROsiAM9kLBO9Q",
"receipt_account": 1,
"receipt_time": 1653911398,
"pay_people": "2222",
"receipt_type": "进度款额",
"statements_identify": 0,
"create_time": 1653911398,
"approval_state": 1,
"reject_reason":"",
"approval_time": null,
"update_time": null,
"field_json": null,
"field_map": {}
},
"receipt_contract": [
{
"file_url": "https://cos-test-1302358358.file.myqcloud.com/app/wpDkH9EAAAU313n90ANS71ehjCBAfH3A/2022/04/da29a83a-59f5-4c17-a2a5-c47f801eb5c6.png",
"file_name": null,
"file_format": null,
"file_size": null,
"image_base_url": null,
"image_base": null,
"cos_url": null,
"type": null,
"corp_id": "wpvvCXcAAAsQgTf6tGxZNXWs0AjheY6Q"
}
]
}
}
参数说明:
参数 | 类型 | 说明 |
---|---|---|
code | int | 返回码 |
msg | string | 对返回码的文本描述内容 |
data | object | |
receipt_order | object | 回款单信息 |
id | long | 回款id |
corp_id | string | 租户id |
order_id | long | 订单id |
customer_id | string | 客户id |
receipt_account | long | 回款金额 |
receipt_time | long | 回款日期 |
pay_people | string | 打款人 |
receipt_type | string | 回款类型描述 |
statements_identify | int | 结单标识 0:否 1:是 |
create_time | long | 创建日期 |
approval_state | int | 审批状态 |
reject_reason | string | 拒绝原因 |
approval_time | long | 审批时间 |
update_time | long | 修改时间 |
field_json | string | 扩展字段 |
field_map | map | 自定义字段 map |
receipt_contract | object | 回款单合同 |
file_url | string | 图片地址 |
file_name | string | 图片名称 |
file_format | string | 文件格式 |
file_size | string | 文件大小 |
cos_url | string | cos地址 |