vtVehicleServices

Methods:

GetRetailerVehicleMakesDown

Parameters:

FlagNameTypeDocumentation
InSessionIdAnsiStringCurrent SessionID
InRetailerIdIntegerCompanyID returned from Login
OutMakeListvtVehicleMakeArrayArray of Vehicle Makes
OutModelListvtVehicleModelArrayArray of Vehicle Models
OutYearListvtIntegerArrayArray of Vehicle Years
OutBodyTypeListvtVehicleBodyTypeArrayArray of Vehicle BodyTypes
OutTrimListvtVehicleTrim2ArrayArray of Vehicle Trims

C# Syntax:

public void vtVehicleServices.GetRetailerVehicleMakesDown(AnsiString SessionId , Int32 RetailerId , out vtVehicleMakeArray MakeList , out vtVehicleModelArray ModelList , out vtIntegerArray YearList , out vtVehicleBodyTypeArray BodyTypeList , out vtVehicleTrim2Array TrimList);

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___GetRetailerVehicleMakesDown xmlns:v1="http://tempuri.org/">
         <v1:SessionId>SessionId</v1:SessionId>
         <v1:RetailerId>RetailerId</v1:RetailerId>
      </v1:vtVehicleServices___GetRetailerVehicleMakesDown>
   </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:Body xmlns:ro="http://tempuri.org/">
      <v1:vtVehicleServices___GetRetailerVehicleMakesDownResponse>
         <v1:MakeList>
            <v1:vtVehicleMake>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Make>ACURA</v1:Make>
               <v1:MakeID>2</v1:MakeID>
            </v1:vtVehicleMake>
            <v1:vtVehicleMake>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Make>ALFA ROMEO</v1:Make>
               <v1:MakeID>53</v1:MakeID>
            </v1:vtVehicleMake>
            <v1:vtVehicleMake>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Make>AM GENERAL</v1:Make>
               <v1:MakeID>26</v1:MakeID>
            </v1:vtVehicleMake>
            <v1:vtVehicleMake>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Make>AMC</v1:Make>
               <v1:MakeID>37</v1:MakeID>
            </v1:vtVehicleMake>
            <v1:vtVehicleMake>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Make>AMPHICAR</v1:Make>
               <v1:MakeID>9025</v1:MakeID>
            </v1:vtVehicleMake>
            <v1:vtVehicleMake>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Make>ASTON MARTIN</v1:Make>
               <v1:MakeID>9005</v1:MakeID>
            </v1:vtVehicleMake>
            <v1:vtVehicleMake>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Make>AUDI</v1:Make>
               <v1:MakeID>3</v1:MakeID>
            </v1:vtVehicleMake>
            <v1:vtVehicleMake>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Make>AVANTI</v1:Make>
               <v1:MakeID>9017</v1:MakeID>
            </v1:vtVehicleMake>
         </v1:MakeList>
         <v1:ModelList>
            <v1:vtVehicleModel>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Model>CL</v1:Model>
               <v1:ModelID>262</v1:ModelID>
            </v1:vtVehicleModel>
            <v1:vtVehicleModel>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Model>CSX</v1:Model>
               <v1:ModelID>9476</v1:ModelID>
            </v1:vtVehicleModel>
            <v1:vtVehicleModel>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Model>EL</v1:Model>
               <v1:ModelID>332</v1:ModelID>
            </v1:vtVehicleModel>
         </v1:ModelList>
         <v1:YearList>
            <v1:int>2003</v1:int>
            <v1:int>2002</v1:int>
            <v1:int>2001</v1:int>
            <v1:int>1999</v1:int>
            <v1:int>1998</v1:int>
            <v1:int>1997</v1:int>
         </v1:YearList>
         <v1:BodyTypeList>
            <v1:vtVehicleBodyType>
               <v1:BodyType>2DR COUPE</v1:BodyType>
               <v1:BodyTypeID>1</v1:BodyTypeID>
            </v1:vtVehicleBodyType>
         </v1:BodyTypeList>
         <v1:TrimList>
            <v1:vtVehicleTrim2>
               <v1:TrimLevel>TYPE-S WITH 3.2L ENGINE AND STANDARD BOSE® AUDIO SYSTEM</v1:TrimLevel>
               <v1:VehicleId>227055</v1:VehicleId>
            </v1:vtVehicleTrim2>
            <v1:vtVehicleTrim2>
               <v1:TrimLevel>WITH 3.2L ENGINE AND NAVIGATION-EQUIPPED BOSE® AUDIO SYSTEM</v1:TrimLevel>
               <v1:VehicleId>198190</v1:VehicleId>
            </v1:vtVehicleTrim2>
            <v1:vtVehicleTrim2>
               <v1:TrimLevel>WITH 3.2L ENGINE AND STANDARD BOSE® AUDIO SYSTEM</v1:TrimLevel>
               <v1:VehicleId>225959</v1:VehicleId>
            </v1:vtVehicleTrim2>
         </v1:TrimList>
      </v1:vtVehicleServices___GetRetailerVehicleMakesDownResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

JSON Examples:

Request
{
   "version":"1.1",
   "method":"vtVehicleServices.GetRetailerVehicleMakesDown",
   "params":{
      "SessionId":"SessionID",
      "RetailerId":RetailerId
   }
}
Response:
{
   "version":"1.1",
   "result":{
      "MakeList":[
         {
            "HasVehicles":true,
            "Make":"ACURA",
            "MakeID":"2"
         },
         {
            "HasVehicles":true,
            "Make":"ALFA ROMEO",
            "MakeID":"53"
         },
         {
            "HasVehicles":true,
            "Make":"AM GENERAL",
            "MakeID":"26"
         },
         {
            "HasVehicles":true,
            "Make":"AMC",
            "MakeID":"37"
         },
         {
            "HasVehicles":true,
            "Make":"AMPHICAR",
            "MakeID":"9025"
         },
         {
            "HasVehicles":true,
            "Make":"ASTON MARTIN",
            "MakeID":"9005"
         },
         {
            "HasVehicles":true,
            "Make":"AUDI",
            "MakeID":"3"
         },
         {
            "HasVehicles":true,
            "Make":"AVANTI"
         }
      ],
      "ModelList":[
         {
            "HasVehicles":true,
            "Model":"CL",
            "ModelID":"262"
         },
         {
            "HasVehicles":true,
            "Model":"CSX",
            "ModelID":"9476"
         },
         {
            "HasVehicles":true,
            "Model":"EL",
            "ModelID":"332"
         }
      ],
      "YearList":[
         "2003",
         "2002",
         "2001",
         "1999",
         "1998",
         "1997"
      ],
      "BodyTypeList":[
         {
            "BodyType":"2DR COUPE",
            "BodyTypeID":"1"
         }
      ],
      "TrimList":[
         {
            "TrimLevel":"TYPE-S WITH 3.2L ENGINE AND STANDARD BOSE\u00AE AUDIO SYSTEM",
            "VehicleId":"227055"
         },
         {
            "TrimLevel":"WITH 3.2L ENGINE AND NAVIGATION-EQUIPPED BOSE\u00AE AUDIO SYSTEM",
            "VehicleId":"198190"
         },
         {
            "TrimLevel":"WITH 3.2L ENGINE AND STANDARD BOSE\u00AE AUDIO SYSTEM",
            "VehicleId":"225959"
         }
      ]
   }
}

GetRetailerVehicleModelsDown

Parameters:

FlagNameTypeDocumentation
InSessionIdAnsiStringCurrent SessionID
InRetailerIdIntegerCompanyID returned from Login
InMakeIdIntegerMakeID to return models for
OutModelListvtVehicleModelArrayArray of Vehicle Models
OutYearListvtIntegerArrayArray of Vehicle Years
OutBodyTypeListvtVehicleBodyTypeArrayArray of Vehicle BodyTypes
OutTrimListvtVehicleTrim2ArrayArray of Vehicle Trims

C# Syntax:

public Boolean vtVehicleServices.GetRetailerVehicleModels(AnsiString SessionID , Int32 RetailerId , Int32 MakeID , out vtVehicleModelArray ModelList);

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___GetRetailerVehicleModelsDown xmlns:v1="http://tempuri.org/">
         <v1:SessionId>SessionId</v1:SessionId>
         <v1:RetailerId>RetailerId</v1:RetailerId>
         <v1:MakeId>MakeId</v1:MakeId>
      </v1:vtVehicleServices___GetRetailerVehicleModelsDown>
   </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:Body xmlns:ro="http://tempuri.org/">
      <v1:vtVehicleServices___GetRetailerVehicleModelsDownResponse>
         <v1:ModelList>
            <v1:vtVehicleModel>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Model>328</v1:Model>
               <v1:ModelID>9130</v1:ModelID>
            </v1:vtVehicleModel>
            <v1:vtVehicleModel>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Model>430</v1:Model>
               <v1:ModelID>9558</v1:ModelID>
            </v1:vtVehicleModel>
            <v1:vtVehicleModel>
               <v1:HasVehicles>true</v1:HasVehicles>
               <v1:Model>512 M</v1:Model>
               <v1:ModelID>9349</v1:ModelID>
            </v1:vtVehicleModel>
         </v1:ModelList>
         <v1:YearList>
            <v1:int>1989</v1:int>
         </v1:YearList>
         <v1:BodyTypeList>
            <v1:vtVehicleBodyType>
               <v1:BodyType>2DR COUPE</v1:BodyType>
               <v1:BodyTypeID>1</v1:BodyTypeID>
            </v1:vtVehicleBodyType>
         </v1:BodyTypeList>
         <v1:TrimList>
            <v1:vtVehicleTrim2>
               <v1:TrimLevel />
               <v1:VehicleId>207420</v1:VehicleId>
            </v1:vtVehicleTrim2>
         </v1:TrimList>
      </v1:vtVehicleServices___GetRetailerVehicleModelsDownResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

JSON Examples:

Request
{
   "version":"1.1",
   "method":"vtVehicleServices.GetRetailerVehicleModelsDown",
   "params":{
      "SessionId":"SessionID",
      "RetailerId":RetailerID,
      "MakeId":47
   }
}
Response
{
   "version":"1.1",
   "result":{
      "ModelList":[
         {
            "HasVehicles":true,
            "Model":"240 SERIES",
            "ModelID":"14"
         },
         {
            "HasVehicles":true,
            "Model":"740 SERIES",
            "ModelID":"121"
         },
         {
            "HasVehicles":true,
            "Model":"760 SERIES",
            "ModelID":"126"
         },
         {
            "HasVehicles":true,
            "Model":"780 SERIES",
            "ModelID":"127"
         },
         {
            "HasVehicles":true,
            "Model":"850 SERIES",
            "ModelID":"133"
         },
         {
            "HasVehicles":true,
            "Model":"940 SERIES",
            "ModelID":"164"
         },
         {
            "HasVehicles":true,
            "Model":"960 SERIES",
            "ModelID":"170"
         },
         {
            "HasVehicles":true,
            "Model":"C30",
            "ModelID":"9618"
         },
         {
            "HasVehicles":true,
            "Model":"C70",
            "ModelID":"236"
         },
         {
            "HasVehicles":true,
            "Model":"S40",
            "ModelID":"583"
         },
         {
            "HasVehicles":true,
            "Model":"S60",
            "ModelID":"590"
         },
         {
            "HasVehicles":true,
            "Model":"S70",
            "ModelID":"592"
         },
         {
            "HasVehicles":true,
            "Model":"S80",
            "ModelID":"594"
         },
         {
            "HasVehicles":true,
            "Model":"S90",
            "ModelID":"595"
         },
         {
            "HasVehicles":true,
            "Model":"V40",
            "ModelID":"709"
         },
         {
            "HasVehicles":true,
            "Model":"V50",
            "ModelID":"9253"
         },
         {
            "HasVehicles":true,
            "Model":"V60",
            "ModelID":"10710"
         },
         {
            "HasVehicles":true,
            "Model":"V70",
            "ModelID":"710"
         },
         {
            "HasVehicles":true,
            "Model":"V70 XC",
            "ModelID":"711"
         },
         {
            "HasVehicles":true,
            "Model":"V90",
            "ModelID":"713"
         },
         {
            "HasVehicles":true,
            "Model":"XC60",
            "ModelID":"10699"
         },
         {
            "HasVehicles":true,
            "Model":"XC70",
            "ModelID":"9056"
         },
         {
            "HasVehicles":true,
            "Model":"XC90",
            "ModelID":"9055"
         }
      ],
      "YearList":[
         "1993",
         "1992",
         "1991",
         "1990",
         "1989",
         "1988",
         "1987",
         "1986",
         "1985",
         "1984",
         "1983",
         "1982",
         "1981",
         "1980"
      ],
      "BodyTypeList":[
         {
            "BodyType":"2DR COUPE",
            "BodyTypeID":"1"
         },
         {
            "BodyType":"4DR SEDAN",
            "BodyTypeID":"7"
         },
         {
            "BodyType":"4DR WAGON",
            "BodyTypeID":"8"
         }
      ],
      "TrimList":[
         {
            "TrimLevel":"",
            "VehicleId":"120736"
         }
      ]
   }
}

GetRetailerVehicleYearsDown

Parameters:

FlagNameTypeDocumentation
InSessionIdAnsiStringCurrent SessionID
InRetailerIdIntegerCompanyID returned from Login
InMakeIdIntegerMakeID to return models for
InModelIdIntegerModelID to return years for
OutYearListvtIntegerArrayArray of Vehicle Years
OutBodyTypeListvtVehicleBodyTypeArrayArray of Vehicle BodyTypes
OutTrimListvtVehicleTrim2ArrayArray of Vehicle Trims

C# Syntax:

public void vtVehicleServices.GetRetailerVehicleYearsDown(AnsiString SessionId , Int32 RetailerId , Int32 MakeId , Int32 ModelId , out vtIntegerArray YearList , out vtVehicleBodyTypeArray BodyTypeList , out vtVehicleTrim2Array TrimList);

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___GetRetailerVehicleYearsDown xmlns:v1="http://tempuri.org/">
         <v1:SessionId>SessionId</v1:SessionId>
         <v1:RetailerId>RetailerId</v1:RetailerId>
         <v1:MakeId>MakeId</v1:MakeId>
         <v1:ModelId>ModelId</v1:ModelId>
      </v1:vtVehicleServices___GetRetailerVehicleYearsDown>
   </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:Body xmlns:ro="http://tempuri.org/">
      <v1:vtVehicleServices___GetRetailerVehicleYearsDownResponse>
         <v1:YearList>
            <v1:int>2002</v1:int>
         </v1:YearList>
         <v1:BodyTypeList>
            <v1:vtVehicleBodyType>
               <v1:BodyType>2DR COUPE</v1:BodyType>
               <v1:BodyTypeID>1</v1:BodyTypeID>
            </v1:vtVehicleBodyType>
         </v1:BodyTypeList>
         <v1:TrimList>
            <v1:vtVehicleTrim2>
               <v1:TrimLevel />
               <v1:VehicleId>127340</v1:VehicleId>
            </v1:vtVehicleTrim2>
         </v1:TrimList>
      </v1:vtVehicleServices___GetRetailerVehicleYearsDownResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

JSON Examples:

Request
{
   "version":"1.1",
   "method":"vtVehicleServices.GetRetailerVehicleYearsDown",
   "params":{
      "SessionId":"SessionID",
      "RetailerId":RetailerID,
      "MakeId":47,
      "ModelId":590
   }
}
Response
{
   "version":"1.1",
   "result":{
      "YearList":[
         "2017",
         "2016",
         "2015",
         "2014",
         "2013",
         "2012",
         "2011",
         "2009",
         "2008",
         "2007",
         "2006",
         "2005",
         "2004",
         "2003",
         "2002",
         "2001"
      ],
      "BodyTypeList":[
         {
            "BodyType":"4DR SEDAN",
            "BodyTypeID":"7"
         }
      ],
      "TrimList":[
         {
            "TrimLevel":"",
            "VehicleId":"236587"
         }
      ]
   }
}

GetRetailerVehicleBodyTypesDown

Parameters:

FlagNameTypeDocumentation
InSessionIdAnsiStringCurrent SessionID
InRetailerIdIntegerCompanyID returned from Login
InMakeIdIntegerMakeID to return models for
InModelIdIntegerModelID to return years for
InYearIntegerYear to return bodytypes for
OutBodyTypeListvtVehicleBodyTypeArrayArray of Vehicle BodyTypes
OutTrimListvtVehicleTrim2ArrayArray of Vehicle Trims

C# Syntax:

public void vtVehicleServices.GetRetailerVehicleBodyTypesDown(AnsiString SessionId , Int32 RetailerId , Int32 MakeId , Int32 ModelId , Int32 Year , out vtVehicleBodyTypeArray BodyTypeList , out vtVehicleTrim2Array TrimList);

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___GetRetailerVehicleBodyTypesDown xmlns:v1="http://tempuri.org/">
         <v1:SessionId>SessionId</v1:SessionId>
         <v1:RetailerId>RetailerId</v1:RetailerId>
         <v1:MakeId>MakeId</v1:MakeId>
         <v1:ModelId>ModelId</v1:ModelId>
         <v1:Year>Year</v1:Year>
      </v1:vtVehicleServices___GetRetailerVehicleBodyTypesDown>
   </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>
   <SOAP-ENV:Body xmlns:ro="http://tempuri.org/">
      <v1:vtVehicleServices___GetRetailerVehicleBodyTypesDownResponse>
         <v1:BodyTypeList>
            <v1:vtVehicleBodyType>
               <v1:BodyType>2DR COUPE</v1:BodyType>
               <v1:BodyTypeID>1</v1:BodyTypeID>
            </v1:vtVehicleBodyType>
         </v1:BodyTypeList>
         <v1:TrimList>
            <v1:vtVehicleTrim2>
               <v1:TrimLevel />
               <v1:VehicleId>127340</v1:VehicleId>
            </v1:vtVehicleTrim2>
         </v1:TrimList>
      </v1:vtVehicleServices___GetRetailerVehicleBodyTypesDownResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

JSON Examples:

Request
{
   "version":"1.1",
   "method":"vtVehicleServices.GetRetailerVehicleBodyTypesDown",
   "params":{
      "SessionId":"SessionID",
      "RetailerId":RetailerID,
      "MakeId":47,
      "ModelId":590,
      "Year":2016
   }
}
Response
{
   "version":"1.1",
   "result":{
      "BodyTypeList":[
         {
            "BodyType":"4DR SEDAN",
            "BodyTypeID":"7"
         }
      ],
      "TrimList":[
         {
            "TrimLevel":"",
            "VehicleId":"236034"
         }
      ]
   }
}

GetRetailerVehicleTrims

Parameters:

FlagNameTypeDocumentation
InSessionIdAnsiStringCurrent SessionID
InRetailerIdIntegerCompanyID returned from Login
InMakeIdIntegerMakeID to return models for
InModelIdIntegerModelID to return years for
InYearIntegerYear to return bodytypes for
InBodyTypeIdIntegerBodyTypeID to return trims for
OutTrimListvtVehicleTrim2ArrayArray of Vehicle Trims

C# Syntax:

public void vtVehicleServices.GetRetailerVehicleTrims(AnsiString SessionId , Int32 RetailerId , Int32 MakeId , Int32 ModelId , Int32 Year , Int32 BodyTypeId , out vtVehicleTrim2Array TrimList);

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___GetRetailerVehicleTrims xmlns:v1="http://tempuri.org/">
         <v1:SessionId>SessionId</v1:SessionId>
         <v1:RetailerId>RetailerId</v1:RetailerId>
         <v1:MakeId>MakeId</v1:MakeId>
         <v1:ModelId>ModelId</v1:ModelId>
         <v1:Year>Year</v1:Year>
         <v1:BodyTypeId>BodyTypeId</v1:BodyTypeId>
      </v1:vtVehicleServices___GetRetailerVehicleTrims>
   </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:Body xmlns:ro="http://tempuri.org/">
      <v1:vtVehicleServices___GetRetailerVehicleTrimsResponse>
         <v1:TrimList>
            <v1:vtVehicleTrim2>
               <v1:TrimLevel />
               <v1:VehicleId>127340</v1:VehicleId>
            </v1:vtVehicleTrim2>
         </v1:TrimList>
      </v1:vtVehicleServices___GetRetailerVehicleTrimsResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

JSON Examples:

Request
{
   "version":"1.1",
   "method":"vtVehicleServices.GetRetailerVehicleTrims",
   "params":{
      "SessionId":"SessionID",
      "RetailerId":RetailerID,
      "MakeId":47,
      "ModelId":590,
      "Year":2016,
      "BodyTypeId":7
   }
}
Response
{
   "version":"1.1",
   "result":{
      "TrimList":[
         {
            "TrimLevel":"",
            "VehicleId":"236034"
         }
      ]
   }
}

GetAttributeValues

Parameters:

FlagNameTypeDocumentation
InSessionIDAnsiStringCurrent SessionID
InVehicleIDIntegerVehicleID to return values for
InOutValueListvtAttributeValueArray

Attribute values array

C# Syntax:

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

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___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>
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>{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:

Request
{
   "version":"1.1",
   "method":"vtVehicleServices.GetAttributeValues",
   "params":{
      "SessionID":"SessionID",
      "VehicleID":236034,
      "ValueList":[
         {
            "AttributeID":12905,
            "Value":""
         },
         {
            "AttributeID":12906,
            "Value":""
         }
      ]
   }
}
Response
{
   "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"
         }
      ]
   }
}

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:

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>

JSON Examples:

Request
{
   "version":"1.1",
   "method":"vtVehicleServices.GetVehicleIDByVIN",
   "params":{
      "SessionId":"SessionID",
      "VIN":"5FNRL5H96EB074997"
   }
}
Response
{
   "version":"1.1",
   "result":{
      "VehicleID":"231832"
   }
}