post https://services.azuga.com/azuga-ws-oauth/v3/createRequestVideo.json
This API allows you to create a new Request video. You are allowed to provide only a unique name for the field - requestedVideoName. Recommended to use a alpha-numerics for a unique name. You are not allowed to request for a video time range greater than 60 minutes.
Sample Request
https://services.azuga.com/azuga-ws-oauth/v3/createRequestVideo.json
{
"vehicleId": "f4a27d2b-9c8b-11ed-a1e3-f5bee2917cd8",
"startTime": "2023-06-01 12:00:00 AM",
"endTime": "2023-06-01 12:05:00 AM",
"requestedVideoName": "TEST1",
"deviceVendorId": 14
}
API Response explanation
Field | Description | Data Type |
---|---|---|
generatedAtInMillis | API response time in UTC milliseconds | Long |
data | Object representing the meta data of the request video | Object |
requestedVideoName | Name of the existing request video | String |
vehicleId | Unique identifier representing the vehicle for which the camera is associated with. | String |
startTime | Start time added for the requested video | String |
endTime | End time added for the requested video | String |
driverId | Unique identifier of the driver who was associated with the vehicle between the requested timeframe. | String |
remarks | Response from the API endpoint | String |
error | Error description - if any | List |
path | Error path | String |
message | Description of the error | String |
code | Error codes: requestedVideo time range code =AZSC001 invalid request video request name code =AZSC002 requestedVideo invalid time code =AZSC003 requestedVideo not found code =AZSC004 device is not correct code =AZSC005 requestedVideo disconnected camera code =AZSC006 | String |