Test Data Management
- Test Data Management 10.5.1
- All Products
POST http(s)://<host>:<port>/api/public/tdm/v1/projects/{projectId}/columns/advanceruleassignments
Header
| Description
|
---|---|
accept
| Use the following value:
application/json
|
Authorization
| Required. Use the following value:
Basic <user name>
|
Parameter
| Description
|
---|---|
projectId
| ID of the project that contains the job.
|
Property
| Data Type
| Description
|
---|---|---|
id
| Integer
| Existing rule assignment ID.
|
name
| String
| Name of the advanced masking rule that you want to assign.
|
rule_id
| Integer
| Required. Rule ID number.
|
policy
| Integer
| Policy ID number. The policy must contain the rule you want to use. If you enter the policy name, you do not need to enter the rule ID.
|
join_condition
| String
| Required to perform expression cascade if you include columns from more than one source input tables.
|
input_map port id
| Integer
| Required. Column ID number of the source column.
|
input_map rule_port_id
| Integer
| Required. Rule port ID number of the input column that you want to mask.
|
output_map port id
| Integer
| Required. Column ID number of the target column.
|
output_map rule_port_id
| Integer
| Required. Rule port ID number of the output column.
|
POST http://<host>:6605/api/public/tdm/v1/projects/5/columns/advanceruleassignments
{ "id": 0, "name": "Fk", "rule_id": 605, "policy": 0, "join_condition": "string", "input_map": [ { "port_id": 3618, "rule_port_id": 409 } ], "output_map": [ { "port_id": 3618, "rule_port_id": 408 } ] }
{ "id": 5, "name": null, "policy": 201, "rule_id": 604, "join_condition": "", "input_map": [ { "port_id": 3618, "rule_port_id": 406 } ], "output_map": [ { "port_id": 3618, "rule_port_id": 407 } ] }