Authorization: Bearer ********************{
"working_hours_divisor": "173",
"max_daily_hours": 4,
"max_weekly_hours": 20,
"max_monthly_hours": 60,
"auto_reject": true,
"prorate_by_minutes": true,
"weekend_rate": 2.0,
"public_holiday_rate": 3.0,
"tiering_rules": [
{
"from_hour": 0,
"to_hour": 2,
"rate": 1.5
},
{
"from_hour": 3,
"to_hour": 4,
"rate": 2.0
},
{
"from_hour": 5,
"to_hour": null,
"rate": 3.0
}
],
"exceptions": [
{
"day": "National Holiday",
"rate": 3.0
},
{
"day": "Religious Holiday",
"rate": 5.0
}
]
}{
"status": "success",
"message": "Create overtime configuration successfully",
"data": {
"working_hours_divisor": "173",
"max_daily_hours": 4,
"max_weekly_hours": 20,
"max_monthly_hours": 60,
"auto_reject": true,
"prorate_by_minutes": true,
"weekend_rate": 2,
"public_holiday_rate": 3,
"tenant_id": 1,
"author_id": 3,
"updated_at": "2025-09-28T03:30:23.000000Z",
"created_at": "2025-09-28T03:30:23.000000Z",
"id": 1,
"tiering_rules": [
{
"id": 1,
"overtime_configuration_id": 1,
"from_hour": 1,
"to_hour": 2,
"rate": "1.50",
"created_at": "2025-09-28T03:30:23.000000Z",
"updated_at": "2025-09-28T03:30:23.000000Z"
},
{
"id": 2,
"overtime_configuration_id": 1,
"from_hour": 3,
"to_hour": 4,
"rate": "2.00",
"created_at": "2025-09-28T03:30:23.000000Z",
"updated_at": "2025-09-28T03:30:23.000000Z"
},
{
"id": 3,
"overtime_configuration_id": 1,
"from_hour": 5,
"to_hour": null,
"rate": "3.00",
"created_at": "2025-09-28T03:30:23.000000Z",
"updated_at": "2025-09-28T03:30:23.000000Z"
}
],
"exceptions": [
{
"id": 1,
"overtime_configuration_id": 1,
"day": "National Holiday",
"rate": "3.00",
"created_at": "2025-09-28T03:30:23.000000Z",
"updated_at": "2025-09-28T03:30:23.000000Z"
},
{
"id": 2,
"overtime_configuration_id": 1,
"day": "Religious Holiday",
"rate": "5.00",
"created_at": "2025-09-28T03:30:23.000000Z",
"updated_at": "2025-09-28T03:30:23.000000Z"
}
]
}
}