Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleResponse
collapsetrue
{
   "version":"1.1",
   "result":{
      "TrimList":[
         {
            "TrimLevel":"",
            "VehicleId":"236034"
         }
      ]
   }
}

 

Anchor
GetAttributeValues
GetAttributeValues
GetAttributeValues

...

public Boolean vtVehicleServices.GetAttributeValues(AnsiString SessionID , Int32 VehicleID , ref vtAttributeValueArray ValueList);

SOAP Examples:

Code Block
languagexml

...

titleRequest
collapsetrue
<?xml version="1.0" encoding="UTF-8"?>

...


<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:HNS="http://tempuri.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

...


   <SOAP-ENV:Body xmlns:ro="http://tempuri.org/">

...


      <v1:vtVehicleServices___GetAttributeValues xmlns:v1="http://tempuri.org/">

...


         <v1:SessionID>SessionID</v1:SessionID>

...


         <v1:VehicleID>VehicleID</v1:VehicleID>

...


         <v1:ValueList>
            <v1:vtAttributeValue>
               <v1:AttributeID>12905</v1:AttributeID>

...


               <v1:Value />

...


            </v1:

...

vtAttributeValue>
            <v1:vtAttributeValue>
               <v1:AttributeID>12906</v1:AttributeID>

...


               <v1:Value />

...


            </v1:

...

vtAttributeValue>
         </v1:ValueList>

...


      </v1:vtVehicleServices___

...

GetAttributeValues>
   </SOAP-ENV:Body>

...


</SOAP-ENV:Envelope>

...

Code Block
languagexml
titleResponse
collapsetrue
<?xml version="1.0" encoding="UTF-8"?>

...


<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:HNS="http://tempuri.org/" xmlns:v1="http://tempuri.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

...


   <SOAP-ENV:Header>

...


      <ROClientIDHeader xmlns="urn:vtVehicles" SOAP-ENV:mustUnderstand="0">

...


         <ID>{3D3B4BB9-CC13-43DA-A047-A21B1848A4E1}</ID>

...


      </ROClientIDHeader>

...


   </SOAP-ENV:Header>

...


   <SOAP-ENV:Body xmlns:ro="http://tempuri.org/">

...


      <v1:vtVehicleServices___

...

GetAttributeValuesResponse>
         <v1:Result>true</v1:Result>

...


         <v1:ValueList>
            <v1:vtAttributeValue>
               <v1:AttributeID>12905</v1:AttributeID>

...


               <v1:Value />

...


            </v1:

...

vtAttributeValue>
            <v1:vtAttributeValue>
               <v1:AttributeID>12906</v1:AttributeID>

...


               <v1:Value />

...


            </v1:

...

vtAttributeValue>
         </v1:ValueList>

...


      </v1:vtVehicleServices___

...

GetAttributeValuesResponse>
   </SOAP-ENV:Body>

...


</SOAP-ENV:Envelope>

JSON Examples:

Code Block
titleRequest
collapsetrue
{
   "version":"1.1",
   "method":"vtVehicleServices.GetAttributeValues",
   "params":{
      "SessionID":"SessionID",
      "VehicleID":236034,
      "ValueList":[
         {
            "AttributeID":12905,
            "Value":""
         },
         {
            "AttributeID":12906,
            "Value":""
         }
      ]
   }
}
Code Block
titleResponse
collapsetrue
{
   "version":"1.1",
   "result":{
      "Result":true,
      "ValueList":[
         {
            "AttributeID":"12905",
            "Value":"UNDER DRIVER\u2019S SIDE DASH, NEAR THE PARKING-BRAKE RELEASE"
         },
         {
            "AttributeID":"12906",
            "Value":"12747.PDF"
         }
      ]
   }
}

Anchor
GetVehicleIDByVin
GetVehicleIDByVin
GetVehicleIDByVIN

Parameters:

FlagNameTypeDocumentation
InSessionIdAnsiStringCurrent SessionID
InVINAnsiStringVIN number to lookup
OutVehicleIDIntegerMatching Vehicle ID result

...