Get children of the category specified
GET
/OpenApi/Category/GetChildrenLast modified: 1 年前
Maintainer:
Get children of the category specified in the parameters
Request
Query Params
ParentCode
string
optional
Parent Code, if no input, it will return to the first category list. Non-Mandatory
Example:
C0001
Header Params
Authorization
string
required
Authorization Param
Example:
2+s8CDVEwkmRHSJ9lorE5Q==
Request samples
Responses
success(200)
unauthorized(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
CateoryList
array [object {4}]
required
Array
Code
string
Category Code
Category Code
Name
string
Category Name
Category Name
ParentCode
string
Parent Code of the category
Parent Code of the category
Status
string
Category Status
Category Status includes: valid, invalid
Example
{
"CateoryList": [
{
"Code": "C00010004",
"Name": "Android Phones",
"ParentCode": "C0001",
"Status": "Valid"
},
{
"Code": "C00010002",
"Name": "Tablets",
"ParentCode": "C0001",
"Status": "Valid"
},
{
"Code": "C00010001",
"Name": "Bar Phones",
"ParentCode": "C0001",
"Status": "Valid"
},
{
"Code": "C00010003",
"Name": "Watch Phones",
"ParentCode": "C0001",
"Status": "Valid"
}
]
}
Last modified: 1 年前