transfer-hours |
GET /api/TimeLog/transfer-hours |
Endpoint level permissions |
Transfers overtime hours for an employee to be transfered from one project to another
@param test
@param bums
|
transfer-request |
GET /api/TimeLog/transfer-request |
Open |
Handles response from email button links to approve or deny the overtime transfer requests
|
punch-clock |
POST /api/TimeLog/punch-clock |
Endpoint level permissions |
Either clocks the user IN or OUT, depending on his current state.
Clock IN Params:
- job_id (int)
- service_id (int)
- user_id (int) optional, if blank, requesting user himself is clocked in
- reason_not_on_site (string)
- time_in_notes (string)
- onSiteEstimateMin (int) minutes
- currentLat
- currentLong
- position_accuracy
Clock IN On-site Params:
- id (int): time log id
- currentLat
- currentLong
- position_accuracy
Clock OUT Params:
- id (int): time log id
- request (string): should be "clockOut". This is what triggers the clock OUT request state, instead of a clock in on site
- payBoosts: (obj)
{payBoostId : 1 or 2, otherpayboostId : 1 or 2}
- regular_hours
- overtime_hours_15x
- overtime_hours_2x
- overtime_hours_2.5x
- time_out_notes
- currentLat
- currentLong
- position_accuracy
|
save |
POST /api/TimeLog/save |
Admin or Module WRITE |
Save time log. This should not be used for clock INs or OUTs. Only for modifying timelogs
|
delete |
POST /api/TimeLog/delete |
Admin or Module WRITE |
|
save-batch |
POST /api/TimeLog/save-batch |
Admin or Module WRITE |
|
get |
GET /api/TimeLog/get |
Admin or Module READ |
|
count-reviewable-logs |
GET /api/TimeLog/count-reviewable-logs |
Endpoint level permissions |
Accepts a user_id, and determines if they need to review any time logs or expenses
|
get-reviewable-logs |
GET /api/TimeLog/get-reviewable-logs |
Endpoint level permissions |
|
find |
GET /api/TimeLog/find |
Admin or Module READ |
|
compileCachedRelations |
GET /api/TimeLog/compileCachedRelations |
Endpoint level permissions |
|