post https://{hostname}/entityType.rules
Returns all the data validation rules configured for the specified entity type.
Response
Returns all the data validation rules configured for the specified entity type.
xxxxxxxxxx
curl --request POST \
--url https://hostname/entityType.rules \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded'
xxxxxxxxxx
22{
"results": [
{
"attributes": [
"/givenName"
],
"description": "This is a rule to accept only English letters and have a maximum Length of 25",
"uuid": "656670ad-ae24-43a2-8ab1-a8b070c19bb8",
"definition": {
"and": [
{
"match-all": "[a-zA-Z]*"
},
{
"max-length": 25
}
]
}
}
],
"stat": "ok"
}