curl --location '/projects//panels//single-line/validate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"rows": [
{
"id": "string",
"devices": [
{
"type": "av",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"article": "string",
"name": "string",
"class": "basic",
"isFavorite": true,
"selectorCode": "string",
"imageUrl": "http://example.com",
"params": {},
"parts": [
{
"type": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"article": "string",
"name": "string",
"imageUrl": "http://example.com"
}
]
},
{
"type": "av",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"article": "string",
"name": "string",
"class": "basic",
"isFavorite": true,
"selectorCode": "string",
"imageUrl": "http://example.com",
"params": {},
"parts": [
{
"type": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"article": "string",
"name": "string",
"imageUrl": "http://example.com"
}
]
},
{
"type": "av",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"article": "string",
"name": "string",
"class": "basic",
"isFavorite": true,
"selectorCode": "string",
"imageUrl": "http://example.com",
"params": {},
"parts": [
{
"type": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"article": "string",
"name": "string",
"imageUrl": "http://example.com"
}
]
}
],
"consumer": {
"roomText": "string",
"loadText": "string"
},
"wires": {
"sectionMm2": 0,
"count": 0
}
}
]
}'{
"errors": [
{
"id": "string",
"index": 0,
"isCritical": true,
"text": "string",
"deviceId": "4de4adb9-21ee-47e3-aeb4-8cf8ed6c109a"
}
]
}