{
"ACL": {
"*": {
"read": true,
"write": false
}
},
"address": "string",
"basedata": {},
"content": {},
"createdAt": "string",
"detail": {},
"devaddr": "string",
"deviceSecret": "string",
"ip": "string",
"isEnable": true,
"lastOnlineTime": 0,
"location": "string",
"name": "string",
"objectId": "string",
"parentId": {
"__type": "Pointer",
"className": "Device",
"objectId": "string"
},
"product": {
"__type": "Pointer",
"className": "Product",
"objectId": "string"
},
"profile": {},
"route": {},
"status": "string",
"updatedAt": "string"
}
curl --location --request POST 'https://prod.iotn2n.com/iotapi/classes/Device' \
--header 'Content-Type: application/json' \
--data-raw '{
"ACL": {
"*": {
"read": true,
"write": false
}
},
"address": "string",
"basedata": {},
"content": {},
"createdAt": "string",
"detail": {},
"devaddr": "string",
"deviceSecret": "string",
"ip": "string",
"isEnable": true,
"lastOnlineTime": 0,
"location": "string",
"name": "string",
"objectId": "string",
"parentId": {
"__type": "Pointer",
"className": "Device",
"objectId": "string"
},
"product": {
"__type": "Pointer",
"className": "Product",
"objectId": "string"
},
"profile": {},
"route": {},
"status": "string",
"updatedAt": "string"
}'
{
"createdAt": "2019-08-24T14:15:22Z",
"objectId": "string"
}