public ProjectTaskAssignment UpdateAssignment(ProjectTask projectTask, ProjectTaskAssignment assignment) { DefaultHandler <ProjectTaskAssignment> handler = new DefaultHandler <ProjectTaskAssignment>($"{this.URL}/{projectTask.ID}/assignments", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests) { SortOrder = SortOrder.None }; return(handler.Update(assignment)); }
public Address UpdateAddress(Person person, Address address) { DefaultHandler <Address> handler = new DefaultHandler <Address>($"{this.URL}/{person.ID}/addresses", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.Update(address)); }
public Contact UpdateContact(Person person, Contact contact) { DefaultHandler <Contact> handler = new DefaultHandler <Contact>($"{this.URL}/{person.ID}/contacts", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.Update(contact)); }
public KnowledgeArticleTranslation UpdateTranslation(KnowledgeArticle knowledgeArticle, KnowledgeArticleTranslation knowledgeArticleTranslation) { DefaultHandler <KnowledgeArticleTranslation> handler = new DefaultHandler <KnowledgeArticleTranslation>($"{this.URL}/{knowledgeArticle.ID}/translations", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.Update(knowledgeArticleTranslation)); }
public TaskTemplateApproval UpdateApproval(TaskTemplate taskTemplate, TaskTemplateApproval approval) { DefaultHandler <TaskTemplateApproval> handler = new DefaultHandler <TaskTemplateApproval>($"{this.URL}/{taskTemplate.ID}/approvals", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.Update(approval)); }
public BroadcastTranslation UpdateTranslation(Broadcast broadcast, BroadcastTranslation broadcastTranslation) { DefaultHandler <BroadcastTranslation> handler = new DefaultHandler <BroadcastTranslation>($"{this.URL}/{broadcast.ID}/translations", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.Update(broadcastTranslation)); }
public ConfigurationItemRelation UpdateConfigurationItemRelation(ConfigurationItem configurationItem, ConfigurationItemRelation configurationItemRelation) { DefaultHandler <ConfigurationItemRelation> handler = new DefaultHandler <ConfigurationItemRelation>($"{this.URL}/{configurationItem.ID}/ci_relations", this.AuthenticationTokens, this.AccountID, this.ItemsPerRequest, this.MaximumRecursiveRequests); return(handler.Update(configurationItemRelation)); }