合同管理-用文件添加合同文档
POST
/v2/document/addbyfile
请求参数
Header 参数
Content-Type
string
必需
示例值:
multipart/form-data;charset=UTF-8
x-qys-open-accesstoken
string
可选
默认值:
{{x-qys-open-accesstoken}}
x-qys-open-timestamp
string
可选
默认值:
{{x-qys-open-timestamp}}
x-qys-open-nonce
string
可选
默认值:
{{x-qys-open-nonce}}
x-qys-open-signature
string
可选
默认值:
{{x-qys-open-signature}}
Body 参数multipart/form-data
contractId
string
必需
bizId
string
可选
tenantName
string
可选
title
string
名称
file
file
必需
合同文件 ,文件大小:<=30MB
fileSuffix
string
必需
示例值:
doc,docx,pdf,jpeg,png,jpg,gif,tiff,html,htm,xls,xlsx
documentSort
integer
文档指定排序
示例值:
1~2147483647