Skip to main content

DeviceProvisioningRecipeUpdated

Emitted when an existing provisioning recipe is updated.

Properties

PropertyTypeRequiredDescription
idstringUnique identifier of the event instance, generated when the event is emitted
kind"domain"Kind of the event
type"Device.ProvisioningRecipeUpdated"Type of the event
payloadobjectEvent-specific payload data

Example

{
"id": "string",
"kind": "domain",
"type": "Device.ProvisioningRecipeUpdated",
"payload": {
"owner": {
"ownershipType": "organization",
"organizationUid": "8429f601xxxxxxxxxxxxxxxxc54a5f56",
"parentCompanyUid": "e990a597xxxxxxxxxxxxxxxxc6430ef4"
},
"uid": "2dfae202xxxxxxxxxxxxxxxxcd8150f7",
"originator": {
"accountId": 8538,
"organizationUid": "4c824378xxxxxxxxxxxxxxxxd542c5b7",
"policyUid": "3a9d047cxxxxxxxxxxxxxxxx91e30382"
},
"type": "Device.ProvisioningRecipeUpdated",
"organizationUid": "45051de2xxxxxxxxxxxxxxxx97ce5088",
"status": "Pending",
"confirmedOwnership": true,
"serialNumber": "SN-306311",
"macAddress": "81:FB:8D:9D:XX:XX",
"model": "example-model",
"brand": "example-model",
"tagUids": [
"85949411xxxxxxxxxxxxxxxx631f7794"
],
"deviceName": "Example Name",
"policyUid": "56c600e3xxxxxxxxxxxxxxxx8f802ee2",
"locationUid": "ca73cb98xxxxxxxxxxxxxxxxde025557",
"unsuccessfulRegisterAttemptStatus": {
"warningMessage": "Something went wrong"
},
"errorMessage": "Something went wrong"
}
}

Shape

{
"id": "string",
"kind": "domain",
"type": "Device.ProvisioningRecipeUpdated",
"payload": {
"owner": {
"ownershipType": "organization",
"organizationUid": "string | null",
"parentCompanyUid": "string | null"
},
"uid": "string",
"originator?": {
"accountId?": "number",
"organizationUid?": "string",
"policyUid?": "string"
},
"type": "Device.ProvisioningRecipeUpdated",
"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"
}
}