- industry-category-item-resource
- industry-resource
- company-resource
- company-industry-resource
- company-category-resource
- category-item-resource
- category-resource
- user-resource
- account-resource
- authenticate-controller
- public-user-resource
- survey-attribute-resource
- survey-resource
- survey-main-resource
- survey-data-resource
- rule-resource
- rule-survey-resource
- quota-item-resource
- quota-resource
- data-result-resource
- data-config-resource
- import-detail-contrller
- user-jwt-controller
- export-detail-contrller
- report-resource
- test-data-api
/api/company-industries
POST
/api/company-industries
company-industry-resource
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImF1dGgiOiJST0xFX0FETUlOLFJPTEVfVVNFUiIsImV4cCI6MTY5NDg1NjAyN30.ucimYoIO3BLwsXzgFdT9D2F08goUkTojjvK8NZ41Tu7hMHw7eNaX_jv2pWQY0pQcgGhRSpsxceGthP-n4R5w1w
Body 参数application/json
企业国民经济行业分类表
id
string <uuid>
主键
name
string
分类名称
code
string
code
industryId
string <uuid>
可选
companyId
string <uuid>
企业主键
示例
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"code": "string",
"industryId": "8e0105ff-760c-4e67-b648-a7168029a6ea",
"companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda"
}
示例代码
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:8851/api/company-industries' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImF1dGgiOiJST0xFX0FETUlOLFJPTEVfVVNFUiIsImV4cCI6MTY5NDg1NjAyN30.ucimYoIO3BLwsXzgFdT9D2F08goUkTojjvK8NZ41Tu7hMHw7eNaX_jv2pWQY0pQcgGhRSpsxceGthP-n4R5w1w' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"code": "string",
"industryId": "8e0105ff-760c-4e67-b648-a7168029a6ea",
"companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda"
}'
返回响应
🟢200OK
application/json
Body
企业国民经济行业分类表
id
string <uuid>
主键
name
string
分类名称
code
string
code
industryId
string <uuid>
可选
companyId
string <uuid>
企业主键
示例
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"code": "string",
"industryId": "8e0105ff-760c-4e67-b648-a7168029a6ea",
"companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda"
}