Requested Media Failed
The REQUESTED_MEDIA_FAILED event notifies subscribers that a requested video clip could not be fetched from the camera’s SD card or could not be processed successfully.
**Event Name:**REQUESTED_MEDIA_FAILED
**Enablement Package:**NA
Trigger Condition
- REQUESTED_MEDIA_FAILED webhook event should be subscribed.
- This webhook event is triggered when a user requests a video from camera vendor 15(Surfsight), but the system is unable to process the request.
- The event is triggered when the request status is 0, indicating failure.
Example Payload
{
"messageType": "REQUESTED_MEDIA_FAILED",
"generatedAt": 1733336734676,
"data": {
"requestedMediaId": "af4ebe1d-b26c-11ef-8638-9fb0cc96b1ba",
"requestedMediaName": "02Dec2024_Bat mobile_Request:1",
"safetyCamDeviceId": "eb13bad6-5ac1-11ed-b541-eddbf2b4723d",
"safetyCamSerialNum": "357660102526084",
"startTime": "2024-12-01 19:30:00",
"endTime": "2024-12-01 19:35:00",
"requestorId": "03840664-4a03-11e6-98cb-7b86271dc116",
"requestorName": "Alan Niesel",
"vehicleId": "df0b96f5-5ac1-11ed-b541-7901fa508824",
"vehicleName": "Bat mobile",
"groupId": "c337220c-8672-11e2-9b71-55cae3166848",
"groupName": "Default Group",
"driverId": null,
"driverName": "",
"customerId": 1059,
"vendorId": 15,
"recordStatus": 1,
"chunksAvailable": [],
"status": 0,
"mediaLinks": []
}
}Reference
Field | Description |
|---|---|
messageType* | Type of Message. |
generatedAt* | The exact time the webhook was created, in epoch milliseconds (UTC). |
data* | Contains all the details related to the media request. |
requestedMediaId* | A unique identifier for the specific video request.
Example: |
requestedMediaName* | A readable name for the requested video. Usually includes date/time. |
safetyCamDeviceId* | Internal Azuga ID for the camera device. Example: eb13bad6-5ac1-11ed-b541-eddbf2b4723d |
safetyCamSerialNum* | The serial number printed on the camera device.
Example: |
startTime* | Start timestamp of the requested footage(UTC – format: YYYY-MM-DD HH:MM:SS).
Example: |
endTime* | End timestamp of the requested footage(UTC – format: YYYY-MM-DD HH:MM:SS).
Example: |
requestorId* | User ID of the person who initiated the request.
Example: |
requestorName* | Name of the person who initiated the request. |
vehicleId* | The Azuga ID of the vehicle from which the footage was requested.
Example: |
vehicleName* | Display name / fleet number of the vehicle. |
groupId* | ID of the group the vehicle belongs to. |
groupName* | Name of the group the vehicle belongs to.
Example: |
driverId* | ID of the driver linked to the vehicle at the time of the event.
Example: |
driverName* | Driver name associated at the time of event.
Example: |
customerId* | Unique ID of the customer account.
Example: |
vendorId* | Camera vendor ID. Example: 15 (15 - Surfsight camera). |
recordStatus* | Indicates record availability status. |
status* | Status of the event. |
Updated 4 days ago
