Update

Definition

https://portal.xpertdoc.com/odata/v4/Batches(guid':batchId')

Parameters

batchId: String

Examples

{
	"odata.metadata": "http://portal.xpertdoc.com/odata/v4/$metadata#Batches/@Element",
	"BatchId": "00000000-0000-0000-0000-000000000000",
	"BatchGroupId": "00000000-0000-0000-0000-000000000000",
	"Name": "Template execution",
	"Description": "00000000-0000-0000-0000-000000000000",
	"Status": "Completed",
	"StartTime": "2016-01-01T00:00:00.0000000Z",
	"EndTime": "2016-01-01T00:00:00.0000000Z",
	"InputMetadata": "",
	"OutputMetadata": null,
	"IsArchived": false,
	"WorkerName": "Xpertdoc.DocumentServices.AzureService_IN_0",
	"ErrorMessage": null,
	"ExecutedByUserProfileId": "00000000-0000-0000-0000-000000000000",
	"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": "AAAAAAAEqdc="
}
var url = "http://portal.xpertdoc.com/odata/v4/Batches(guid'00000000-0000-0000-0000-000000000000')"; 
  
var values = new Dictionary<string, string>
{   
        { "ValueToChange", "Value"},  
        { "Name", "New Name"} 
};
var value = await Update(url, values);