Test Data Management
- Test Data Management 10.5.1
- All Products
POST http(s)://<host>:<port>/api/public/tdm/v1/projects/{projectId}/metadata/pcrepo
Header
| Description
|
---|---|
accept
| Use the following value:
application/json
|
Authorization
| Required. Use the following value:
Basic <user name>
|
Property
| Data Type
| Description
|
---|---|---|
projectId
| Integer
| ID of the project into which you want to import the metadata.
|
datasources
| String
| Enter the following details:
|
schedule
| Boolean
| Default is 0 and runs the job immediately.
|
POST http://<host>:6605/api/public/tdm/v1/projects/201/metadata/pcrepo
{ "folderName": "CI_TEST_FOLDER", "datasources": [ { "name": "FlatFile", "sources": [ { "name": "EMPLOYEEBANKDETAILS" } ] } ], "schedule": 0 }
You can view the imported metadata in Test Data Manager.{ "id": 202, "name": "Import from PC", "description": "Folder: CI_TEST_FOLDER", "status": "In Queue", "start_date": 0, "end_date": 0, "job_type": "Import from PC", "created_by_name": null, "creation_date": 1553503994089, "creation_date_str": "03/25/2019 02:23:14 PM", "last_updated_date": 1553503994089, "last_updated_date_str": "03/25/2019 02:23:14 PM", "last_updated_by_name": null, "schedule_on": 0, "paused_at_step": 0, "percent_complete": 0, "job_action_type": null, "child_job_id": -1 }