Einen neuen Gerätekanal verbinden

Mit der folgenden Anfrage können wir einen neuen Kanal verbinden

Authentifizierung

AuthorizationBearer

Bearer-Authentifizierung der Form Bearer <token>, wobei token Ihr Auth-Token ist.

Header

x-client-versionstringOptionalStandardwert ist 0.0.0
Firmware or software version of a C2C integration. Will be used to determine the correct Device Model configuration for the device when multiple are available. Must be a valid semantic version. For more on semantic versions, see here: https://semver.org/

Anfrage

Payload
client_idstringErforderlichFormat: "uuid"
device_model_idstringErforderlichFormat: "uuid"

Antwort

Example response
_typestringOptionalStandardwert ist project_device_channel
idstringOptionalFormat: "uuid"
actor_idstringOptionalFormat: "uuid"
asset_typeenumOptional
device_idstringOptionalFormat: "uuid"
external_indexdoubleOptional0-100
inserted_atstringOptionalFormat: "date-time"
namestringOptional

Automatisch generierter Name, basierend auf dem Gerätemodell

project_idstringOptional

Die Projekt-ID, mit der dieses Gerät verknüpft ist

project_device_idstringOptional
real_time_logging_capablebooleanOptionalStandardwert ist false
statusenumOptional
updated_atstringOptionalFormat: "date-time"

Fehler

401
Unauthorized Error
409
Conflict Error