Show menu Show search

Welcome to Bottomline Customer Support

Search frequently asked questions

Ask your question by entering it here, or choose from the list of frequently asked questions below.

Have you got the .NET code required for the remote V-Series Server to update its packages?

There are 2 requests involved:

POST to http://yourserver/manage/updateVerify/ with no data in the body to start the verify update proces

GET to http://yourserver/manage/verifyUpdateStatus which will return JSON that contains status information about the progress of the update.

// request update

using (var client = new HttpClient())

{

var updateResponse = client.PostAsync(baseUrl + "manage/updateVerify/", null).Result;

var updateResultInfo = updateResponse.Content.ReadAsStringAsync().Result;

if (updateResponse.StatusCode != HttpStatusCode.OK)

{

LogWait("Failed to request server to update:", updateResultInfo);

return;

}

while(true)

{

System.Threading.Thread.Sleep(1000);

var progress = JsonConvert.DeserializeObject<UpdatingProgress>(client.GetStringAsync(baseUrl + "manage/verifyUpdateStatus").Result);

Log(progress);

if (progress==null || progress.Status==ProgressStatus.Completed || progress.Status== ProgressStatus.CompletedWithErrors)

break;

}

}

Did this answer your question?

Your feedback will help us to keep improving this website.

Yes: No: