Query the factory information of multiple devices

Last Updated on : 2023-06-20 14:19:19download

Query the factory information of multiple devices.

API address

GET: /v1.0/iot-03/devices/factory-infos

Request parameter

Parameter nameTypeINRequiredDescription
device_idsStringquerytrueThe list of up to 20 device IDs, separated by commas.

Return parameter

Parameter nameTypeDescription
resultListThe returned result.

Description of result

Parameter nameTypeDescription
idStringThe device ID.
uuidStringThe universally unique identifier (UUID) of the device.
snStringThe serial number of the device.
macStringThe MAC address of the device.

Request example

GET: /v1.0/iot-03/devices/factory-infos?device_ids=xxxid1

Return example

        "uuid": "002008535ccf7f53****",
        "mac": "5c:cf:7f:53:**:**",
        "id": "002008535ccf7f53****"

Error code

For more information, see error code.