Simple C# client to send leads to RdStation
PM> Install-Package RdStationApi.Client
IRdStationApiClient client = new RdStationApiClient();
ILead lead = new Lead("token", "identificador", "email@fulano.com");
var sent = await client.SendLead(lead);
IRdStationApiClient client = new RdStationApiClient();
ILead lead = new Lead("token", "identificador", "email@fulano.com");
var sent = client.SendLeadSync(lead);
IRdStationApiClient client = new RdStationApiClient();
var leadStatus = new LeadStatusRoot("authPrivateToken", new LeadStatus(LifeCycleLeadStage.LeadQualificado, true));
var sent = await client.ChangeLeadStatus("lead@email.com.br", leadStatus);
IRdStationApiClient client = new RdStationApiClient();
var leadStatus = new LeadStatusRoot("authPrivateToken", new LeadStatus(LifeCycleLeadStage.LeadQualificado, true));
var sent = client.ChangeLeadStatusSync("lead@email.com.br", leadStatus);