REST API Reference

REST API Reference

POST Ruleassignments

POST Ruleassignments

The POST ruleassignments request assigns a masking rule to a column.

Resource URL

/tdm/v1/projects/{projectId}/columns/ruleassignments

HTTP Request

POST http(s)://
<host>
:
<port>
/api/public/tdm/v1/projects/{projectId}/columns/ruleassignments

Request Header

The request header includes the following headers:
Header
Description
accept
Use the following value:
application/json
Authorization
Required. Use the following value:
Basic <user name>

Request Path Parameters

The request includes the following path parameter:
Parameter
Description
projectId
ID of the project that contains the job.

Request Body

The request body includes the following property values:
Property
Data Type
Description
id
Integer
Existing rule assignment ID
port_id
Integer
Required. Column ID number
name
String
Column name
rule_id
Integer
Required. Rule ID number
policy
Integer
Policy ID number
params
String
Parameter

Sample Request

POST http://<host>:6605/api/public/tdm/v1/projects/5/columns/ruleassignments

Sample Request Body

{ "id": 1, "port_id": 804, "rule_id": 25 }

Sample Response

{ "id": 1, "name": "CUST_ID", "policy": 5, "params": null, "port_id": 804, "rule_id": 25 }

0 COMMENTS

We’d like to hear from you!