static void Main(string[] args) { LoadSearchClient client = new LoadSearchClient(); LoadSearchRequest request = new LoadSearchRequest(); request.Criteria = new LoadSearchCriteria(){OriginCity = "Boise",OriginState = "ID",EquipmentType = "V"}; request.Criteria.LoadType = LoadType.All; request.IntegrationId = 4; request.UserName = "******"; request.Password = "******"; LoadSearchReturn result = client.GetLoadSearchResults(request); Console.WriteLine(result.Errors.Count()); Console.WriteLine(result.SearchResults.Count()); }
static void Main(string[] args) { LoadSearchClient client = new LoadSearchClient(); LoadSearchRequest request = new LoadSearchRequest(); request.Criteria = new LoadSearchCriteria() { OriginCity = "Boise", OriginState = "ID", EquipmentType = "V" }; request.Criteria.LoadType = LoadType.All; request.IntegrationId = 4; request.UserName = "******"; request.Password = "******"; LoadSearchReturn result = client.GetLoadSearchResults(request); Console.WriteLine(result.Errors.Count()); Console.WriteLine(result.SearchResults.Count()); }