Invoking Test Data Management REST APIs Using cURL

Invoking Test Data Management REST APIs Using cURL

Monitor the Workflow Generation Job

Monitor the Workflow Generation Job

You can monitor the status of the workflow generation job to confirm that it finishes successfully.
You can run the
/tdm/v1/jobs/{jobId}
API to view the status of a job.
  1. Enter the following cURL API request:
    curl -X GET "http://<host>:<port>/api/public/tdm/v1/jobs/3418" -H "accept: application/json" -H "authorization: Basic TmF0aXZlL0FkbWluaXN0cmF0b3I6QWRtaW5pc3RyYXRvcg=="
  2. Press Enter.
  3. Review the response.
    The following code is the response that the sample request returns:
    {"id":3418,"name":"Generate Workflow","description":"Plan: Plan_mask_test", "status":"In Queue","start_date":0,"end_date":0, "job_type":"Generate Workflow","created_by_name":null, "creation_date":1561633089932,"creation_date_str":"06/27/2019 04:15:09 PM", "last_updated_date":1561633089932,"last_updated_date_str":"06/27/2019 04:15:09 PM", "last_updated_by_name":null,"schedule_on":0,"paused_at_step":0,"percent_complete":0, "job_action_type":null,"child_job_id":-1}
The response indicates that the generate workflow job is in queue.

0 COMMENTS

We’d like to hear from you!