Category Delete
This event is used to notify whenever a new category is deleted in the system, allowing users to organize and manage equipment more efficiently.
Event Type: CATEGORY_DELETE
Enablement Package: Equipment Tracking
Subscription to the Equipment Tracking Package is mandatory.
Trigger Condition
A webhook must be subscribed to the CATEGORY_DELETE event. This event is triggered in real-time when a category is deleted in the system for equipment.
Example Payload
{
"messageType": "CATEGORY_DELETE",
"generatedAt": 1735824999580,
"data": {
"id": 256,
"categoryId": "2zlnZZ0SRX6BVkK7Ifhgcw==",
"name": "Webhook-Cat",
"parentCategoryId": null,
"customerId": 2175,
"level": 0,
"equipmentCount": 0,
"recordStatus": 0,
"createdBy": "8a9388a8-8b37-6e82-018b-dce53cfc6c1f",
"createdAt": 1735824940000,
"updatedBy": "8a9388a8-8b37-6e82-018b-dce53cfc6c1f",
"updatedAt": 1735824998455,
"parentCategoryName": null
}
}Reference
| Field | Description |
|---|---|
| messageType String | Type of message Example: "CATEGORY_DELETE" |
| generatedAt Integer | Time when event is generated in milliseconds Example: 1737709743221 |
| data JSONObject | JSON object containing data for the deleted category. |
| categoryId String,UUID | The unique Azuga ID of the Category. This is automatically generated when the category object is deleted and cannot be altered. Example: c85ad634-ebeb-4814-9a32-e756f7e6394b |
| customerId Integer | The unique Azuga ID of the Customer Example: 15047 |
| name String | Name of the Category deleted Example: EQ-CAT-O |
| parentCategoryId String, UUID | The unique Azuga ID of the Parent Category. This is automatically generated when the category object is deleted and cannot be altered. Example: c85ad634-ebeb-4814-9a32-e756f7e6394b |
| level Integer | Category Level, 0 for base category and 1 to 5 for sub-category. Example: 1 |
| equipmentCount Integer | Count of equipments in the category Example: 0 |
| recordStatus Integer | Status of the Record Example: 0 |
| createdAt Time Stamp | Time when category is deleted 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 deleted the category Example: 8a9388a8-8b37-6e82-018b-dce53cfc6c1f |
| updatedAt Time Stamp | Time when category is deleted in YYYY-MM-DD and HH:MM:SS format Example: 2025-01-24 09:08:59 |
| parentCategoryName | Name of the Parent category |
Updated about 1 year ago
Did this page help you?

