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:

FieldDescription
eventBatchIdThe unique identifier of the event batch.
eventSubscriptionIdThe unique identifier of the event subscription.
eventBatchTimeThe timestamp at which the event batch is generated.
eventsDataArray of events generated in the batch.
eventTypeType of the event.
eventVersionVersion of the event.
eventData.registeredOnThe timestamp at which the pairing is initiated.
eventData.organizationIdThe unique identifier of the organization for which the event belongs to.
eventData.assetIdThe unique identifier of the asset.
eventData.unitIdThe unique identifier specifying a unit with unit type and serial number.
eventData.assetVINThe 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"
			}
		}
	]
}