Collega un nuovo canale del dispositivo

Possiamo collegare un nuovo canale con la seguente richiesta

Autenticazione

AuthorizationBearer

Autenticazione bearer nella forma Bearer <token>, dove token è il tuo token di autenticazione.

Header

x-client-versionstringOpzionalePredefinito a 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/

Richiesta

Payload
client_idstringObbligatorioformat: "uuid"
device_model_idstringObbligatorioformat: "uuid"

Risposta

Example response
_typestringOpzionalePredefinito a project_device_channel
idstringOpzionaleformat: "uuid"
actor_idstringOpzionaleformat: "uuid"
asset_typeenumOpzionale
device_idstringOpzionaleformat: "uuid"
external_indexdoubleOpzionale0-100
inserted_atstringOpzionaleformat: "date-time"
namestringOpzionale
Nome generato automaticamente in base al modello del dispositivo
project_idstringOpzionale

ID progetto a cui è collegato questo dispositivo

project_device_idstringOpzionale
real_time_logging_capablebooleanOpzionalePredefinito a false
statusenumOpzionale
updated_atstringOpzionaleformat: "date-time"

Errori

401
Unauthorized Error
409
Conflict Error