简要描述:
版本号 |
制定人 |
制定日期 |
修订日期 |
1.0.0 |
kevin |
2022-02-23 |
|
请求URL:
请求方式:
请求头:
参数名 |
是否必须 |
类型 |
说明 |
token |
是 |
string |
授权凭证 |
请求参数:
参数名 |
是否必须 |
类型 |
说明 |
contract_id |
是 |
string |
档案id |
sub_type |
是 |
string |
档案类型【1=提交,2=保存】 |
get_type |
是 |
string |
固定值 edit,返回标签和归属者列表 |
返回示例:
正确时返回:
{
"status": 200,
"msg": "成功",
"data": {
"info": {
"contract_id": 32,
"contract_num": "21072320275248924541",
"sub_type": 1,
"uid": 8,
"add_uid": 15,
"belong_uid": 15,
"label_name": "服务",
"money_flow": "1",
"contract_name": "收款1000",
"contract_price": "1000.00",
"operator_information_name": "深圳市天意科技有限公司",
"operator_information_phone": "13123690000",
"contacts_name": "深圳市唯一科技有限公司",
"contacts_phone": "13123690001",
"remark": "",
"audit_uid": 0,
"first_party_info_json": "[26]",
"second_party_info_json": "[27]",
"status": 5,
"audit_remark": "",
"created_at": "2021-07-23 20:27:52",
"word_file": "contract/8/2021/07/23/1627043243-yht20210709.doc",
"word_file_pdf": "",
"contacts_deal_type": "1,2",
"expiration_reminder": "",
"no_push_expiration_reminder": 1,
"add_user": {
"uid": 15,
"username": "kevin149239",
"nickname": "kevin1"
},
"belong_user": {
"uid": 15,
"username": "kevin149239",
"nickname": "kevin1"
},
"plan_data": [
{
"plan_id": 20,
"contract_id": 32,
"title": "甲方付款",
"type": "2",
"price": "500.00",
"date": "2021-07-23",
"status": 2,
"created_at": "2021-07-23 20:28:31",
"updated_at": null,
"is_push": 1,
"next_push_time": null,
"performing_party": 1,
"first_party_info_json": "[26]",
"second_party_info_json": "[27]",
"is_read": 2
},
{
"plan_id": 21,
"contract_id": 32,
"title": "乙方交货",
"type": "3",
"price": "0.00",
"date": "2021-07-23",
"status": 2,
"created_at": "2021-07-23 20:28:54",
"updated_at": null,
"is_push": 1,
"next_push_time": null,
"performing_party": 2,
"first_party_info_json": "[27]",
"second_party_info_json": "[26]",
"is_read": 2
}
]
},
"label": [
{
"label_id": 1,
"label_name": "服务",
"created_at": "2021-02-25 17:19:57",
"updated_at": "2021-02-25 17:21:13"
},
{
"label_id": 2,
"label_name": "交货",
"created_at": "2021-02-25 17:21:33",
"updated_at": "2021-02-25 17:21:33"
},
{
"label_id": 3,
"label_name": "应收",
"created_at": "2021-02-25 17:21:38",
"updated_at": "2021-02-25 17:21:38"
},
{
"label_id": 4,
"label_name": "应付",
"created_at": "2021-02-25 17:21:46",
"updated_at": "2021-02-25 17:21:46"
},
{
"label_id": 5,
"label_name": "分期",
"created_at": "2021-02-25 17:21:51",
"updated_at": "2021-02-25 17:21:51"
},
{
"label_id": 6,
"label_name": "分批",
"created_at": "2021-02-25 17:22:04",
"updated_at": "2021-02-25 17:22:04"
},
{
"label_id": 7,
"label_name": "变更",
"created_at": "2021-02-25 17:24:54",
"updated_at": "2021-02-25 17:24:54"
},
{
"label_id": 8,
"label_name": "劳动合同",
"created_at": "2021-09-29 09:46:14",
"updated_at": "2021-09-29 09:46:14"
}
],
"belong_user_list": [
{
"uid": 8,
"username": "131****00015921",
"nickname": "131****0001"
},
{
"uid": 15,
"username": "kevin149239",
"nickname": "kevin1"
},
{
"uid": 16,
"username": "kevin179581",
"nickname": "kevin12"
},
{
"uid": 18,
"username": "测试69534",
"nickname": "测试1"
},
{
"uid": 24,
"username": "123453300",
"nickname": "1234"
}
]
},
"other": []
}
错误时返回:
{
"status": 0,
"msg": "key错误"
}
返回参数说明:
备注:
文档更新时间: 2022-04-26 11:58 作者:admin