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

clock_in: string , x ∈ { true , false }

True for an in punch, False for an out punch.

date: string (date)

Date of Punch in format YYYY-MM-DD

dates: object

date: date
has_exception: has_exception
punches: punches

deletable_pair: integer

One of the punches in each set of punches with matching numbers can be deleted.

get_timesheet: object

timesheet: timesheet

has_exception: string , x ∈ { true , false }

hours_worked: number (double)

punch: object

sequence_number: sequence_number
punch_time: punch_time
deletable_pair: deletable_pair
hours_worked: hours_worked
clock_in: clock_in

punch_time: string (date-time)

punches: object

punch: punch

sequence_number: integer (up to 15 chars)

timesheet: object

dates: dates
Service Path: 
/domains/erp/hr/get_timesheet2
Domain or University API: 
/domains/erp/hr/get_timesheet2

Community

 

Don't see your question listed here? Ask!