Overtime
Approve an overtime entry
Changed onApproves one approval step of a pending entry on behalf of the API key's member: their own step first if they are an approver, otherwise the next pending one (an admin key can approve for any approver). In chains that need more than one approval the entry stays pending until the last step is approved and is credited then, so call it once per step and read the entry before retrying after a lost response. Send a lower recognized_amount to approve less than was logged; a reason is then required.
post/overtime-entries/{id}/approve
Request
- Base URLhttps://api.absentify.com/api/v1
- URLhttps://api.absentify.com/api/v1/overtime-entries/{id}/approve
- AuthAPI key in header X-API-KEY
Path parameters
idinteger required
The id of the overtime entry.
Request body
Response
Successful response
Changes
- info
endpoint added
- info