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

employee_record: object

value: integer (up to 3 chars)

exception: object

exception_id: exception_id
employee_record: employee_record
punch_date: punch_date
exception_description: exception_description

exception_description: object

value: string (up to 30 chars)

exception_id: object

value: string , x ∈ { BYUNOIN , BYUNOOUT }

get_timesheet: object

timesheet: timesheet

hours_worked: object

value: number (double)

punch: object

employee_record: employee_record
punch_date: punch_date
sequence_number: sequence_number
punch_type: punch_type
punch_time: punch_time
hours_worked: hours_worked

punch_date: object

value: string (date)

punch_time: object

value: string (date-time)

punch_type: object

value: string , x ∈ { In , Out }

sequence_number: object

value: integer (up to 15 chars)

timesheet: object

punch: punch
exception: exception
Service Path: 
/domains/erp/hr/get_timesheet
Domain or University API: 
/domains/erp/hr/get_timesheet

Community

 

Don't see your question listed here? Ask!