查詢模板列表

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"
}

 

接口描述
請求參數
請求示例
響應參數
響應示例