跳到主要内容

上传文件

1. 接口描述

接口请求域名: file.ess.tencent.cn 。

此接口(UploadFiles)文件上传。

适用场景:用于合同,印章的文件上传。文件上传以后, 如果是PDF格式文件可配合用PDF文件创建签署流程接口进行合同流程的发起 如果是其他类型可以配合创建文件转换任务接口转换成PDF文件

注:

  1. 图片类型(png/jpg/jpeg)限制大小为5M以下, PDF/word/excel等其他格式限制大小为60M以下
  2. 调用此接口时需要设置单独的Domain请求域名,联调开发环境为: file.test.ess.tencent.cn,正式环境需要设置为:file.ess.tencent.cn,代码示例
HttpProfile httpProfile = new HttpProfile();
httpProfile.setEndpoint("file.test.ess.tencent.cn");
相关视频指引
1. 上传用于合同发起的PDF文件代码编写示例

默认接口请求频率限制:300次/秒。

推荐使用 API Explorer
点击调试
API Explorer 提供了在线调用、签名验证、SDK 代码生成和快速检索接口等能力。您可查看每次调用的请求内容和返回结果以及自动生成 SDK 调用示例。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见 公共请求参数

参数名称必选类型描述
ActionString公共参数,本接口取值:UploadFiles。
VersionString公共参数,本接口取值:2020-11-11。
RegionString公共参数,此参数为可选参数。
BusinessTypeString文件对应业务类型,可以选择的类型如下
  • TEMPLATE : 此上传的文件用户生成合同模板,文件类型支持.pdf/.doc/.docx/.html格式,如果非pdf文件需要通过创建文件转换任务转换后才能使用
  • DOCUMENT : 此文件用来发起合同流程,文件类型支持.pdf/.doc/.docx/.jpg/.png/.xls.xlsx/.html,如果非pdf文件需要通过创建文件转换任务转换后才能使用
  • SEAL : 此文件用于印章的生成,文件类型支持.jpg/.jpeg/.png

示例值:DOCUMENT
CallerCaller执行本接口操作的员工信息。其中OperatorId为必填字段,即用户的UserId。
注: 在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。
示例值:yDRCLUUgygq2xun5UuO4zjEwg0vjoimj
FileInfos.NArray of UploadFile上传文件内容数组,最多支持上传20个文件。
示例值:FileInfos
FileTypeString文件类型, 默认通过文件内容和文件后缀一起解析得到文件类型,调用接口时可以显示的指定上传文件的类型。
可支持的指定类型如下:
  • pdf
  • doc
  • docx
  • xls
  • xlsx
  • html
  • jpg
  • jpeg
  • png

如:pdf 表示上传的文件 张三入职合同.pdf的文件类型是 pdf
示例值:PDF
CoverRectBoolean此参数仅对上传的PDF文件有效。其主要作用是确定是否将PDF中的灰色矩阵置为白色。
  • true:将灰色矩阵置为白色。
  • false:无需处理,不会将灰色矩阵置为白色(默认)。


注: 该参数仅在关键字定位时,需要去除关键字所在的灰框场景下使用。
示例值:true
CustomIds.NArray of String用户自定义ID数组,与上传文件一一对应

注: 历史遗留问题,已经废弃,调用接口时不用赋值
AgentAgent代理企业和员工的信息。
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。

3. 输出参数

参数名称类型描述
FileIdsArray of String文件资源ID数组,每个文件资源ID为32位字符串。
建议开发者保存此资源ID,后续创建合同或创建合同流程需此资源ID。
示例值:yDRSRUUgygj6rq2wUuO4zjEyBZ2NHiyT
TotalCountInteger上传成功文件数量
示例值:10
RequestIdString唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。

4. 示例

示例1 上传印章

1.上传印章(BusinessType设置为SEAL) 2. 印章的格式为png(FileName为"张三的印章.png", FileBody的为"张三的印章.png"的base64编码 )

输入示例

POST / HTTP/1.1
Host: ess.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: UploadFiles
<公共请求参数>

{
"Caller": {
"OperatorId": "yDxbWUyKQDxg**zjEB8mxCcDjAyF"
},
"BusinessType": "SEAL",
"FileInfos": [
{
"FileBody": "iVBORw0KGgoAAAANSUhEUgAAATsAAALGCAYAAAA6ODadAAAgAElEQVR4Xu3dbah1W1nG8dtPEZRooMeQMjFQijIzkDDLYxREWvaiHxLDwl4ooqKoiEKFoqSCiiwqogzrg1pWalAUvSjhB8s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IiEE+A7OJXAAAEMgiQXUbPUiIQT4Ds4lcAAAQyCJBdRs9SIhBPgOziVwAABDIIkF1Gz1IiEE+A7OJXAAAEMgiQXUbPUiIQT4Ds4lcAAAQyCJBdRs9SIhBPgOziVwAABDIIkF1Gz1IiEE+A7OJXAAAEMgiQXUbPUiIQT4Ds4lcAAAQyCJBdRs9SIhBPgOziVwAABDIIkF1Gz1IiEE+A7OJXAAAEMgiQXUbPUiIQT4Ds4lcAAAQyCJBdRs9SIhBPgOziVwAABDIIkF1Gz1IiEE+A7OJXAAAEMgiQXUbPUiIQT4Ds4lcAAAQyCJBdRs9SIhBP4P8Ax0bs5eQ7HmoAAAAASUVORK5CYII=",
"FileName": "张三的印章.png"
}
]
}

输出示例

{
"Response": {
"FileIds": [
"yDRSRUUgy**UuO4zjE1vLuGdWjL"
],
"TotalCount": 1,
"RequestId": "4fecdxxxxxx6bdbb7e5"
}
}

示例2 上传PDF合同文件

1.上传文件用户合同流程发起(BusinessType设置为DOCUMENT) 2.文件的类型为pdf(FileType指定为pdf) 3.文件的内容为pdf的内容(FileName为"张三的入职合同.pdf", FileBody的为"张三的入职合同.pdf"的base64编码 )

输入示例

POST / HTTP/1.1
Host: ess.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: UploadFiles
<公共请求参数>

{
"FileType": "pdf",
"Caller": {
"OperatorId": "yDxbWUyKQDxg**zjEB8mxCcDjAyF"
},
"FileInfos": [
{
"FileBody": "UcbsQ4Ds+nA+4hSyO4K6M4clQHbDVtM8GNk1I3SDlQiQ3UptXs1Cdut2K9kOAmS3A9okl5DdJEUZsw8BsuvD+YhTyO4I6s4clgDZDVtN82Bk14zQDVYiQHYrtelrduu2KVkzAbJrRjjsDTzZDVuNwY4gQHZHUO9zJtn14eyUSQiQ3SRF7RiT7HZAc8m6BMhu3W7Jbt1uJdtBgOx2QJvkErKbpChj9iFAdn04H3EK2R1B3ZnDEiC7YatpHozsmhG6wUoEyG6lNq9mIbt1u5VsBwGy2wFtkkv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u6+qtj+n6IVABAGyW7fm7antF0/Eu7+qHrtufMkQuEqA7NbdiE+uqn86Ee8dVfWYdeNLhgDZJe3A+06E/aOqekYSDFmzCXiyW7v//6yqjz8RUf9r9y/dhxGw7Guvwxuq6vNORHx6Vf3J2gikQ+ADBMhu7U343ar6ErJbu2TpLiNAdpdxmvVdP11V33Zi+B+rqu+ZNZy5EbgOAbK7Dq353vstVfWyE2O/vqqeOV8sEyNwfQJkd31mM12xfU1u+67rR3u9u6oeMVMgsyKwlwDZ7SU3z3WnfvxkS/G4qvrHeeKYFIF9BMhuH7eZrnpzVT35xMA+126mNs26mwDZ7UY3zYU+/WSaqgx6mwTI7jbpjnHv76qqHz8xyk9V1XeMMaopELg9AmR3e2xHufP23dbXnhjGNylGacoct0qA7G4V7xA3374B8fYTk/xXVT10iEkNgcAtEiC7W4Q70K3/p6o+5sQ8j6qqfx1oXqMgcOMEyO7GkQ55w9+rqi8+MZnvyA5Zm6FukgDZ3STN",
"FileName": "张三的入职合同.pdf"
}
],
"BusinessType": "DOCUMENT"
}

输出示例

{
"Response": {
"FileIds": [
"yDRSRUUgygj6rq7wUuO4zjECxndqQApl"
],
"RequestId": "f56f474xxxxxx72d6312bf",
"TotalCount": 1
}
}

示例3 上传Word合同文件(后序需要转换)

1.上传文件用户合同流程发起(BusinessType设置为DOCUMENT) 2.文件的类型为word(FileType指定为docx) 3.文件的内容为word的内容(FileName为"张三的入职合同.docx", FileBody的为"张三的入职合同.docx"的base64编码 ) 4.后序需要调用创建文件转换任务才能使用

输入示例

POST / HTTP/1.1
Host: ess.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: UploadFiles
<公共请求参数>

{
"FileType": "docx",
"Caller": {
"OperatorId": "yDxbWUyKQDxg**zjEB8mxCcDjAyF"
},
"FileInfos": [
{
"FileBody": "DZNSMc9gae7IatxmBHECC7I6j3OZPs+nB2yiQEyG6SonaMSXY7oLlkXQJkt263ZLdut5LtIEB2O6BNcgnZTVKUMfsQILs+nI84heyOo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Hqtb3n3V2nchgCt0yA7G4Z8KC3P/dk52ftBi3OWPsJkN1+djNfSXYzt2f2XQTIbhe26S8iu+krFOC6BMjuusTmf/+5Tz7ZEr68ql4wf1QJEHiQANnlbcP2e7Hb78eeer3pzJ9dzKMm8fQEyG76Cq8d4FlV9Ttnrrqvqp507Tu7AIGBCZDdwOXc0mjbh3NuvyVx6vV3VfWEWzrfbRE4hADZHYL",
"FileName": "张三的入职合同.docx"
}
],
"BusinessType": "DOCUMENT"
}

输出示例

{
"Response": {
"FileIds": [
"yDRSRUUgygj6rqizUuO4zjExzqqRar1F"
],
"RequestId": "f56f474xxxxxx72d6312bf",
"TotalCount": 1
}
}

5. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见 公共错误码

错误码描述
AuthFailureCAM签名/鉴权错误。
FailedOperation操作失败。
InternalError.Encryption加密失败。
InvalidParameter.SensitiveFileContent上传的文件包含敏感(不合规)的内容,请确认。
InvalidParameterValue参数取值错误。
LimitExceeded超过配额限制。
OperationDenied操作被拒绝。
ResourceNotFound资源不存在。
UnauthorizedOperation.NoPermissionFeature请升级到对应版本后即可使用该接口。
更多开发者交流反馈
购买咨询
微信客服
4006-808-062
4006-808-062