public Task <Person> Create(NewPerson data) { Ensure.ArgumentNotNull(data, nameof(data)); return(ApiConnection.Post <Person>(ApiUrls.Persons(), data)); }
public Task <Activity> Create(NewActivity data) { Ensure.ArgumentNotNull(data, nameof(data)); return(ApiConnection.Post <Activity>(ApiUrls.Activities(), data)); }
public Task <DealField> Create(NewDealField data) { Ensure.ArgumentNotNull(data, nameof(data)); return(ApiConnection.Post <DealField>(ApiUrls.DealFields(), data)); }
public Task <Organization> Create(NewOrganization data) { Ensure.ArgumentNotNull(data, nameof(data)); return(ApiConnection.Post <Organization>(ApiUrls.Organizations(), data)); }
public Task <User> Create(NewUser data) { Ensure.ArgumentNotNull(data, nameof(data)); return(ApiConnection.Post <User>(ApiUrls.Users(), data)); }
public Task <Note> Create(NewNote data) { Ensure.ArgumentNotNull(data, nameof(data)); return(ApiConnection.Post <Note>(ApiUrls.Notes(), data)); }
public Task <Webhook> Create(NewWebhook data) { Ensure.ArgumentNotNull(data, nameof(data)); return(ApiConnection.Post <Webhook>(ApiUrls.Webhooks(), data)); }
public Task <OrganizationRelationship> Create(OrganizationRelationshipCreate data) { Ensure.ArgumentNotNull(data, nameof(data)); return(ApiConnection.Post <OrganizationRelationship>(ApiUrls.OrganizationRelationships(), data)); }
public Task <Pipeline> Create(NewPipeline data) { Ensure.ArgumentNotNull(data, nameof(data)); return(ApiConnection.Post <Pipeline>(ApiUrls.Pipelines(), data)); }
public Task <CreatedDealProduct> AddProductToDeal(long dealId, NewDealProduct newDealProduct) { Ensure.ArgumentNotNull(newDealProduct, nameof(newDealProduct)); return(ApiConnection.Post <CreatedDealProduct>(ApiUrls.AddProductToDeal(dealId), newDealProduct)); }