Update

Definition

https://portal.xpertdoc.com/odata4/v6/BatchOperations(:batchOperationId)

Parameters

batchOperationId: String

Examples

{
	"@odata.context": "https://portal.xpertdoc.com/odata4/v6/$metadata#BatchOperations/$entity",
	"BatchOperationId": "00000000-0000-0000-0000-000000000000",
	"BatchId": "00000000-0000-0000-0000-000000000000",
	"SequenceNumber": 0,
	"ContractName": "Contract.Name",
	"Status": "Created",
	"StartTime": null,
	"EndTime": null,
	"InputMetadata": "InputMetadata",
	"OutputDocumentName": null,
	"OutputDocumentType": null,
	"OutputDocumentMetadata": null,
	"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": "AAAAAAAEqd8="
}
var batchOperation = portalContext.BatchOperations.Where(b => b.BatchOperationId == Guid.Parse("00000000-0000-0000-0000-000000000000")).FirstOrDefault ();

batchOperation.Name = "New Name";
batchOperation.ValueToChange = value;
	
portalContext.UpdateObject(batchOperation);
portalContext.SaveChanges();