查询单个合同详情接口

该接口用于获取单个合同的详情信息,调用该接口需要有查看客户详情的权限。

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

参数说明:

参数 必须 说明
access_token 授权凭证,参考:access_token接口
contract_id 客户唯一标识,新增客户后获得
username 账号

返回结果:

{
    "code": 0,
    "msg": "ok",
    "data": {
        "id": "czo0OiI1MzkwIjs",
        "contract_title": "开放平台录合同4",
        "contract_no": "zhaoez10011",
        "enterprise_name": "上海惠岚网络科技股份有限公司",
        "contract_year": null,
        "contract_month": "12",
        "delivery_province": null,
        "delivery_city": null,
        "sign_man": "李黄",
        "sign_day": "2020-03-05",
        "service_start_day": "2020-03-05",
        "service_end_day": "2021-03-04",
        "standard_amount": "300.00",
        "discount": "0",
        "amount": "300.00",
        "receive_amount": "0.00",
        "create_time": "1583317560",
        "status": "0",
        "contract_memo": "测试合同3",
        "belong_time": "1583317560",
        "archives_status": "0",
        "void_reason": null,
        "void_status": "0",
        "inputer": "管理员",
        "customer_name": "合同人机",
        "create_truename": "管理员",
        "truename": "管理员",
        "productlist": [
            {
                "id": "czo0OiI4MjIwIjs",
                "num": "1",
                "unit": "台",
                "price": "150",
                "standard_price": "150",
                "standard_amount": "150.00",
                "actual_amount": "150.00",
                "discount": "0.0",
                "product_name": "产品授权部门",
                "service_start": null,
                "service_end": null
            },
            {
                "id": "czo0OiI4MjIxIjs",
                "num": "1",
                "unit": "件",
                "price": "150",
                "standard_price": "150",
                "standard_amount": "150.00",
                "actual_amount": "150.00",
                "discount": "0.0",
                "product_name": "测试产品授权",
                "service_start": null,
                "service_end": null
            }
        ],
        "planlist": [
            {
                "id": "czo0OiI1NTk0Ijs",
                "contract_id": "czo0OiI1MzkwIjs",
                "plan_num": "第一期",
                "scale": "30.00",
                "amount": "90.00",
                "receive_amount": "0.00",
                "status": "0",
                "expect_day": "2020-03-06",
                "create_time": "1583317560",
                "create_user": "管理员",
                "invoice_amount": "0.00",
                "invoice_status": "0",
                "belong_user": "管理员"
            },
            {
                "id": "czo0OiI1NTk1Ijs",
                "contract_id": "czo0OiI1MzkwIjs",
                "plan_num": "第二期",
                "scale": "70.00",
                "amount": "210.00",
                "receive_amount": "0.00",
                "status": "0",
                "expect_day": "2020-03-07",
                "create_time": "1583317560",
                "create_user": "管理员",
                "invoice_amount": "0.00",
                "invoice_status": "0",
                "belong_user": "管理员"
            }
        ]
    }
}

参数说明:

参数 说明
code 出错返回码,为0表示成功,非0表示调用失败
msg 返回码提示语
data 返回的业务数据
∟id 合同唯一标识
∟contract_title 合同标题
∟contract_no 合同编号
∟customer_name 客户名称
∟enterprise_name 所属企业
∟contract_year 合同签订时长,年
∟contract_month 合同签订时长,月
∟delivery_province 交付地址:省
∟delivery_city 交付地址:市
∟sign_man 合同签订人
∟sign_day 合同签订日期
∟service_start_day 服务开始时间
∟service_end_day 服务结束时间
∟standard_amount 合同标准金额
∟discount 折扣
∟amount 合同金额
∟receive_amount 已收金额
∟create_time 创建时间
∟status 状态;-2:未完善合同,-1:已删除,0:正常,1:部分付款,2:已付清
∟contract_memo 补充信息
∟belong_time 归属时间
∟archives_status 归档状态 0未归档1归档审批中2归档成功-1归档拒绝
∟void_reason 合同作废理由
∟void_status 申请作废 0无1申请中
∟inputer 录入人
∟create_truename 创建人
product_list 合同产品
∟id 产品唯一标识
∟num 购买数量
∟unit 产品单位
∟price 产品计费价格
∟standard_price 产品标准单价
∟standard_amount 标准价格
∟actual_amount 实际价格
∟discount 折扣
∟product_name 产品名称
∟service_start 服务开始时间
∟service_end 服务结束时间
planlist 回款计划
∟id 回款计划唯一标识
∟contract_id 合同唯一标识
∟plan_num 付款期次
∟scale 付款比例
∟amount 付款计划金额
∟receive_amount 回款金额
∟status 状态,-1:删除,0:未付,1.部分已付,2:已付清
∟expect_day 预计付款日
∟create_time 创建时间
∟create_user 创建人
∟invoice_amount 发票金额
∟invoice_status 状态,-1:删除,0:未付,1.部分已付,2:已付清
∟belong_user 归属人

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

results matching ""

    No results matching ""