- 平台简介
- 新手指南
- API协议
- API文档
- 合同管理
- 签署服务
- 组织架构
- 印章管理
- 模板管理
- 业务分类
- 个人认证
- 企业认证
- 外部客户
- 授权管理
- 辅助工具
- 信息校验
- 单点登录集成
- JS SDK文档
- 公告
- 小程序插件
- 常见问题
签署服务-签署页面
POST
/v2/contract/pageurl
请求参数
Header 参数
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 参数application/json
contractId
string
合同ID
bizId
string
业务ID
tenantName
string
子公司 名称
pageType
enum<string>
可选
枚举值:
SIGNPRINTDIRECT_SIGN
user
object (UserRequest)
操作人
contact
string
联系方式
contactType
enum<string>
联系类型
枚举值:
MOBILEEMAILEMPLOYEEIDNUMBERBIZID
name
string
姓名
callbackPage
string
跳转页面
hideReturnButton
boolean
是否隐藏返回按钮
hideRecallButton
boolean
是否隐藏撤回按钮
hideRejectButton
boolean
是否隐藏退回按钮
hideEndButton
boolean
是否隐藏结束签署按钮
hideStateButton
boolean
是否隐藏签署状态按钮
allowPasswordSign
boolean
是否允许在签署页面使用密码签署
lang
string
指定页面语言
pageStyle
object
页面风格
themeColor
string
自定义页面主题色
示例
{
"contractId": 2918470566249767000,
"bizId": null,
"user": {
"contact": "15021504325",
"contactType": "MOBILE"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.qiyuesuo.com/v2/contract/pageurl' \
--header 'x-qys-open-accesstoken: {{x-qys-open-accesstoken}}' \
--header 'x-qys-open-timestamp: {{x-qys-open-timestamp}}' \
--header 'x-qys-open-nonce: {{x-qys-open-nonce}}' \
--header 'x-qys-open-signature: {{x-qys-open-signature}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"contractId": 2918470566249766948,
"bizId": null,
"user": {
"contact": "15021504325",
"contactType": "MOBILE"
}
}'
返回响应
🟢200成功
application/json
Body
result
object
必需
pageUrl
string
必需
code
integer
必需
message
string
必需
示例
{
"result": {
"pageUrl": "https://cloudapi.qiyuesuo.me/contract/share/3053174206079459711?openPageToken=60e74568-3618-411f-8a4f-949971b05e5b"
},
"code": 0,
"message": "SUCCESS"
}