VOYOLink Events
Rather than getting all vehicle events, this request will return a subset of events that are actionable by shops.
GetVOYOLinkEvents
Returns a list of events by provided serial.
Request
curl -L -X POST 'https://{DOMAIN}/voyorequest/GetVOYOLinkEvents
-d 'serial={SERIAL}'
-H 'Accept: application/json'
-H 'Authorization: Bearer {APIKEY}'
| Parameter | Description | Required |
|---|---|---|
serial |
VOYO Device serial number. | Required |
time |
Unix timestamp representing the start time of this alert. | Optional |
Error Responses
HTTP/1.1 400 Bad Request
HTTP/1.1 401 Unauthorized
/// Request requires "serial"
{ "error":"Requires Device Identifier!" }
/// "serial" is not registered to provided "apikey"
{ "error":"Unauthorized Device Requested!" }
// There is no record of this device
{ "error":"Device does not exist!" }
// Invalid timestamp provided
{ "error":"Update timestamp is outside of valid range!" }
Success Responses
"events" array may be empty if no events have been created.
{
"error":"Success!", "events":[
{
"time":"",
"title":"",
"description":""
}
]
}