- 登录
- 公司查询接口
- 模板
- 基础数据
- 任务
- 过往合作
- 其他
- 上市公司
- 人社线
企业样本筛选查询接口
开发中
POST
/li_enterprise_main_info/query
/li_enterprise_main_info/query
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
dataYear
string
必需
categoryStockMarket
array[string]
必需
stockCode
string
必需
stockAbbreviation
string
必需
chineseNameTheCompany
string
必需
listingSegment
array[string]
必需
listingStatus
array[string]
必需
concept
array[string]
必需
province
array[string]
必需
city
array[string]
必需
companyNatureFlush
array[string]
必需
industryNewCSRC
array[string]
必需
shenwanIndustry
array[string]
必需
chinaSecuritiesIndustry
array[string]
必需
nationalEconomicIndustry
array[string]
必需
tagId
array[string]
必需
indexConditionList
array [object {14}]
必需
indexName
string
必需
tableName
string
必需
fieldName
string
必需
indexType
string
必需
year
string
必需
start
string
可选
end
string
可选
rankType
string
必需
limit
string
必需
compareType
string
可选
compareIndexName
string
可选
compareTableName
string
可选
compareField
string
可选
compareYear
string
可选
示例
{
"dataYear": "2020",
"categoryStockMarket": [
"1",
"2"
],
"stockCode": "999999",
"stockAbbreviation": "99",
"chineseNameTheCompany": "上海",
"listingSegment": [
"1",
"2"
],
"listingStatus": [
"1",
"2"
],
"concept": [
"1",
"2"
],
"province": [
"1",
"2"
],
"city": [
"1",
"2"
],
"companyNatureFlush": [
"1",
"2"
],
"industryNewCSRC": [
"1",
"2"
],
"shenwanIndustry": [
"1",
"2"
],
"chinaSecuritiesIndustry": [
"1",
"2"
],
"nationalEconomicIndustry": [
"1",
"2"
],
"tagId": [
"1",
"2"
],
"indexConditionList": [
{
"indexName": "专科生人数",
"tableName": "li_enterprise_main_info",
"fieldName": "number_junior_college_students",
"indexType": "1",
"year": "2020",
"start": "1000",
"end": "3000"
},
{
"indexName": "高中人数",
"tableName": "li_enterprise_main_info",
"fieldName": "number_high_school_students",
"indexType": "2",
"year": "2020",
"rankType": "2",
"limit": "10"
},
{
"indexName": "其他学历人数",
"tableName": "li_enterprise_main_info",
"fieldName": "number_people_other_qualifications",
"indexType": "4",
"year": "2020",
"rankType": "2",
"limit": "10"
},
{
"indexName": "研究生人数",
"tableName": "li_enterprise_main_info",
"fieldName": "number_postgraduates",
"indexType": "3",
"year": "2020",
"compareType": "1",
"compareIndexName": "研究生人数",
"compareTableName": "li_enterprise_main_info",
"compareField": "number_postgraduates",
"compareYear": "2021"
}
]
}
示例代码
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_enterprise_main_info/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"dataYear": "2020",
"categoryStockMarket": [
"1",
"2"
],
"stockCode": "999999",
"stockAbbreviation": "99",
"chineseNameTheCompany": "上海",
"listingSegment": [
"1",
"2"
],
"listingStatus": [
"1",
"2"
],
"concept": [
"1",
"2"
],
"province": [
"1",
"2"
],
"city": [
"1",
"2"
],
"companyNatureFlush": [
"1",
"2"
],
"industryNewCSRC": [
"1",
"2"
],
"shenwanIndustry": [
"1",
"2"
],
"chinaSecuritiesIndustry": [
"1",
"2"
],
"nationalEconomicIndustry": [
"1",
"2"
],
"tagId": [
"1",
"2"
],
"indexConditionList": [
{
"indexName": "专科生人数",
"tableName":"li_enterprise_main_info",
"fieldName":"number_junior_college_students",
"indexType":"1",
"year":"2020",
"start":"1000",
"end":"3000"
},
{
"indexName": "高中人数",
"tableName":"li_enterprise_main_info",
"fieldName":"number_high_school_students",
"indexType":"2",
"year":"2020",
"rankType":"2",
"limit":"10"
},
{
"indexName": "其他学历人数",
"tableName":"li_enterprise_main_info",
"fieldName":"number_people_other_qualifications",
"indexType":"4",
"year":"2020",
"rankType":"2",
"limit":"10"
},
{
"indexName": "研究生人数",
"tableName":"li_enterprise_main_info",
"fieldName":"number_postgraduates",
"indexType":"3",
"year":"2020",
"compareType":"1",
"compareIndexName":"研究生人数",
"compareTableName":"li_enterprise_main_info",
"compareField":"number_postgraduates",
"compareYear":"2021"
}
]
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
msg
string
必需
data
object
必需
records
array [object {39}]
必需
total
integer
必需
size
integer
必需
current
integer
必需
orders
array[string]
必需
optimizeCountSql
boolean
必需
hitCount
boolean
必需
countId
null
必需
maxLimit
null
必需
searchCount
boolean
必需
pages
integer
必需
示例
{
"code": "200",
"msg": "成功!",
"data": {
"records": [
{
"stock_code": "300291.SZ",
"stock_abbreviation": "百纳千成",
"chinese_name_the_company": "北京百纳千成影视股份有限公司",
"company_nature_flush": "民营企业",
"province": "北京市",
"city": "石景山区",
"listing_segment": "创业板",
"initial_listing_date": "2012-02-09",
"industry_new_csrc": "R86",
"shenwan_industry": "720601",
"china_securities_industry": "50302010",
"national_economic_industry": "",
"main_business": "影视、营销、体育、综艺"
},
{
"stock_code": "300782.SZ",
"stock_abbreviation": "卓胜微",
"chinese_name_the_company": "江苏卓胜微电子股份有限公司",
"company_nature_flush": "其他",
"province": "江苏省",
"city": "无锡市",
"listing_segment": "创业板",
"initial_listing_date": "2019-06-18",
"industry_new_csrc": "C39",
"shenwan_industry": "270105",
"china_securities_industry": "45301010",
"national_economic_industry": "C3824",
"main_business": "射频前端芯片的研究、开发与销售"
}
],
"total": 7,
"size": 5,
"current": 2,
"orders": [],
"optimizeCountSql": true,
"hitCount": false,
"countId": null,
"maxLimit": null,
"searchCount": true,
"pages": 2
}
}
修改于 2023-01-03 10:14:18