Discussions

Ask a Question
Back to All

Employee attribute: weekly_hours vs weekly_working_hours

Hello,

every employee seems to have an attribute weekly_workings_hours. However the documentation specifies an attribute of weekly_hours for the update and create endpoints. I updated the weekly_hours via the patch method and the api responded with an id, indicating a success. But no attribute weekly_hours appears on the updated the employee and weekly_working_hours is not effected.

This may be a possible bug or a typo in the documentation. Should the api respond with a success for an unknown attribute?

Best regards.