Versions Compared

Key

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

...

Code Block
titleRequest
collapsetrue
{
   "version":"1.1",
   "method":"vtVehicleServices.GetRetailerVehicleBodyTypesDown",
   "params":{
      "SessionId":"97F3DF1E-3C83-47CC-8F7F-92EDBF81FE16SessionID",
      "RetailerId":16952RetailerID,
      "MakeId":47,
      "ModelId":590,
      "Year":2016
   }
}

...

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

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

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

 

Anchor
GetAttributeValues
GetAttributeValues
GetAttributeValues

Parameters:

FlagNameTypeDocumentation
InSessionIDAnsiStringCurrent SessionID
InVehicleIDIntegerVehicleID to return values for
InOutValueListvtAttributeValueArray

Attribute values array

...