...
Code Block |
---|
|
{
"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 |
---|
language | xml |
---|
title | Request |
---|
collapse | true |
---|
|
<?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:BodyTypeId>BodyTypeId</v1:BodyTypeId> |
...
</v1:vtVehicleServices___ |
...
GetRetailerVehicleTrims>
</SOAP-ENV:Body> |
...
...
title | Response |
---|
collapse | true |
---|
|
<?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/"> |
...
...
GetRetailerVehicleTrimsResponse>
<v1:TrimList>
<v1:vtVehicleTrim2>
<v1:TrimLevel />
<v1:VehicleId>127340</v1:VehicleId> |
...
...
vtVehicleTrim2>
</v1:TrimList> |
...
</v1:vtVehicleServices___ |
...
GetRetailerVehicleTrimsResponse>
</SOAP-ENV:Body> |
...
JSON Examples:
Code Block |
---|
|
{
"version":"1.1",
"method":"vtVehicleServices.GetRetailerVehicleTrims",
"params":{
"SessionId":"SessionID",
"RetailerId":RetailerID,
"MakeId":47,
"ModelId":590,
"Year":2016,
"BodyTypeId":7
}
} |
Code Block |
---|
title | Response |
---|
collapse | true |
---|
|
{
"version":"1.1",
"result":{
"TrimList":[
{
"TrimLevel":"",
"VehicleId":"236034"
}
]
}
} |
Anchor |
---|
| GetAttributeValues |
---|
| GetAttributeValues |
---|
|
GetAttributeValuesParameters:
Flag | Name | Type | Documentation |
---|
In | SessionID | AnsiString | Current SessionID |
In | VehicleID | Integer | VehicleID to return values for |
InOut | ValueList | vtAttributeValueArray | Attribute values array |
...