English
English
简体中文
Contact Us
Register
Log In
layoutIndex

Get Category List

Last Updated on : 2022-04-29 05:41:26download

Get the list of categories of all products.

API address

GET: /v1.0/iot-03/device-categories

Return parameter

Parameter nameTypeDescription
resultListThe returned result.

Description of result

Parameter nameTypeDescription
codeStringThe category code.
nameStringThe category name.

Request example

GET: /v1.0/iot-03/device-categories

Return example

{
    "result": [
        {
            "code": "cz",
            "name": "Socket"
        },
        {
            "code": "kg",
            "name": "Switch"
        }
    ],
    "t": 1636094747180,
    "success": true
}

Error code

For more information, see error code.