Updates general device data.
PUT/generalDevice
Updates general device data with the following behavior for each field:
- Non-empty value: sets/updates the field
- Empty value ("" for strings, [] for arrays): removes the field
- null/undefined: keeps existing value unchanged
Currently supported updatable fields:
deviceType: Device type tokens arrayplatform: Platform identifier stringgeneral.personalDevice.name: Agent name or user identifiergeneral.physicalDevice.serialNumber: Device serial number
Request
- application/json
Body
required
deviceType string[]nullable
Device type tokens.
general
object
nullable
personalDevice
object
nullable
idNumber stringnullable
name stringnullable
Agent name or user identifier.
personalNumber stringnullable
physicalDevice
object
nullable
IP stringnullable
MAC stringnullable
OS stringnullable
possibleBandwidth stringnullable
serialNumber stringnullable
Device serial number.
situationalDevice
object
nullable
availableStorage int64nullable
bandwidth int64nullable
location
object
nullable
alt stringnullable
lat stringrequired
long stringrequired
operativeState booleannullable
power int64nullable
time date-time
weather doublenullable
id stringrequired
platform stringnullable
Platform identifier.
Responses
- 200
- 500
- application/json
- Schema
- Example (from schema)
Schema
message stringrequired
name stringrequired
statusCode int32required
{
"message": "string",
"name": "string",
"statusCode": 0
}
Loading...