Unpairing unit from asset
Manual Unpairing
It indicates that the customer or user unpairs a unit from an asset manually via the SCALAR UI or Datahub API.
Event structure
The manual unpairing event structure includes the following fields:
Field | Description |
---|---|
eventBatchId | The unique identifier of the event batch. |
eventSubscriptionId | The unique identifier of the event subscription. |
eventBatchTime | The timestamp at which the event batch is generated. |
eventsData | Array of events generated in the batch. |
eventType | Type of the event. |
eventVersion | Version of the event. |
eventData.registeredOn | The timestamp at which the pairing is initiated. |
eventData.organizationId | The unique identifier of the organization for which the event belongs to. |
eventData.assetId | The unique identifier of the asset. |
eventData.unitId | The unique identifier specifying a unit with unit type and serial number. |
eventData.assetVIN | The VIN entered in the asset management module of SCALAR. |
Example:
{
"eventBatchId": "31fccdce-725e-4c87-a91b-3a8e66144641",
"eventSubscriptionId": "41634ca6-a7fb-4dc2-9461-7e9b24be885e",
"eventBatchTime": "2025-05-13T13:18:13.2017310Z",
"eventsData": [
{
"eventType": "unit.unpaired",
"eventVersion": 1,
"eventData": {
"registeredOn": "2025-05-12T22:20:00.000Z",
"organizationId": "c8c90b90-ad39-4a3d-8b89-c25a22acaa25",
"assetId": "5bca3b72-e006-4cea-bfaa-f5a4dcf3a63c",
"unitId": "tp:890123847562332",
"assetVIN": "1HGCM82633A000001"
}
}
]
}
Updated 5 days ago