Request example for the POST rules and classifiers API

This section shows an example of a request from this API. For more information about each parameter shown in the request, see Request input for the POST rules and classifiers API

'
{
    "dlp_version": "10.1.0",
    "policy_name": "CV in English DLP",
    "predefined_policy": "false",
    "description": "",
    "policy_level": {
        "level": 1,
        "data_type": "NETWORKING"
   },
    "rules": [
        {
            "rule_name": "CV in English",
           "enabled": "true",
           "parts_count_type": "CROSS_COUNT",
            "condition_relation_type": "AND",
            "classifiers": [
                {
                    "classifier_name": "CV and Resume in English",
                    "predefined": "true",
                    "position": 1,
                    "threshold_type": "CHECK_GREATER_THAN",
                    "threshold_value_from": 1,
                    "threshold_calculate_type": "UNIQUE"
                }
            ]
        }
    ]
}'