文件相关接口
更新时间:2023-11-24
委托书下载
接口描述
本接口用于下载委托书
请求结构
Plain Text
1> POST https://tms-api.baidu.com/v1/tms/openapi/materials/loa/download
2> Authorization: authorization string
3> Host: tms-api.baidu.com
4> x-bce-console-rpc-id: e69c8fff-166b-4c82-87c1-7aa3ba309d5c
5> x-bce-date: 2020-04-27T02:43:18Z
6{
7 "name" : "王小虎",
8 "country" : "中国",
9 "address" : "北京北京市海淀区上地十街10号百度大厦三层",
10 "type" : "Person",
11 "applicantId" : "",
12 "withExample" : true,
13 "resourcePackId" : ""
14}
参数名称 | 类型 | 是否必需 | 描述 |
---|---|---|---|
name | string | 是 | 申请人名称 无applicantId时必传 |
country | string | 否 | 国家 默认中国 |
address | string | 是 | 申请人地址 无applicantId时必传 |
type | string | 是 | 主体资质类型 可参考ApplicantType |
idCard | string | 否 | 个人/个体工商户身份证号 个人/个体工商户类型无applicantId时必传 |
applicantId | string | 否 | 申请人ID |
withExample | boolean | 否 | 是否带示例 |
resourcePackId | string | 否 | 资源包ID 创建申请人时必填 |
响应结果
Plain Text
1< Cache-Control: no-cache
2< Content-Length: 0
3< Date: Mon, 27 Apr 2020 11:48:34 GMT
4< Server: BWS
5< x-bce-request-id: de3f0c3e-86f6-43e7-b1bd-35a837f4b84f
6{
7 "loaPdfBase64": "data:application/pdf;base64,..."
8}
参数名称 | 类型 | 描述 |
---|---|---|
loaPdfBase64 | string | 委托书base64文件 |
接口描述
授权书下载
请求结构
Plain Text
1> POST https://tms-api.baidu.com/v1/tms/openapi/materials/authorize/download
2> Authorization: authorization string
3> Host: tms-api.baidu.com
4> x-bce-console-rpc-id: e69c8fff-166b-4c82-87c1-7aa3ba309d5c
5> x-bce-date: 2020-04-27T02:43:18Z
响应结果
Plain Text
1< Cache-Control: no-cache
2< Content-Length: 0
3< Date: Mon, 27 Apr 2020 11:48:34 GMT
4< Server: BWS
5< x-bce-request-id: de3f0c3e-86f6-43e7-b1bd-35a837f4b84f
6{
7 "authorizeZipBase64": "data:application/pdf;base64,..."
8}
参数名称 | 类型 | 描述 |
---|---|---|
authorizeZipBase64 | string | 授权书base64文件 |