Requested Media Unavailable
The REQUESTED_MEDIA_UNAVAILABLE event is triggered when a user submits a video request for a camera, but the requested footage does not exist on the camera’s SD card. This means the system attempted to locate the video for the provided time range but found no stored media covering that period.
**Event Name:**REQUESTED_MEDIA_UNAVAILABLE
Enablement Package: NA
Trigger Condition
- REQUESTED_MEDIA_UNAVAILABLE webhook event should be subscribed.
- This webhook is triggered when a user requests a video from a Surfsight (vendor 15) camera, but the video is not found on the SD card.
- The event is triggered when the request status is 4, indicates media unavailable.
Example Payload
{
"messageType": "REQUESTED_MEDIA_UNAVAILABLE",
"generatedAt": 1732604310799,
"data": {
"requestedMediaId": "5d376b54-abc3-11ef-b0b8-4bd1b5f22e63",
"requestedMediaName": "25Nov2024_Moraga Heavy Wrecker_Request:1",
"safetyCamDeviceId": "7dff30dc-cacb-11eb-bddc-9d43d52c24ba",
"safetyCamSerialNum": "357660101393338",
"startTime": "2024-11-24 18:30:00",
"endTime": "2024-11-24 18:30:30",
"requestorId": "03840664-4a03-11e6-98cb-7b86271dc116",
"requestorName": "Alan Niesel",
"vehicleId": "06f4a604-43ed-11ed-8b3a-a19290b8c9aa",
"vehicleName": "Moraga Heavy Wrecker",
"groupId": "ba8a4244-d8e7-11eb-bc30-8f8842ad486a",
"groupName": "Bay Area Group",
"driverId": "8a9388a9-8b37-6f5d-018c-5eb378551097",
"driverName": "Mateo Curtis",
"customerId": 1059,
"vendorId": 15,
"recordStatus": 1,
"chunksAvailable": [],
"status": 4,
"mediaLinks": []
}
}Reference
Field | Description |
|---|---|
messageType* | Type of Message(Identifies the type of event being sent). |
generatedAt* | The exact time the webhook was created, in epoch milliseconds (UTC).
Example: |
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.
Example: |
safetyCamDeviceId* | Internal Azuga ID for the camera device. Example: 7dff30dc-cacb-11eb-bddc-9d43d52c24ba |
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* | Unique ID of the user who requested the video.
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 customer identifier.
Example: |
vendorId* | Camera vendor ID (15 = Surfsight camera). |
recordStatus* | Indicates record availability status. |
chunksAvailable* | List of all available video segments (chunks) from each camera stream. |
mediaLinks* | Download links for the video files and thumbnails. |
status* | Type of media. Example: 4 (4 = Unavailable). |
Updated 5 days ago
