public string GetVehicleYearMakeModel(string vin) { string response = ""; AutoQuoteLibrary.BL.VINLookupPlugin service = new BL.VINLookupPlugin(); response = service.GetVehicleYearMakeModel(vin); return(response); }
public string GetVehicleYearMakeWebModel(string vin) { string response = ""; string request = "<GetVINRequest><VIN>" + vin + "</VIN><WEBMODEL>1</WEBMODEL><PRODUCTVERSION>2</PRODUCTVERSION></GetVINRequest>"; XElement xReq = XElement.Parse(request); AutoQuoteLibrary.BL.VINLookupPlugin service = new BL.VINLookupPlugin(); response = service.GetVehicleYearMakeModel(vin); return(response); }