using System.Collections.Generic;
using System.Net.Http.Headers;
public static void Main()
System.Net.Http.HttpClient client = new System.Net.Http.HttpClient();
var response = client.GetAsync("http://evolus.ddns.net/Q4Evolution/php/phpCategoria/BOPesquisaEmp.php").Result;
if (response.IsSuccessStatusCode)
var settings = new JsonSerializerSettings
NullValueHandling = NullValueHandling.Ignore,
MissingMemberHandling = MissingMemberHandling.Ignore
string output = response.Content.ReadAsStringAsync().Result;
var obj =JsonConvert.DeserializeObject<RootObject>(output,settings);
Console.WriteLine(obj.CampaignId);
public int ReturnCode { get; set; }
public int CampaignId { get; set; }
public int TotalSMSSent { get; set; }
public int TotalSMSwithError { get; set; }
public MSISDNwithErrorList MSISDNwithErrorList { get; set; }
public class MSISDNwithErrorList