curl --location --request PATCH '/v2/monitoring/9c1e4b7a-0000-4000-8000-000000000d01' \
--header 'x-api-key: SUA_CHAVE_DE_API' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Carteira safra 26/27",
"description": "Produtores de soja do MT",
"startDate": "2026-09-01",
"endDate": "2027-08-31",
"modules": [
{
"moduleKey": "PROTESTS",
"frequencyDays": 15,
"criterion": "SPECIFIC_CHANGE",
"conditions": {
"logic": "OR",
"conditions": [
{
"field": "totalProtests",
"operator": "GREATER_THAN",
"value": 0
},
{
"field": "totalValue",
"operator": "GREATER_THAN_OR_EQUAL",
"value": 50000
}
]
}
},
{
"moduleKey": "JUDICIAL",
"frequencyDays": 30
}
]
}'