BLE Beacon Create

This event is used to notify whenever a new BLE Beacon is created in the system, allowing users to organize and manage beacons more efficiently.

Event Type: BLE_BEACON_CREATE

Enablement Package: Equipment Tracking
Subscription to the Equipment Tracking Package is mandatory.

Trigger Condition

A webhook must be subscribed to the BLE_BEACON_CREATE event. This event is triggered in real time when a beacon is created in the system.

Example Payload

{
  "messageType": "BLE_BEACON_CREATE",
  "generatedAt": 1735797398940,
  "data": {
    "bleId": "ff9e0b16-3835-4cff-a721-451d1478ea8b",
    "equipmentId": "20dddb5a-4366-44c9-aaa0-62bce0ce86d4",
    "equipmentName": "Soil lab EQUIPMENTS",
    "serialNumber": "771251512522",
    "groupId": "a985a4a5-5ec9-11ef-8a9b-d5ea3be9fa4a",
    "groupName": "default group",
    "customerId": 2175,
    "vendorId": 3,
    "vendorName": "queclink",
    "macAddress": "Test23Webhook",
    "batteryLevel": 100,
    "createdBy": "8a9388a8-8b37-6e82-018b-dce53cfc6c1f",
    "createdAt": "2025-01-02 05:56:34",
    "updatedBy": "8a9388a8-8b37-6e82-018b-dce53cfc6c1f",
    "updatedAt": "2025-01-02 05:56:34",
    "lastKnownLocation":"bcafaa4c-5057-4fdf-9a90-de4cdc3b4f42",
    "lastAssetId": "8a9388a8-8b37-6e82-018b-dce53cfc6c1f",
    "lastAssetName": "Equipment",
    "lastContactedTime":1735797698940
  }
}

Reference

Field

Description

messageType
String

Type of message Example: "BLE_BEACON_CREATE"

generatedAt
Integer

Time when event is generated in ms Example: 1737709743221

data
JSONObject

JSON object containing data for the created BLE Beacon

bleId
String,UUID

The unique BLE Beacon ID assigned to identify this BLE device Example:ff9e0b16-3835-4cff-a721-451d1478ea8b

equipmentId
String,UUID

The unique Equipment ID Example: 20dddb5a-4366-44c9-aaa0-62bce0ce86d4

equipmentName
String

Name of the equipment Example: Soil lab EQUIPMENTS

serialNumber
String

Serial number of the BLE beacon device (Hardware identifier) Example: 771251512522

groupId
String,UUID

Logical Group ID the equipment belongs to Example: a985a4a5-5ec9-11ef-8a9b-d5ea3be9fa4a

groupName
String

Name of the group Example: default group

customerId
Integer

The unique Azuga ID of the Customer Example: 2175

vendorId
Integer

Vendor Master ID (Internal system ID for beacon vendor) Example: 3

vendorName
String

Name of the Vendor Example: queclink, danlaw

macAddress
String

MAC Address of the BLE device (Used for identification and scanning) Example: Test23Webhook

batteryLevel
Integer

Battery percentage of the BLE device Example: 100

createdBy
String,UUID

The unique Azuga ID of the user who created the category Example: 8a9388a8-8b37-6e82-018b-dce53cfc6c1f

createdAt
Time Stamp

Time when category is created in YYYY-MM-DD and HH:MM:SS format Example: 2025-01-24 09:08:59

updatedBy
String,UUID

The unique Azuga ID of the user who created the category Example: 8a9388a8-8b37-6e82-018b-dce53cfc6c1f

updatedAt
Time Stamp

Time when category is created in YYYY-MM-DD and HH:MM:SS format Example: 2025-01-24 09:08:59

lastKnownLocation
String,UUID

Last known GPS location of the beacon (can be null if not available) Example: bcafaa4c-5057-4fdf-9a90-de4cdc3b4f42

lastAssetId
String,UUID

latest Asset ID which tracked the beacon Example: 8a9388a8-8b37-6e82-018b-dce53cfc6c1f

lastAssetName
String

Name of the asset which tracked the beacon latest Example: Equipment

lastContactedTime
TimeStamp

The last time beacon was tracked in milliseconds Example: 1735797698940