BUSINESS
get business category list
Retrieve all business categories.
Request:
Parameter | Meaning | Type | Required | Default value | Description |
---|---|---|---|---|---|
HEADERS | |||||
Authorization | After logging in, the server returns an Authorization token. | string | Y | Bearer | Used for authentication |
BODY | |||||
Response:
status
(number): 1 indicates success, 0 indicates failure, 2 indicates warningmessage
(string): Prompt messagedata
(array) : List of business categories, each category includesiId
(number): Business category IDvTitle
(string): TitlevSummary
(string): SummaryvDetail
(string): Detailed descriptionupdate_time
(string): Creation time
Create Business Category
Create a new business category.
Request:
Parameter | Meaning | Type | Required | Default value | Description |
---|---|---|---|---|---|
HEADERS | |||||
Authorization | After logging in, the server returns an Authorization token. | string | Y | Bearer | Used for authentication |
BODY | |||||
vTitle | string | Y | Title | ||
vDetail | string | Y | Description | ||
vSummary | string | Y | Summary |
Response:
status
(number): 1 indicates success, 0 indicates failure, 2 indicates warningmessage
(string): Prompt message
Update Business Category
Update an existing business category.
Request:
Parameter | Meaning | Type | Required | Default value | Description |
---|---|---|---|---|---|
HEADERS | |||||
Authorization | After logging in, the server returns an Authorization token. | string | Y | Bearer | Used for authentication |
BODY | |||||
iId | number | Y | Business category ID | ||
vTitle | string | Y | Title | ||
vDetail | string | Y | Description | ||
vSummary | string | Y | Summary |
Response:
status
(number): 1 indicates success, 0 indicates failure, 2 indicates warningmessage
(string): Prompt message
Remove Business Category
Remove an existing business category.
Request:
Parameter | Meaning | Type | Required | Default value | Description |
---|---|---|---|---|---|
HEADERS | |||||
Authorization | After logging in, the server returns an Authorization token. | string | Y | Bearer | Used for authentication |
BODY | |||||
iId | number | Y | Business category ID |
Response:
status
(number): 1 indicates success, 0 indicates failure, 2 indicates warningmessage
(string): Prompt message