curl --location '/v2/monitoring/' \
--header 'x-api-key: SUA_CHAVE_DE_API' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Carteira safra 30/31",
"description": "Produtores de milho do PR",
"startDate": "2030-01-02",
"endDate": "2031-01-01",
"modules": [
{
"moduleKey": "PROTESTS",
"frequencyDays": 30,
"alertEnabled": true,
"criterion": "ANY_CHANGE"
},
{
"moduleKey": "DEBT"
}
],
"clientIds": [
"7c9e6679-7425-40de-944b-e07fc1f90ae7",
"0e7a3c58-91d4-4b6f-8c2a-5d3b9f1e6a22"
]
}'