/// <summary> /// Method for getting process request info /// </summary> /// <returns></returns> public String processRequest(int sourceId, int destinationId, int boardingPointId, String dateOfJourney, String scheduleId, String name, String contactNo, String emailId, String noOfSeats, String comments, String URL, String ConsumerKey, String ConsumerSecret) { client = new TGTravelServiceClient("TGSWS", URL); Status response = client.processRequest(ConsumerKey, ConsumerSecret, sourceId.ToString(), destinationId.ToString(), dateOfJourney, scheduleId, name, contactNo, emailId, noOfSeats, comments); dtResponse = new DataTable(); if (response != null) { //to do //build dtresponse datatable } return JsonConvert.SerializeObject(dtResponse); //return JsonConvert.SerializeObject(response); }