- 平台简介
- 新手指南
- API协议
- API文档
- 合同管理
- 签署服务
- 组织架构
- 印章管理
- 模板管理
- 业务分类
- 个人认证
- 企业认证
- 外部客户
- 授权管理
- 辅助工具
- 信息校验
- 单点登录集成
- JS SDK文档
- 公告
- 小程序插件
- 常见问题
合同管理-获取合同列表
GET
/v2/contract/list
请求参数
Query 参数
status
string
可选
selectOffset
integer
可选
selectLimit
integer
可选
tenantName
string
子公司名称
createTimeOrder
string
可选
categoryId
number
业务分类ID
categoryName
string
业务分类名称
publishTimeStart
string
可选
publishTimeEnd
string
可选
signatoryType
string
可选
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}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://openapi.qiyuesuo.com/v2/contract/list' \
--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}}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
result
object
必需
totalCount
string
必需
list
array[object (ContractBeanResponse) {9}]
可选
示例
{ "result": { "list": [ { "id": "3053227767890968697", "subject": "接口发起", "description": "合同描述", "sn": "接口发起", "tenantName": "思晨教育", "ordinal": true, "category": { "id": "3053202902198805409", "name": "自动化测试-勿动zxs" }, "status": "SIGNING", "expireTime": "2023-03-19 00:00:00", "publishTime": "2023-01-18 15:17:08" }, { "id": "3053227669467430994", "subject": "接口发起", "description": "合同描述", "sn": "接口发起", "tenantName": "思晨教育", "ordinal": true, "category": { "id": "3053202902198805409", "name": "自动化测试-勿动zxs" }, "status": "DRAFT", "expireTime": "2023-02-17 15:16:43" }, { "id": "3053227552081445871", "subject": "接口发起", "description": "合同描述", "sn": "接口发起", "tenantName": "思晨教育", "ordinal": true, "category": { "id": "3053202902198805409", "name": "自动化测试-勿动zxs" }, "status": "FORCE_END", "expireTime": "2023-03-19 00:00:00", "publishTime": "2023-01-18 15:16:16" }, { "id": "3053227470749696936", "subject": "接口发起", "description": "合同描述", "sn": "接口发起", "tenantName": "思晨教育", "ordinal": true, "category": { "id": "3053202902198805409", "name": "自动化测试-勿动zxs" }, "status": "FORCE_END", "expireTime": "2023-03-19 00:00:00", "publishTime": "2023-01-18 15:15:57" }, { "id": "3053226614729999114", "subject": "接口发起", "description": "合同描述", "sn": "接口发起", "tenantName": "思晨教育", "ordinal": true, "category": { "id": "3053202902198805409", "name": "自动化测试-勿动zxs" }, "status": "FORCE_END", "expireTime": "2023-03-19 00:00:00", "publishTime": "2023-01-18 15:12:33" }, { "id": "3053226147249652420", "subject": "接口发起", "description": "合同描述", "sn": "接口发起", "tenantName": "思晨教育", "ordinal": true, "category": { "id": "3053202902198805409", "name": "自动化测试-勿动zxs" }, "status": "FORCE_END", "expireTime": "2023-03-19 00:00:00", "publishTime": "2023-01-18 15:10:41" }, { "id": "3053225984628097662", "subject": "接口发起", "description": "合同描述", "sn": "接口发起", "tenantName": "思晨教育", "ordinal": true, "category": { "id": "3053202902198805409", "name": "自动化测试-勿动zxs" }, "status": "FORCE_END", "expireTime": "2023-03-19 00:00:00", "publishTime": "2023-01-18 15:10:03" }, { "id": "3053225547015389715", "subject": "接口发起1674025696230", "description": "合同描述", "sn": "接口发起", "tenantName": "思晨教育", "ordinal": true, "category": { "id": "3052790533433852898", "name": "yyb" }, "status": "RECALLED", "expireTime": "2023-02-17 15:08:17", "publishTime": "2023-01-18 15:08:18" }, { "id": "3053225507760898391", "subject": "接口发起1674025686997", "description": "合同描述", "sn": "接口发起", "tenantName": "思晨教育", "ordinal": true, "category": { "id": "3052790533433852898", "name": "yyb" }, "status": "INVALIDING", "expireTime": "2023-02-17 15:08:15", "publishTime": "2023-01-18 15:08:08" }, { "id": "3053225373341843697", "subject": "接口发起1674025654821", "description": "合同描述", "sn": "接口发起", "tenantName": "思