查询个人印章
接口地址 /v1/accounts/{accountId}/seals
请求方式 GET
接口描述 查询个人所有印章
请求参数
参数名称 | 说明 | 请求类型 | 必填 | 类型 |
---|---|---|---|---|
accountId | 用户id | path | true | string |
offset | 分页起始位置 | query | true | integer |
size | 单页数量 | query | true | integer |
请求示例
GET https://openapi.esign.cn/v1/accounts/{accountId}/seals?offset=1&size=10
响应参数
参数名称 | 说明 | 类型 | |
---|---|---|---|
seals | 印章列表 | array | |
alias | 印章别名 | string | |
createDate | 印章创建时间 | int64 | |
defaultFlag | 默认印章标识 | boolean | |
fileKey | 印章fileKey | string | |
height | 印章高度 | int32 | |
width | 印章宽度 | int32 | |
sealId | 印章id | string | |
sealType | 印章类型,1-机构模板章,2-个人模板章,3-自定义印章,4-手绘章 | int32 | |
url | 印章下载地址, 有效时间1小时 | string | |
sealBizType | 印章业务类型,CANCELLATION-作废章,COMMON-其它 | string | |
total | 查询总数 | int64 |
响应示例
{
"code": 0,
"message": "成功",
"data": {
"total": 3,
"seals": [
{
"sealId": "bcd7ffd9-5caf-4342-bd1c-02257229ccd5",
"fileKey": "$fbd1d433-9f8f-4439-b184-7eb75861b31f$1759125409",
"width": 100,
"height": 100,
"alias": "红色四方形印章",
"sealType": 2,
"defaultFlag": true,
"url": "https://esignoss.oss-cn-hangzhou.aliyuncs.com/seal-service/18bcc4c7-911a-44c1-9703-75c10aee39ab/aa790124-7c51-4a7a-9068-11c2e0166bd9-openseal.png?Expires=1561475135&OSSAccessKeyId=LTAIdvHfiVrzDKbE&Signature=uEozoFGXs25bMsJcdG%2BGd6TBC%2Bw%3D",
"createDate": 1556161219000,
"sealBizType": "COMMON"
},
{
"sealId": "c52a2332-542e-43b3-8deb-b4e641603792",
"fileKey": "$fbd1d433-9f8f-4439-b184-7eb75861b31f$1759125409",
"width": 100,
"height": 100,
"alias": "图片印章",
"sealType": 3,
"defaultFlag": false,
"url": "https://esignoss.oss-cn-hangzhou.aliyuncs.com/seal-service/18bcc4c7-911a-44c1-9703-75c10aee39ab/aa790124-7c51-4a7a-9068-11c2e0166bd9-openseal.png?Expires=1561475135&OSSAccessKeyId=LTAIdvHfiVrzDKbE&Signature=uEozoFGXs25bMsJcdG%2BGd6TBC%2Bw%3D",
"createDate": 1556161219000,
"sealBizType": "COMMON"
}
]
}
}