vehicle/dtc

The vehicle\dtc URI gets a list of DTC message types for which the system listens.

URI path

vehicle/dtc

Supported request methods

GET

Queries the system for the list of vehicle diagnostic trouble codes. The data record returned is a list of URIs corresponding to the “children” of vehicle/dtc in the web services data tree. These children represent classes of diagnostic messages on the various buses of the system.

Supported content types

HTML

The result URIs is turned into URLs relative to the device, and returned in an HTML list.

XML

The result URIs will each be wrapped in element tags, and returned in a dtc block. For example:

<dtc>
         <element>vehicle/dtc/can0_active</element>
         <element>vehicle/dtc/can0_inactive</element>
         <element>vehicle/dtc/can1_active</element>
         <element>vehicle/dtc/can1_inactive</element>
</dtc>

JSON

The result URI strings is collected in an array assigned to a dtc field. For example:

{ “dtc” : [ “vehicle/dtc/can0_active”,
               “vehicle/dtc/can0_inactive”,
               “vehicle/dtc/can1_active”,
               “vehicle/dtc/can1_inactive”  ] }

 

© 2019 Digi International Inc. All rights reserved.
vehicle/dtc updated on 17 Oct 2017 10:46 AM