-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
actually i solved it but because it was a minor fix I am dropping my solution here
solution
create a class "lead" extends contact
public class Lead: Contact
{
public string role { get; set; }
public Lead()
{
role = "lead";
}
}
Create Lead
Authentication auth = new Authentication("yourAPITokenHere");
RestClientFactory factory = new RestClientFactory(auth);
ContactsClient contactsClient = new ContactsClient(factory);
var cont = new Lead() {email = "A@b.c", app_id= "yourppidhere" };
contactsClient.Create(cont);
Metadata
Metadata
Assignees
Labels
No labels