Update

Definition

https://portal.xpertdoc.com/odata4/v6/DocumentOperations(:documentOperationId)

Parameters

documentOperationId: String

Examples

{
	"@odata.context": "http://portal.xpertdoc.com/odata4/v6/$metadata#DocumentOperations/$entity",
	"DocumentOperationId": "00000000-0000-0000-0000-000000000000",
	"DocumentId": "00000000-0000-0000-0000-000000000000",
	"SequenceNumber": 0,
	"ContractName": "Xpertdoc.DocumentServices.Handler.Operations.ConvertWordDocumentOperation",
	"Status": "Completed",
	"StartTime": "2016-01-01T00:00:00.0000000Z",
	"EndTime": "2016-01-01T00:00:00.0000000Z",
	"InputMetadata": "<!-- Optional metadata. -->",
	"OutputMetadata": null,
	"ErrorMessage": null,
	"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": "AAAAAAAAQWo="
}
var documentOperation = portalContext.DocumentOperations.Where(d => d.DocumentOperationId == Guid.Parse("00000000-0000-0000-0000-000000000000")).FirstOrDefault();	

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

portalContext.UpdateObject(documentOperation);
portalContext.SaveChanges();