public HttpResponse GetRoute( string originDescription, string originLatitude, string originLongitude, string destinationDescription, string destinationLatitude, string destinationLongitude, string token, string uri) { var request = new HttpRequest { ContentType = "text/xml", Uri = uri, Body = String.Format( RouteXmlBodyTemplates.GetRouteBodyTemplate, originDescription, originLongitude, originLatitude, destinationDescription, destinationLongitude, destinationLatitude, token) }; return(_httpClient.DoAPostRequest(request)); }
public HttpResponse GetZoomRadius( string latitude, string longitude, string token, string uri) { var request = new HttpRequest { ContentType = "text/xml", Uri = uri, Body = String.Format( MapRenderXmlBodyTemplates.GetZoomRadiusTemplate, longitude, latitude, token) }; return(_httpClient.DoAPostRequest(request)); }
public HttpResponse FindAddress( string street, string number, string token, string uri) { var request = new HttpRequest { ContentType = "text/xml", Uri = uri, Body = String.Format( FindAddressXmlBodyTemplates.FindAddressRequestBodyTemplate, street, number, FindAddressXmlBodyTemplates.DefaultSearchOptionsTemplate, token) }; return(_httpClient.DoAPostRequest(request)); }