cURL
curl --request POST \ --url https://api.example.com/api/directory/resources.assign-activity-rate \ --header 'Content-Type: application/json' \ --data ' { "resource_id": "872815618512410358", "date_range": "2019-11-11/2019-12-12", "average_rate": 100, "work_regime_id": "872815618512410358", "trainee": false, "apprentice": false, "indemnity_enabled": true, "compensation_enabled": true, "paid_hourly": false } '
Please be aware that assigning a new activity rate might modify other activity rates periods and recalculate retroactively work and vacation balances.
"872815618512410358"
"2019-11-11/2019-12-12"
100