获取回款单详情
请求方式: POST(HTTPS)
请求地址: https://open.wshoto.com/openapi/crm/saleOrder/receipt/detail
Query参数:
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
access_token | string | 是 | 调用接口凭证 |
Body参数:
{
"id": "1531241506074741762"
}
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
id | string | 是 | 回款id |
返回值:
{
"code": 0,
"msg": "请求成功",
"data": {
"receipt_order": {
"id": 1531241506074741762,
"order_id": 1529721542509998082,
"contact_id": 1679721542509998082,
"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_map": {}
},
"receipt_contract": [
{
"material_id": "1679721542509998082",
"material_type": 3
}
]
}
}
参数说明:
参数 | 类型 | 说明 |
---|---|---|
code | int | 返回码 |
msg | string | 对返回码的文本描述内容 |
data | object | |
receipt_order | object | 回款单信息 |
id | long | 回款id |
order_id | long | 订单id |
contact_id | long | 联系人id |
receipt_account | long | 回款金额 |
receipt_time | long | 回款日期(单位:秒) |
pay_people | string | 打款人 |
receipt_type | string | 回款类型描述 |
statements_identify | int | 结单标识 0:否 1:是 |
create_time | long | 创建日期 |
approval_state | int | 审批状态 0.待审批,1.审批通过,2.拒绝,3.取消 |
reject_reason | string | 拒绝原因 |
approval_time | long | 审批时间 |
update_time | long | 修改时间 |
field_map | map | 自定义字段 map |
receipt_contract | object[] | 回款单合同 |
material_id | string | 素材ID |
material_type | int | 素材类型 3 图片 7 文件 |