GET_TIMESHEET2
Get Timesheet/Exception data for an employee.
More information: https://it.byu.edu
Contact Info: api@byu.edu
Base URL: /domains/erp/hr/get_timesheet2
Version: v1
Default response content-types: application/json
Schemes: https
Summary
Path | Operation | Description |
---|---|---|
/* | GET |
Paths
GET /*
byu_id | BYU ID | query | string , must match ^[0-9]{9}$ | |
employee_record | Employee Record Number | query | string , must match ^[0-9]{1,3}$ |
Uses default content-types: application/json
- 200 OK
-
Default response type is JSON
Example for application/json{
"timesheet": {
"dates": [
{
"date": "2017-11-05",
"has_exception": "true",
"punches": {
"punch": [
{
"clock_in": "true",
"deletable_pair": "0",
"hours_worked": "0",
"punch_time": "08:00:00",
"sequence_number": "1"
},
{
"clock_in": "false",
"punch_time": {
}
}
]
}
},
{
"date": "2017-11-06",
"has_exception": "false",
"punches": {
"punch": [
{
"clock_in": "true",
"deletable_pair": "0",
"hours_worked": "2",
"punch_time": "08:00:00",
"sequence_number": "3"
},
{
"clock_in": "false",
"deletable_pair": "0",
"hours_worked": "0",
"punch_time": "10:00:00",
"sequence_number": "4"
},
{
"clock_in": "true",
"deletable_pair": "0",
"hours_worked": "0",
"punch_time": "11:00:00",
"sequence_number": "5"
}
]
}
}
]
}
}
Schema definitions
- date: date
-
- has_exception: has_exception
-
- punches: punches
-
One of the punches in each set of punches with matching numbers can be deleted.
- timesheet: timesheet
-
- sequence_number: sequence_number
-
- punch_time: punch_time
-
- deletable_pair: deletable_pair
-
- hours_worked: hours_worked
-
- clock_in: clock_in
-
- punch: punch
-
- dates: dates
-
Service Path:
/domains/erp/hr/get_timesheet2
Domain or University API:
/domains/erp/hr/get_timesheet2