作废/删除合同
POST
/api/v3/contract/invalid
删除权限:操作人员在删除开关设置的部门人员范围内,审批状态不为“审核中”的,可进行删除操作
请求参数
Header 参数
appId
string
应用 appId
默认值:
{{appId}}
timestamp
string
请求时间戳
默认值:
{{timestamp}}
sign
string
请求消息签名值
默认值:
{{sign}}
appKey
string
应用 appKey
默认值:
{{appKey}}
Body 参数application/json
contractId
string
合同id
type
integer
类别
salesId
integer
销售id
示例
{
"contractId": "HT.470267754616832",
"type": 1,
"salesId": 389394161352768,
"qwUserId": ""
}
示例代码
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/invalid' \
--header 'appId;' \
--header 'timestamp;' \
--header 'sign;' \
--header 'appKey: {{appKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"contractId": "HT.470267754616832",
"type": 1,
"salesId": 389394161352768,
"qwUserId": ""
}'
返回响应
🟢200成功
application/json
Body
code
integer
状态码
message
string
状态描述
data
integer
返回数据
示例
{
"code": 0,
"message": "success"
}
🟢200失败
修改于 2023-03-24 06:54:01