Update

Definition

https://portal.xpertdoc.com/odata4/v6/Templates(:templateId)

Parameters

templateId: String

Examples

{
	"@odata.context": "http://portal.xpertdoc.com/odata4/v6/$metadata#Templates/$entity",
	"TemplateId": "00000000-0000-0000-0000-000000000000",
	"TemplateGroupId": "00000000-0000-0000-0000-000000000000",
	"FormId": "00000000-0000-0000-0000-000000000000",
	"Name": "Blank",
	"Description": null,
	"Metadata": null,
	"AssemblyBlobFileName": "Blank.dll",
	"SourceBlobFileName": "Blank.docx",
	"UseParentDocumentOutputPostActions": true,
	"CreatedByUserProfileId": "00000000-0000-0000-0000-000000000000",
	"CreatedDate": "2016-01-01T00:00:00.0000000Z",
	"ModifiedByUserProfileId": "00000000-0000-0000-0000-000000000000",
	"ModifiedDate": "2016-01-01T00:00:00.0000000Z",
	"Timestamp": "AAAAAAABLHs="
}
var template = portalContext.Templates.Where(t => t.TemplateId == Guid.Parse("00000000-0000-0000-0000-000000000000")).FirstOrDefault();	

template.Name = "New Name";
template.ValueToChange = value;

portalContext.UpdateObject(template);
portalContext.SaveChanges();