- 登录
- 公司查询接口
- 模板
- 基础数据
- 任务
- 过往合作
- 其他
- 上市 公司
- 人社线
保存数据池
开发中
POST
/enterprise/data-pool/insertEnterpriseDataPool
/enterprise/data-pool/insertEnterpriseDataPool
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
subTaskId
integer
必需
enterpriseDataPoolList
array [object {16}]
必需
id
integer
可选
uuid
string
可选
companyCode
string
可选
companyName
string
可选
year
string
可选
dataSource
string
可选
province
string
可选
city
string
可选
companyProperty
string
可选
investmentCountry
string
可选
industryCategories
string
可选
industrySegmentation
string
可选
industryMl
string
可选
industryClass
string
可选
object
null
可选
mapList
null
可选
示例
{
"subTaskId": 7551,
"enterpriseDataPoolList": [
{
"id": 11,
"uuid": "4E5F4687-0502-4FE7-83AE-0C94D3005FE2",
"companyCode": "code20201422420SC",
"companyName": "name2111",
"year": "2020",
"dataSource": "市场调研",
"province": "浙江省",
"city": "嘉兴市",
"companyProperty": "国有企业",
"investmentCountry": "中国大陆&&",
"industryCategories": "其他行业",
"industrySegmentation": "其他行业",
"industryMl": "",
"industryClass": "\r",
"object": null,
"mapList": null
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:9999/api1/enterprise/data-pool/insertEnterpriseDataPool' \
--header 'Content-Type: application/json' \
--data-raw '{
"subTaskId": 7551,
"enterpriseDataPoolList": [
{
"id": 11,
"uuid": "4E5F4687-0502-4FE7-83AE-0C94D3005FE2",
"companyCode": "code20201422420SC",
"companyName": "name2111",
"year": "2020",
"dataSource": "市场调研",
"province": "浙江省",
"city": "嘉兴市",
"companyProperty": "国有企业",
"investmentCountry": "中国大陆&&",
"industryCategories": "其他行业",
"industrySegmentation": "其他行业",
"industryMl": "",
"industryClass": "\r",
"object": null,
"mapList": null
}
]
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
msg
string
必需
data
object
必需
code
string
必需
msg
string
必需
data
null
必需
示例
{
"code": "200",
"msg": "success",
"data": {
"code": "500",
"msg": "数据池中已存在,请刷新页面",
"data": null
}
}
修改于 2023-01-03 10:14:18