Create Custom Dimension

Last Updated on : 2023-06-21 07:13:08download

Create custom statistical dimensions. For example, create a custom purpose dimension. A maximum of 4 dimensions can be created, each of which can have up to 5 levels by default.

API address

POST: /v1.0/iot-03/statistical-dimensions/{dimension_code}

Request parameter

Parameter nameTypeINRequiredDescription
dimension_codeStringuritrueThe dimension code. Contain only numbers, uppercase and lowercase letters, or underscores.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result.

Request example

POST: /v1.0/iot-03/statistical-dimensions/usage

Return example

{
    "result": true,
    "t": 1624525873263,
    "success": true
}

Error code

For more information, see error code.