Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Methods:

Anchor
GetRetailerVehicleMakesDown
GetRetailerVehicleMakesDown
GetRetailerVehicleMakesDown

...

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

...

title

...

Request

...

collapse
FlagNameTypeDocumentation
InSessionIdAnsiStringCurrent SessionID
InVINAnsiStringVIN number to lookup
OutVehicleIDIntegerMatching Vehicle ID result

C# Syntax:

public void vtVehicleServices.GetVehicleIDByVIN(AnsiString SessionId , AnsiString VIN , out  Int32 VehicleID);

SOAP Examples:

Request:

<?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___GetVehicleIDByVIN xmlns:v1="http://tempuri.org/">
         <v1:SessionId>SessionID</v1:SessionId>
         <v1:VIN>5FNRL5H96EB074997</v1:VIN>
      </v1:vtVehicleServices___GetVehicleIDByVIN>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response:

<?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>{755EB19F-C325-4436-B430-3E0BEBFF4D7C}</ID>
      </ROClientIDHeader>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body xmlns:ro="http://tempuri.org/">
      <v1:vtVehicleServices___GetVehicleIDByVINResponse>
         <v1:VehicleID>231832</v1:VehicleID>
      </v1:vtVehicleServices___GetVehicleIDByVINResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

...

true
{
   "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

C# Syntax:

public void vtVehicleServices.GetVehicleIDByVIN(AnsiString SessionId , AnsiString VIN , out  Int32 VehicleID);

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___GetVehicleIDByVIN xmlns:v1="http://tempuri.org/">
         <v1:SessionId>SessionID</v1:SessionId>
         <v1:VIN>5FNRL5H96EB074997</v1:VIN>
      </v1:vtVehicleServices___GetVehicleIDByVIN>
   </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>{755EB19F-C325-4436-B430-3E0BEBFF4D7C}</ID>
      </ROClientIDHeader>
   </SOAP-ENV:Header>
   <SOAP-ENV:Body xmlns:ro="http://tempuri.org/">
      <v1:vtVehicleServices___GetVehicleIDByVINResponse>
         <v1:VehicleID>231832</v1:VehicleID>
      </v1:vtVehicleServices___GetVehicleIDByVINResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

JSON Examples:

Code Block
titleRequest
collapsetrue
{
   "version":"1.1",
   "method":"vtVehicleServices.GetVehicleIDByVIN",
   "params":{
      "SessionId":"SessionID",
      "VIN":"5FNRL5H96EB074997"
   }
}
Code Block
titleResponse
collapsetrue
{
   "version":"1.1",
   "result":{
      "VehicleID":"231832"
   }
}