patch http://portal.xpertdoc.com/odata4/v5/Batches(:batchId)
Definition
https://portal.xpertdoc.com/odata4/v6/Batches(:batchId)
Parameters
batchId: String
Examples
{
"odata.type": "Xpertdoc.Portal.Batch",
"BatchGroupId": "00000000-0000-0000-0000-000000000000",
"BatchId": "00000000-0000-0000-0000-000000000000",
"CreatedByUserProfileId": "00000000-0000-0000-0000-000000000000",
"CreatedDate": "2016-01-01T00:00:00.0000000Z",
"Description": "",
"EndTime": "2016-01-01T00:00:00.0000000Z",
"ErrorMessage": null,
"ExecutedByUserProfileId": "00000000-0000-0000-0000-000000000000",
"InputMetadata": "",
"IsArchived": false,
"ModifiedByUserProfileId": "00000000-0000-0000-0000-000000000000",
"ModifiedDate": "2016-01-01T00:00:00.0000000Z",
"Name": "New Name",
"OutputMetadata": null,
"StartTime": "2016-01-01T00:00:00.0000000Z",
"Status": "Completed",
"Timestamp": "AAAAAAAEqbA=",
"WorkerName": "Xpertdoc.DocumentServices.AzureService_IN_0"
}
var batch = portalContext.Batches.Where(b => b.BatchId == Guid.Parse("00000000-0000-0000-0000-000000000000")).FirstOrDefault ();
batch.Name = "New Name";
batch.ValueToChange = value;
portalContext.Update(batch);
portalContext.SaveChanges();