{
"ACL": {
"*": {
"read": true,
"write": false
}
},
"category": {
"__type": "Pointer",
"className": "Category",
"objectId": "string"
},
"channel": {},
"children": {
"__type": "Relation",
"className": "Product"
},
"config": {},
"content": {},
"createdAt": "string",
"decoder": {},
"desc": "string",
"devType": "string",
"dynamicReg": true,
"icon": "string",
"name": "string",
"netType": "string",
"nodeType": 0,
"objectId": "string",
"productIdentifier": "string",
"productSecret": "string",
"producttemplet": {
"__type": "Pointer",
"className": "ProductTemplet",
"objectId": "string"
},
"profile": {},
"serverCallbackModel": [
null
],
"thing": {},
"topics": {},
"updatedAt": "string"
}
curl --location --request PUT 'https://prod.iotn2n.com/iotapi/classes/Product/' \
--header 'Content-Type: application/json' \
--data-raw '{
"ACL": {
"*": {
"read": true,
"write": false
}
},
"category": {
"__type": "Pointer",
"className": "Category",
"objectId": "string"
},
"channel": {},
"children": {
"__type": "Relation",
"className": "Product"
},
"config": {},
"content": {},
"createdAt": "string",
"decoder": {},
"desc": "string",
"devType": "string",
"dynamicReg": true,
"icon": "string",
"name": "string",
"netType": "string",
"nodeType": 0,
"objectId": "string",
"productIdentifier": "string",
"productSecret": "string",
"producttemplet": {
"__type": "Pointer",
"className": "ProductTemplet",
"objectId": "string"
},
"profile": {},
"serverCallbackModel": [
null
],
"thing": {},
"topics": {},
"updatedAt": "string"
}'
{
"objectId": "string",
"updatedAt": "2019-08-24T14:15:22Z"
}