How to check the percentage Completion of a JOB via REST API

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
How to check the Percentage Completion of a JOB via REST API. I have seen percentComplete attribute in the REST response for JOB Response. Most of the time I am noticing only as 91% and 100%. how to get the job progress from 10% onwards.
Photo of Ramesh

Ramesh

  • 518 Points 500 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Eyal Kaspi

Eyal Kaspi, Employee

  • 970 Points 500 badge 2x thumb
Official Response
Reading the "percentComplete" attribute is the correct way to do that. You can also read the "events" property of the Job object to get the history of updates.

I don't fully understand the problem you are having. What happens if you call the Job REST API before it reaches 91%? Does percentComplete jump from 0% to 91%? Could you please also indicate the "actionType" of the Job and the version of the Delphix Engine.