curl --request POST \
--url https://sandbox.hurdlr.com/rest/v5/revenue/rule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rule": {
"businessName": "<string>",
"autoClassify": "OFF",
"matchType": "EXACT_NAME",
"id": 123,
"status": "ACTIVE",
"businessId": 123,
"clientId": 123,
"revenueAccountId": 123,
"templateId": 123
},
"applyToPastTransactions": true
}
'