GET api/Employees/GetClockInStatus?employeeID={employeeID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeID

integer

Required

Body Parameters

None.

Response Information

Resource Description

ClockInStatus
NameDescriptionTypeAdditional information
ID

integer

None.

EmployeeID

integer

None.

Project

string

None.

Phase

string

None.

Department

string

None.

Operation

string

None.

Task

string

None.

EmployeeNote

string

None.

IsClockedIn

boolean

None.

IsOnBreak

boolean

None.

AllowInPunch

boolean

None.

BreakButtonPaid

string

None.

BreakButtonUnpaid

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "EmployeeID": 2,
  "Project": "sample string 3",
  "Phase": "sample string 4",
  "Department": "sample string 5",
  "Operation": "sample string 6",
  "Task": "sample string 7",
  "EmployeeNote": "sample string 8",
  "IsClockedIn": true,
  "IsOnBreak": true,
  "AllowInPunch": true,
  "BreakButtonPaid": "sample string 12",
  "BreakButtonUnpaid": "sample string 13",
  "Message": "sample string 14"
}

application/xml, text/xml

Sample:
<ClockInStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api">
  <AllowInPunch>true</AllowInPunch>
  <BreakButtonPaid>sample string 12</BreakButtonPaid>
  <BreakButtonUnpaid>sample string 13</BreakButtonUnpaid>
  <Department>sample string 5</Department>
  <EmployeeID>2</EmployeeID>
  <EmployeeNote>sample string 8</EmployeeNote>
  <ID>1</ID>
  <IsClockedIn>true</IsClockedIn>
  <IsOnBreak>true</IsOnBreak>
  <Message>sample string 14</Message>
  <Operation>sample string 6</Operation>
  <Phase>sample string 4</Phase>
  <Project>sample string 3</Project>
  <Task>sample string 7</Task>
</ClockInStatus>