Invoking Test Data Management REST APIs Using cURL

Invoking Test Data Management REST APIs Using cURL

View Plans

View Plans

To identify the plan that you want to run, view a list of plans in the project.
You can run the
/tdm/v1/projects/{projectID}/plans
API to identify the plan ID.
  1. Enter the following cURL API request:
    curl -X GET "http://<host>:<port>/api/public/tdm/v1/projects/2412/plans" -H "accept: application/json" -H "authorization: Basic TmF0aXZlL0FkbWluaXN0cmF0b3I6QWRtaW5pc3RyYXRvcg=="
  2. Press Enter.
  3. Review the response to identify the plan ID.
    The following code is the response that the sample request of step 1 returns:
    [ {"id":2211,"name":"Plan_mask_test", "description":null,"created_by_name":"Administrator", "creation_date":1561626239405,"creation_date_str":"06/27/2019 02:33:59 PM", "last_updated_date":1561626239405,"last_updated_date_str":"06/27/2019 02:33:59 PM", "last_updated_by_name":"Administrator", "status_type":"Created"} ]
You identify the plan ID for the
Plan_mask_test
plan is 2211.

0 COMMENTS

We’d like to hear from you!