curl --request POST \
--url https://api.example.com/api/device/add \
--header 'Authentication: <authentication>' \
--header 'Content-Type: application/json' \
--data '
{
"sn": "device000001",
"name": "设备你好",
"deptId": "000000",
"type": "device",
"gatewaySn": "gateway00001",
"location": {}
}
'