查询机构印章
接口地址 /v1/organizations/{orgId}/seals
请求方式 GET
接口描述 查询机构所有印章
请求参数
参数名称 | 说明 | 请求类型 | 必填 | 类型 |
---|---|---|---|---|
orgId | 机构id | path | true | string |
offset | 分页起始位置 | query | true | integer |
size | 单页数量 | query | true | integer |
请求示例
GET https://openapi.esign.cn/v1/organizations/{orgId}/seals?offset=1&size=10
响应参数
参数名称 | 说明 | 类型 | |
---|---|---|---|
seals | 印章列表 | array | |
alias | 印章别名 | string | |
createDate | 印章创建时间 | int64 | |
defaultFlag | 默认印章标识 | boolean | |
fileKey | 印章fileKey | string | |
height | 印章高度, 单位px | int32 | |
width | 印章宽度, 单位px | int32 | |
sealId | 印章id | string | |
sealType | 印章类型,1-机构模板章,2-个人模板章,3-自定义印章,4-手绘章 | int32 | |
url | 印章下载地址, 有效时间1小时 | string | |
sealBizType | 印章业务类型,CANCELLATION-作废章,COMMON-其它 | string | |
total | 查询总数 | int64 |
响应示例
{
"code": 0,
"message": "成功",
"data": {
"total": 2,
"seals": [
{
"sealId": "ef954a53-bd2f-4c3b-9c7f-aab1c32f08ae",
"fileKey": "$15508a56-f40b-4df1-80be-d583a44a2438$2965451137",
"width": 50,
"height": 100,
"alias": "111",
"sealType": 1,
"defaultFlag": true,
"url": "https://esignoss.oss-cn-hangzhou.aliyuncs.com/seal-service/295ed93a-589a-4052-aaaf-651c69eab3c6/e0c9e41f-35ec-4833-972c-74cbc36b68fb-openseal.png?Expires=1561475270&OSSAccessKeyId=LTAIdvHfiVrzDKbE&Signature=h%2BiPd/FdXXLQJBZkBfOzWpS%2BtBk%3D",
"createDate": 1556161219000,
"sealBizType": "COMMON"
},
{
"sealId": "7bd90952-e6f1-4cef-98ff-f0365f7431bc",
"fileKey": "$0276e34e-6e5e-41de-9c52-683b6b4171d1$1057445965",
"width": 50,
"height": 100,
"alias": "企业星型印章",
"sealType": 1,
"defaultFlag": false,
"url": "https://esignoss.oss-cn-hangzhou.aliyuncs.com/seal-service/21a75883-37e8-4ba6-a281-32bd010eca1a/144fee77-63df-42f8-93c6-32bd27624dbe-openseal.png?Expires=1561475270&OSSAccessKeyId=LTAIdvHfiVrzDKbE&Signature=rGr/ZsB8Eo/Z9idkm51YQjKCe%2Bw%3D",
"createDate": 1561469889000,
"sealBizType": "COMMON"
}
]
}
}