获取合同详情
POST
/api/v3/contract/detail
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
contractId
string
合同ID
示例
{
"contractId": "HT.431339837921536"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v3/contract/detail' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"contractId": "HT.431339837921536"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
id
string
合同id
title
string
合同名称
customerId
number
客户id
salesId
number
员工id
amount
number
合同金额
contractType
string
合同类型
startTime
string
合同开始时间
endTime
string
合同结束时间
signTime
string
合同签约时间
approvalStatus
integer
审批状态
mineSign
string
我方签约人
customerSign
string