Emissions Test Results
As you drive the emissions monitors on a vehicle will complete and potentially fail.
GetEmissionsTestResults
Returns a list of emissions monitor test results.
Request
curl -L -X POST 'https://{DOMAIN}/voyorequest/GetEmissionsTestResults
-d 'serial={SERIAL}'
-H 'Accept: application/json'
-H 'Authorization: Bearer {APIKEY}'
| Parameter | Description |
|---|---|
serial |
VOYO Device serial number |
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!" }
/// Emissions monitors have yet to respond
{ "error":"Device has not logged emissions data yet!" }
Success Responses
There are two possible successful returns that depend on the ignition type of the engine:
{
"error":"Success!", "mil_status":"", "dtc_count":"",
"component_test":"", "fuel_system_test":"", "misfire_test":"",
"EGR_system":"", "oxygen_sensor_heater":"", "oxygen_sensor":"",
"AC_refrigerant":"", "secondary_air_system":"", "evaporative_system":"",
"heated_catalyst":"", "catalyst":""
}
{
"error":"Success!", "mil_status":"", "dtc_count":"",
"component_test":"", "fuel_system_test":"", "misfire_test":"",
"VVT_system":"", "PM_filter_monitoring":"", "exhaust_gas_sensor":"",
"boost_pressure":"", "NOx_SCR_monitor":"", "NMHC_catalyst":""
}
| Test Result | Description |
|---|---|
TEST_AVAILABLE_INCOMPLETE |
This test has failed. |
TEST_UNAVAILABLE_INCOMPLETE |
This test has not finished and is not supported. |
TEST_AVAILABLE_COMPLETE |
This test has succeeded. |
TEST_UNAVAILABLE_COMPLETE |
This test is not supported. |