{
"id": 0,
"code": "string",
"name": "string",
"status": 0,
"desc": "string",
"createdTime": 0,
"level": 0,
"userIDs": [
"string"
],
"accounts": [
"string"
],
"notifies": [
{
"type": "string",
"templateID": 0
}
],
"sceneIDs": [
0
]
}
curl --location --request POST '/api/v1/things/rule/alarm/info/create' \
--header 'Ithings-Project-Id: {{Ithings-Project-Id}}' \
--header 'Ithings-Token: {{iThings-token}}' \
--header 'app-code: {{appCode}}' \
--header 'device-id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"code": "string",
"name": "string",
"status": 0,
"desc": "string",
"createdTime": 0,
"level": 0,
"userIDs": [
"string"
],
"accounts": [
"string"
],
"notifies": [
{
"type": "string",
"templateID": 0
}
],
"sceneIDs": [
0
]
}'
{
"code": "200",
"msg": "string",
"data": {
"id": 0
}
}