简要描述:

  • 获取电子合同列表

请求URL:

GET/plugin.shop-esign.frontend.contract.get-list

参数:

参数名 是否必须 类型 说明
page int 页码
pagesize int 默认10条
status int 状态:0待我签署,1我已签署,2、已完成,4、已超时

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "total": 1,
        "per_page": 10,
        "current_page": 1,
        "last_page": 1,
        "next_page_url": null,
        "prev_page_url": null,
        "from": 1,
        "to": 1,
        "data": [
            {
                "id": 1,
                "uniacid": 2,
                "name": "",
                "sign_end_date": "2020-05-26",
                "contract_end_date": "1970-01-01",
                "template_id": 9,
                "uid": 0,
                "account_name": "",
                "status": 0,
                "created_at": "2020-05-26 15:47:01",
                "status_desc": "已发起",
                "has_one_person": null,
                "has_many_role": [
                    {
                        "id": 1,
                        "uid": 0,
                        "contract_id": 1,
                        "name": ""
                    },
                    {
                        "id": 2,
                        "uid": 9,
                        "contract_id": 1,
                        "name": null
                    }
                ]
            }
        ]
    }
}

错误时返回:

  

返回参数说明:

参数名 类型 说明
id int 合同ID
name string 合同名
created_at string 发起时间
sign_end_date string 签署到期日期
account_name string 发起人姓名
status int 状态
status_desc string 状态描述
has_many_role obj 参与人信息

备注:

  • 更多返回错误代码请看首页的错误代码描述