GET api/SocialDriver/GetVehicleFault?serviceId={serviceId}
Get a vehicle fault if one is present, 404 will be returned if there is no fault
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| serviceId |
Optional service id |
unsigned integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
ViewVehicleFaultDetailsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| DTCCodes |
A comma separated list of DTC codes |
string |
None. |
| FaultDate |
When the fault occurred |
date |
None. |
| Urgency |
The fault urgency |
integer |
None. |
| Causes |
The fault causes |
Collection of VehicleFaultCause |
None. |
Response Formats
application/json, text/json
Sample:
{
"DTCCodes": "sample string 1",
"FaultDate": "2025-12-14T06:16:13.1533783+00:00",
"Urgency": 3,
"Causes": [
{
"Action": "sample string 1",
"Order": 2,
"PartsJson": "sample string 3",
"RepairUrgency": "sample string 4",
"Title": "sample string 5",
"TimeHours": 6,
"TimeMinutes": 7
},
{
"Action": "sample string 1",
"Order": 2,
"PartsJson": "sample string 3",
"RepairUrgency": "sample string 4",
"Title": "sample string 5",
"TimeHours": 6,
"TimeMinutes": 7
}
]
}
application/xml, text/xml
Sample:
<ViewVehicleFaultDetailsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DTCCodes>sample string 1</DTCCodes>
<FaultDate>2025-12-14T06:16:13.1533783+00:00</FaultDate>
<Urgency>3</Urgency>
<Causes>
<VehicleFaultCause>
<Action>sample string 1</Action>
<Order>2</Order>
<PartsJson>sample string 3</PartsJson>
<RepairUrgency>sample string 4</RepairUrgency>
<Title>sample string 5</Title>
<TimeHours>6</TimeHours>
<TimeMinutes>7</TimeMinutes>
</VehicleFaultCause>
<VehicleFaultCause>
<Action>sample string 1</Action>
<Order>2</Order>
<PartsJson>sample string 3</PartsJson>
<RepairUrgency>sample string 4</RepairUrgency>
<Title>sample string 5</Title>
<TimeHours>6</TimeHours>
<TimeMinutes>7</TimeMinutes>
</VehicleFaultCause>
</Causes>
</ViewVehicleFaultDetailsResponse>