- 登录
- 公司查询接口
- 模板
- 基础数据
- 任务
- 过往合作
- 其他
- 上市公司
- 模板管理
- 基础数据
- 样本及标签
- 标签
- 企业样本筛选查询接口POST
- 校验自定义指标接口POST
- 人社线
保存企业样本信息
开发中
POST
/li-company-inter/saveCompanyInter
/li-company-inter/saveCompanyInter
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
array of:
stockCode
string
必需
stockAbbreviation
string
必需
chineseNameTheCompany
string
必需
companyNatureFlush
string
必需
province
string
必需
city
string
必需
listingSegment
string
必需
initialListingDate
string
必需
industryNewCsrc
string
必需
industryNewCsrcCode0
string
必需
industryNewCsrcName0
string
必需
shenwanIndustry
string
必需
shenwanIndustryCode0
string
必需
shenwanIndustryName0
string
必需
shenwanIndustryCode1
string
必需
shenwanIndustryName1
string
必需
shenwanIndustryCode2
string
必需
shenwanIndustryName2
string
必需
chinaSecuritiesIndustry
string
必需
chinaSecuritiesIndustryCode0
string
必需
chinaSecuritiesIndustryName0
string
必需
chinaSecuritiesIndustryCode1
string
必需
chinaSecuritiesIndustryName1
string
必需
chinaSecuritiesIndustryCode2
string
必需
chinaSecuritiesIndustryName2
string
必需
chinaSecuritiesIndustryCode3
string
必需
chinaSecuritiesIndustryName3
string
必需
nationalEconomicIndustry
string
必需
mainBusiness
string
必需
industryNewCsrcCode1
string
可选
industryNewCsrcName1
string
可选
示例
[
{
"stockCode": "600007.SH",
"stockAbbreviation": "中国国贸",
"chineseNameTheCompany": "中国国际贸易中心股份有限公司",
"companyNatureFlush": "其他",
"province": "北京市",
"city": "朝阳区",
"listingSegment": "主板",
"initialListingDate": "1999-03-12",
"industryNewCsrc": "K",
"industryNewCsrcCode0": "K",
"industryNewCsrcName0": "房地产业",
"shenwanIndustry": "430102",
"shenwanIndustryCode0": "430000",
"shenwanIndustryName0": "房地产",
"shenwanIndustryCode1": "430100",
"shenwanIndustryName1": "房地产开发",
"shenwanIndustryCode2": "430102",
"shenwanIndustryName2": "商业地产",
"chinaSecuritiesIndustry": "60102010",
"chinaSecuritiesIndustryCode0": "60",
"chinaSecuritiesIndustryName0": "房地产",
"chinaSecuritiesIndustryCode1": "6010",
"chinaSecuritiesIndustryName1": "房地产",
"chinaSecuritiesIndustryCode2": "601020",
"chinaSecuritiesIndustryName2": "房地产管理与服务",
"chinaSecuritiesIndustryCode3": "60102010",
"chinaSecuritiesIndustryName3": "房地产管理",
"nationalEconomicIndustry": "",
"mainBusiness": "从事商务服务设施的投资、经营和管理"
},
{
"stockCode": "600016.SH",
"stockAbbreviation": "民生银行",
"chineseNameTheCompany": "中国民生银行股份有限公司",
"companyNatureFlush": "其他",
"province": "北京市",
"city": "西城区",
"listingSegment": "主板",
"initialListingDate": "2000-12-19",
"industryNewCsrc": "J66",
"industryNewCsrcCode0": "J",
"industryNewCsrcName0": "金融业",
"industryNewCsrcCode1": "J66",
"industryNewCsrcName1": "货币金融服务",
"shenwanIndustry": "480301",
"shenwanIndustryCode0": "480000",
"shenwanIndustryName0": "银行",
"shenwanIndustryCode1": "480300",
"shenwanIndustryName1": "股份制银行Ⅱ",
"shenwanIndustryCode2": "480301",
"shenwanIndustryName2": "股份制银行Ⅲ",
"chinaSecuritiesIndustry": "40101010",
"chinaSecuritiesIndustryCode0": "40",
"chinaSecuritiesIndustryName0": "金融",
"chinaSecuritiesIndustryCode1": "4010",
"chinaSecuritiesIndustryName1": "银行",
"chinaSecuritiesIndustryCode2": "401010",
"chinaSecuritiesIndustryName2": "商业银行",
"chinaSecuritiesIndustryCode3": "40101010",
"chinaSecuritiesIndustryName3": "综合性银行",
"nationalEconomicIndustry": "",
"mainBusiness": "从事公司及个人银行业务、资金业务、融资租赁业务、资产管理业务及提供其他相关金融服务。"
}
]
示例代码
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/li-company-inter/saveCompanyInter' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"stockCode": "600007.SH",
"stockAbbreviation": "中国国贸",
"chineseNameTheCompany": "中国国际贸易中心股份有限公司",
"companyNatureFlush": "其他",
"province": "北京市",
"city": "朝阳区",
"listingSegment": "主板",
"initialListingDate": "1999-03-12",
"industryNewCsrc": "K",
"industryNewCsrcCode0": "K",
"industryNewCsrcName0": "房地产业",
"shenwanIndustry": "430102",
"shenwanIndustryCode0": "430000",
"shenwanIndustryName0": "房地产",
"shenwanIndustryCode1": "430100",
"shenwanIndustryName1": "房地产开发",
"shenwanIndustryCode2": "430102",
"shenwanIndustryName2": "商业地产",
"chinaSecuritiesIndustry": "60102010",
"chinaSecuritiesIndustryCode0": "60",
"chinaSecuritiesIndustryName0": "房地产",
"chinaSecuritiesIndustryCode1": "6010",
"chinaSecuritiesIndustryName1": "房地产",
"chinaSecuritiesIndustryCode2": "601020",
"chinaSecuritiesIndustryName2": "房地产管理与服务",
"chinaSecuritiesIndustryCode3": "60102010",
"chinaSecuritiesIndustryName3": "房地产管理",
"nationalEconomicIndustry": "",
"mainBusiness": "从事商务服务设施的投资、经营和管理"
},
{
"stockCode": "600016.SH",
"stockAbbreviation": "民生银行",
"chineseNameTheCompany": "中国民生银行股份有限公司",
"companyNatureFlush": "其他",
"province": "北京市",
"city": "西城区",
"listingSegment": "主板",
"initialListingDate": "2000-12-19",
"industryNewCsrc": "J66",
"industryNewCsrcCode0": "J",
"industryNewCsrcName0": "金融业",
"industryNewCsrcCode1": "J66",
"industryNewCsrcName1": "货币金融服务",
"shenwanIndustry": "480301",
"shenwanIndustryCode0": "480000",
"shenwanIndustryName0": "银行",
"shenwanIndustryCode1": "480300",
"shenwanIndustryName1": "股份制银行Ⅱ",
"shenwanIndustryCode2": "480301",
"shenwanIndustryName2": "股份制银行Ⅲ",
"chinaSecuritiesIndustry": "40101010",
"chinaSecuritiesIndustryCode0": "40",
"chinaSecuritiesIndustryName0": "金融",
"chinaSecuritiesIndustryCode1": "4010",
"chinaSecuritiesIndustryName1": "银行",
"chinaSecuritiesIndustryCode2": "401010",
"chinaSecuritiesIndustryName2": "商业银行",
"chinaSecuritiesIndustryCode3": "40101010",
"chinaSecuritiesIndustryName3": "综合性银行",
"nationalEconomicIndustry": "",
"mainBusiness": "从事公司及个人银行业务、资金业务、融资租赁业务、资产管理业务及提供其他相关金融服务。"
}
]'
返回响应
🟢200成功
application/json
Body
code
string
必需
msg
string
必需
data
array [object {17}]
必需
id
integer
可选
chineseNameTheCompany
string
可选
stockCode
string
可选
stockAbbreviation
string
可选
userNo
string
可选
companyNatureFlush
string
可选
province
string
可选
city
string
可选
listingSegment
string
可选
initialListingDate
string
可选
industryNewCsrc
string
可选
shenwanIndustry
string
可选
chinaSecuritiesIndustry
string
可选
nationalEconomicIndustry
string
可选
mainBusiness
string
可选
companyId
integer
可选
dataYear
string
可选
示例
{
"code": "200",
"msg": "成功!",
"data": null
}
修改于 2023-01-03 10:14:18