POST api/Employees/ClockIn?employeeID={employeeID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeID | integer |
Required |
Body Parameters
ClockInParams| Name | Description | Type | Additional information |
|---|---|---|---|
| Project | integer |
None. |
|
| Phase | integer |
None. |
|
| Task | integer |
None. |
|
| Department | integer |
None. |
|
| Operation | integer |
None. |
|
| GPSLoc | string |
None. |
|
| DeviceID | string |
None. |
|
| EmployeeNote | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Project": 1,
"Phase": 2,
"Task": 3,
"Department": 4,
"Operation": 5,
"GPSLoc": "sample string 6",
"DeviceID": "sample string 7",
"EmployeeNote": "sample string 8"
}
application/xml, text/xml
Sample:
<ClockInParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api"> <Department>4</Department> <DeviceID>sample string 7</DeviceID> <EmployeeNote>sample string 8</EmployeeNote> <GPSLoc>sample string 6</GPSLoc> <Operation>5</Operation> <Phase>2</Phase> <Project>1</Project> <Task>3</Task> </ClockInParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />