Test Data Management
- Test Data Management 10.5
- All Products
POST http(s)://<host>:<port>/api/public/tdm/v1/projects/{projectId}/metadata/connection
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
| For each connection from which you want to import metadata, 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/connection
{ "connectionId": "U:R2VMLk5yEembepb_DyGynw", "datasources": [ { "name": "LOYALTY", "sources": [ { "name": "ADDRESS" } ] } ], "schedule": 0 }
You can view the imported metadata in Test Data Manager.{ "id": 201, "name": "Import from Source", "description": "Connection: SRC_OM1553458834135", "status": "In Queue", "start_date": 0, "end_date": 0, "job_type": "Import from Source", "created_by_name": null, "creation_date": 1553493620962, "creation_date_str": "03/25/2019 11:30:20 AM", "last_updated_date": 1553493620962, "last_updated_date_str": "03/25/2019 11:30:20 AM", "last_updated_by_name": null, "schedule_on": 0, "paused_at_step": 0, "percent_complete": 0, "job_action_type": null, "child_job_id": -1 }