{
"sn": "0219",
"subject": "测试回调SaaS空20",
"description": "合同描述",
"expireTime": "2022-12-27 23:59:58",
"endTime":"2022-12-27 00:00:00",
"ordinal": false,
"send": true,
"tenantName": "上海契约锁电子合同签名有限公司",
"creator": {
"contact": "15021504325",
"contactType": "MOBILE"
},
"signatories": [{
"tenantType": "COMPANY",
"tenantName": "上海契约锁电子合同签名有限公司",
"receiver": {
"contact": "15021504325",
"contactType": "MOBILE"
},
"serialNo": 1,
"actions": [{
"type": "COMPANY",
"name": "单位签章"
}]
},
{
"tenantType": "PERSONAL",
"tenantName": "朱明月",
"receiver": {
"contact": "test001",
"contactType": "BIZID"
},
"delaySet":"true",
"serialNo": "4"
}
]
}
curl --location --request POST 'https://openapi.qiyuesuo.com/v2/contract/draft' \
--header 'x-qys-open-accesstoken: {{x-qys-open-accesstoken}}' \
--header 'x-qys-open-timestamp: {{x-qys-open-timestamp}}' \
--header 'x-qys-open-nonce: {{x-qys-open-nonce}}' \
--header 'x-qys-open-signature: {{x-qys-open-signature}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"sn": "0219",
"subject": "测试回调SaaS空20",
"description": "合同描述",
"expireTime": "2022-12-27 23:59:58",
"endTime":"2022-12-27 00:00:00",
"ordinal": false,
"send": true,
"tenantName": "上海契约锁电子合同签名有限公司",
"creator": {
"contact": "15021504325",
"contactType": "MOBILE"
},
"signatories": [{
"tenantType": "COMPANY",
"tenantName": "上海契约锁电子合同签名有限公司",
"receiver": {
"contact": "15021504325",
"contactType": "MOBILE"
},
"serialNo": 1,
"actions": [{
"type": "COMPANY",
"name": "单位签章"
}]
},
{
"tenantType": "PERSONAL",
"tenantName": "朱明月",
"receiver": {
"contact": "test001",
"contactType": "BIZID"
},
"delaySet":"true",
"serialNo": "4"
}
]
}'
{
"result": {
"id": "3053227767890968697",
"subject": "接口发起",
"description": "合同描述",
"sn": "接口发起",
"tenantName": "思晨教育",
"ordinal": true,
"category": {
"id": "3053202902198805409",
"name": "自动化测试-勿动zxs"
},
"creator": {
"name": "韩军超",
"contact": "18663049557",
"contactType": "MOBILE"
},
"status": "DRAFT",
"expireTime": "2023-02-17 15:17:06",
"signatories": [
{
"id": "3053227768113266811",
"tenantType": "COMPANY",
"status": "DRAFT",
"tenantName": "思晨教育",
"receiver": {
"name": "韩军超",
"contact": "18663049557",
"contactType": "MOBILE"
},
"serialNo": 0,
"actions": [
{
"id": "3053227768201347196",
"type": "AUDIT",
"status": "INIT",
"name": "审批动作",
"serialNo": 0,
"autoSign": false,
"operators": [
{
"contact": "18663049557",
"contactType": "MOBILE"
}
]
},
{
"id": "3053227768226513022",
"type": "LP",
"status": "INIT",
"name": "法人签署动作",
"serialNo": 1,
"autoSign": false
},
{
"id": "3053227768289427583",
"type": "COMPANY",
"status": "INIT",
"name": "公章签署动作",
"serialNo": 2,
"autoSign": false,
"operators": [
{
"contact": "18663049557",
"contactType": "MOBILE"
}
]
}
],
"delaySet": false,
"sponsor": true
},
{
"id": "3053227768331370625",
"tenantType": "PERSONAL",
"status": "DRAFT",
"tenantName": "韩军超",
"receiver": {
"contact": "18663049557",
"contactType": "MOBILE"
},
"serialNo": 1,
"delaySet": false,
"sponsor": false
}
]
},
"code": 0,
"message": "SUCCESS"
}