查询模板列表

GET /esignglobal/v1/templates/templateList

接口描述

查询已创建的合同模板列表

请求参数

参数名称

类型

是否必填

说明

pageNum

int

false

查询页码(默认值1)

pageSize

int

false

每页显示的梳理,最大值:20(默认值20)

请求示例

GET  https:// … …/esignglobal/v1/templates/templateList?pageNum =1&pageSize =2

响应参数

参数名称

类型

说明

total 

int

查询结果中模板的总数量

templateList

array

合同模板列表

 

templateName

string

合同模板名称

 

templateId

string

合同模板ID

 

templateType

int

合同模板类型:0-PDF,1-WORD

 

createTime

string

合同模板创建时间(Unix时间戳格式,单位:毫秒)

 

updateTime

string

合同模板更新时间(Unix时间戳格式,单位:毫秒)

 

templateStatus

string

合同模板状态:0-未启用、1-启用

 

owner

string

合同模板拥有者

响应示例

{
    "code": "0",
    "data ": {
        "templateList": [
            {
                "createTime": 1693974363460,
                "owner": "San Zhang",
                "tags": [],
                "templateId": "a05dbfd0-9219-463e-99cc-b308a746def2",
                "templateName": "12312312",
                "templateStatus": 0,
                "templateType": 1,
                "updateTime": 1693974371817
            },
            {
                "createTime": 1693972868139,
                "owner": "jia feng",
                "tags": [],
                "templateId": "f078bb7b-12f2-4705-886e-1f03379fa367",
                "templateName": "测试 ",
                "templateStatus": 1,
                "templateType": 1,
                "updateTime": 1693974321244
            }
        ],
        "total ": 5
    },
    "message": "success"
}

 

接口描述
请求参数
请求示例
响应参数
响应示例