Below is the JSON that I put. 3x Net Inc is the company name. Now I can just change the company name for each new company, and update the text file and copy and past it into the API to create it.
{
"name": "Test 2024.04.02",
"description": "Test 2024.04.02",
"type": "automatic",
"exclude_deactivated_users": true,
"ruleset": {
"status": "READY",
"operator": "OR",
"sets": [
{
"id": "27986329-3a51-04",
"rules_operator": "AND",
"rules": [
{
"id": "04c64849-d18d-2b",
"type": "BranchMembership",
"payload": {
"branch_ids": [
2
],
"branch_ids_descendants": [
{
"branch_id": 2,
"descendants": false
}
]
}
},
{
"id": "128262a8-db05-de",
"type": "UserAdditionalField",
"payload": {
"field": "27",
"predicate": {
"text": [
"3x NET INC"
],
"operator": "equal"
}
}
}
]
},
{
"id": "d319354f-231b-cc",
"rules_operator": "AND",
"rules": [
{
"id": "407ec588-7768-91",
"type": "BranchMembership",
"payload": {
"branch_ids": [
7
],
"branch_ids_descendants": [
{
"branch_id": 7,
"descendants": false
}
]
}
},
{
"id": "93687ab6-dfac-94",
"type": "UserAdditionalField",
"payload": {
"field": "27",
"predicate": {
"text": [
"3x NET INC"
],
"operator": "equal"
}
}
}
]
}
]
}
}