GET_TIMESHEET
Self-service web service that returns Timesheet and Exception data for an employee.
More information: https://it.byu.edu
Contact Info: api@byu.edu
Base URL: /domains/erp/hr/get_timesheet
Version: v1
Default response content-types: application/json
Schemes: https
Summary
Path | Operation | Description |
---|---|---|
/* | GET |
Paths
GET /*
Uses default content-types: application/json
- 200 OK
-
The default response type is JSON. Add an Accept header with value=application/xml to return an XML response.
Example for application/json{
"timesheet": {
"exception": [
{
"employee_record": "0",
"exception_description": "'Out' punch recorded, no 'In'",
"exception_id": "BYUNOIN",
"punch_date": "2017-04-09"
},
{
"employee_record": "2",
"exception_description": "'In' punch recorded, no 'Out'",
"exception_id": "BYUNOOUT",
"punch_date": "2017-04-05"
}
],
"punch": [
{
"employee_record": "0",
"hours_worked": "1.6",
"punch_date": "2017-03-26",
"punch_time": "07.34.50.000000",
"punch_type": "In",
"sequence_number": "1"
},
{
"employee_record": "0",
"hours_worked": "0.0001",
"punch_date": "2017-03-26",
"punch_time": "09.10.22.000000",
"punch_type": "Out",
"sequence_number": "2"
},
{
"employee_record": "0",
"hours_worked": "1.4",
"punch_date": "2017-03-26",
"punch_time": "18.18.36.000000",
"punch_type": "In",
"sequence_number": "3"
},
{
"employee_record": "0",
"hours_worked": "0.0001",
"punch_date": "2017-03-26",
"punch_time": "19.42.39.000000",
"punch_type": "Out",
"sequence_number": "4"
}
]
}
}
Schema definitions
- exception_id: exception_id
-
- employee_record: employee_record
-
- punch_date: punch_date
-
- exception_description: exception_description
-
- timesheet: timesheet
-
- employee_record: employee_record
-
- punch_date: punch_date
-
- sequence_number: sequence_number
-
- punch_type: punch_type
-
- punch_time: punch_time
-
- hours_worked: hours_worked
-
Service Path:
/domains/erp/hr/get_timesheet
Domain or University API:
/domains/erp/hr/get_timesheet