token: ********************curl --location '/devicetype' \
--header 'Accept: application/json' \
--header 'token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"description": "string",
"protocol": {
"protocol": "string",
"sensors": [
{
"protocolId": "string",
"resourceTypeId": "string"
},
{
"protocolId": "string",
"resourceTypeId": "string"
}
]
}
}'{
"status": "OK",
"deviceTypeId": "a0872822-c10c-4a90-bf8a-17310ffe10af"
}