- 独立部署版
- V1.0-(2022.8.18)
- v1.1-(2023.6.20)
- v1.2-(2023.10.20)
- v1.3-(2023.11.20)
- 低代码
- v1.4
- v1.5
- v1.6
- v1.8
- v1.9
- v2.0
合同导入接口
开发中
POST
/ent/client/contract/import
责任人:未设置
请求参数
Header 参数
Authorization
string
必需
默认值:
Bearer {{ENT_TOKEN}}
X-Requested-With
string
必需
默认值:
XMLHttpRequest
Body 参数application/json
types
integer
必需
data
array [object {1}]
必需
name
string
可选
示例
{
"types": 0,
"data": [
{
"name": "string"
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/ent/client/contract/import' \
--header 'Authorization;' \
--header 'X-Requested-With;' \
--header 'Content-Type: application/json' \
--data-raw '{
"types": 0,
"data": [
{
"name": "string"
}
]
}'
返回响应
🟢200成功
application/json
Body
message
string
必需
status
integer
必需
data
object
必需
list
array [object {21}]
必需
count
integer
必需
tips
integer
必需
示例
{
"message": "string",
"status": 0,
"data": {
"list": [
{
"id": 0,
"uid": 0,
"creator": {},
"customer_no": "string",
"created_at": "string",
"updated_at": "string",
"customer_name": "string",
"customer_way": [
"string"
],
"customer_label": [
{
"id": 0,
"name": "string"
}
],
"customer_status": 0,
"liaison_tel": [
"string"
],
"un_followed_days": 0,
"amount_recorded": "string",
"invoiced_amount": "string",
"amount_expend": "string",
"contract_num": 0,
"invoice_num": 0,
"attachment_num": 0,
"salesman": {
"id": 0,
"name": "string"
},
"customer_followed": 0,
"last_follow_time": "string"
}
],
"count": 0
},
"tips": 0
}
🟠404记录不存在(示例)
🟢200修改成功(示例)
🟠401参数不正确(示例)
🟢201新建成功(示例)