DeviceProvisioningRecipeCreated
Emitted when a new provisioning recipe is created for a device.
Properties
| Property | Type | Required | Description |
|---|---|---|---|
id | string | ✅ | Unique identifier of the event instance, generated when the event is emitted |
kind | "domain" | ✅ | Kind of the event |
type | "Device.ProvisioningRecipeCreated" | ✅ | Type of the event |
payload | object | ✅ | Event-specific payload data |
Example
{
"id": "string",
"kind": "domain",
"type": "Device.ProvisioningRecipeCreated",
"payload": {
"owner": {
"ownershipType": "organization",
"organizationUid": "f32a128cxxxxxxxxxxxxxxxxb175739b",
"parentCompanyUid": "9a52dc0axxxxxxxxxxxxxxxx92acfccc"
},
"organizationUid": "624c9c67xxxxxxxxxxxxxxxxad7cd727",
"status": "Pending",
"confirmedOwnership": true,
"serialNumber": "SN-749771",
"macAddress": "29:9F:66:C8:XX:XX",
"model": "example-model",
"brand": "example-model",
"tagUids": [
"87e46004xxxxxxxxxxxxxxxx4bea2712"
],
"deviceName": "Example Name",
"policyUid": "2ca49d20xxxxxxxxxxxxxxxx56c01137",
"locationUid": "b7cb61bfxxxxxxxxxxxxxxxxd468d313",
"unsuccessfulRegisterAttemptStatus": {
"warningMessage": "Something went wrong"
},
"errorMessage": "Something went wrong",
"uid": "14e70f5cxxxxxxxxxxxxxxxx7620ccaf",
"originator": {
"accountId": 2437,
"organizationUid": "8d34290dxxxxxxxxxxxxxxxx57a00ace",
"policyUid": "2edbe5c9xxxxxxxxxxxxxxxxe3aaca98"
},
"type": "Device.ProvisioningRecipeCreated"
}
}
Shape
{
"id": "string",
"kind": "domain",
"type": "Device.ProvisioningRecipeCreated",
"payload": {
"owner": {
"ownershipType": "organization",
"organizationUid": "string | null",
"parentCompanyUid": "string | null"
},
"organizationUid": "string",
"status": "Pending | Applied | Failed | Invalid",
"confirmedOwnership?": "boolean",
"serialNumber?": "string",
"macAddress?": "string",
"model?": "string",
"brand": "string",
"tagUids?": [
"string"
],
"deviceName?": "string",
"policyUid?": "string",
"locationUid?": "string",
"unsuccessfulRegisterAttemptStatus?": {
"warningMessage": "string"
},
"errorMessage?": "string",
"uid": "string",
"originator?": {
"accountId?": "number",
"organizationUid?": "string",
"policyUid?": "string"
},
"type": "Device.ProvisioningRecipeCreated"
}
}