API ClockEvents

See API Specification

ClockEvents GET (single)

Version Added: In Development

Gets a single clockevent.

ClockEventNum: Required in the URL.

Example Request:
GET /clockevents/112

Example Response:

{
}

200 OK
404 NotFound (with explanation)

ClockEvents GET (multiple)

Version Added: In Development

Gets a list of clockevents.

Parameters: All optional.

EmployeeNum : FK to employee.EmployeeNum.
ClockStatus: Either "Home", "Lunch", or "Break".
ClinicNum: FK to clinic.ClinicNum.
TimeEntered1 : String in "yyyy-MM-dd" format.

Example Requests:
GET /clockevents?EmployeeNum=13

Example Response:

[
{
},
{
},
etc...
]

200 OK
400 BadRequest (with explanation)
404 NotFound (with explanation)