合同作废接口

该接口用于作废单个合同,调用该接口需要有合同作废的权限。

请求方式:GETHTTPS
请求地址:/open/contract/contract_void?access_token=asdad154ad5545ad5d445a4d56a

请求包体:

{
    "username": "zhangsan",
    "contract_id":"aTozOTYwMDs",
    "void_reason": "已失效"
}

参数说明:

参数 必须 说明
access_token 授权凭证,参考:access_token接口
username 账号
contract_id 合同唯一标识,新增合同后获得
void_reason 作废理由

返回结果:

{
    "code": 0,
    "msg": "ok"
}

参数说明:

参数 说明
code 出错返回码,为0表示成功,非0表示调用失败
msg 返回码提示语

关于惠岚|用户协议|帮助中心© 2012- 2020 Huilan Inc. All Rights Reserved

results matching ""

    No results matching ""