Employee Awards
get_ employee_ awards
Get list of employee awards for the authenticated user's organization
Parameters
pagenumber1Page number for pagination
limitnumber10Number of items per page
searchstringSearch term for award name
relationsArray<string>Relations to include (e.g., ["employee"])
employeeIdstring<uuid>Filter by employee ID
yearstringFilter by award year
sortBystringnameyearcreatedAtupdatedAtSort awards by field
sortOrderstringASCDESCDESCSort order
get_ employee_ award
Get a specific employee award by ID
Parameters
idstring<uuid>requiredThe employee award ID
relationsArray<string>Relations to include (e.g., ["employee"])
create_ employee_ award
Create a new employee award in the authenticated user's organization
Body
award_ dataobjectrequiredThe data for creating the employee award
update_ employee_ award
Update an existing employee award
Parameters
idstring<uuid>requiredThe employee award ID
award_ dataobjectrequiredThe data for updating the employee award
delete_ employee_ award
Delete an employee award
Parameters
idstring<uuid>requiredThe employee award ID
get_ employee_ awards_ by_ employee
Get awards for a specific employee
Parameters
employeeIdstring<uuid>requiredThe employee ID
pagenumber1Page number for pagination
limitnumber10Number of items per page
yearstringFilter by award year
sortBystringnameyearcreatedAtyearSort awards by field
sortOrderstringASCDESCDESCSort order
get_ employee_ awards_ by_ year
Get employee awards for a specific year
Parameters
yearstringrequiredThe award year
pagenumber1Page number for pagination
limitnumber10Number of items per page
employeeIdstring<uuid>Filter by employee ID
relationsArray<string>Relations to include
sortBystringnamecreatedAtemployeenameSort awards by field
sortOrderstringASCDESCASCSort order
get_ employee_ awards_ count
Get employee awards count in the authenticated user's organization
Parameters
employeeIdstring<uuid>Filter by employee ID
yearstringFilter by award year
searchstringSearch term for award name
get_ employee_ awards_ statistics
Get employee awards statistics for the authenticated user's organization
Parameters
employeeIdstring<uuid>Filter by specific employee ID
yearstringFilter by award year
startDatestringStart date for statistics (ISO format)
endDatestringEnd date for statistics (ISO format)
groupBystringemployeeyearmonthGroup statistics by field
bulk_ create_ employee_ awards
Create multiple employee awards in bulk for the authenticated user's organization
Body
awardsArray<object>requiredArray of employee award data to create
bulk_ update_ employee_ awards
Update multiple employee awards in bulk
Body
awardsArray<object>requiredArray of employee award updates
bulk_ delete_ employee_ awards
Delete multiple employee awards in bulk
Parameters
idsArray<string>requiredArray of employee award IDs to delete