POST api/Employees/ClockOut?employeeID={employeeID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
employeeID | integer |
Required |
Body Parameters
ClockOutParamsName | Description | Type | Additional information |
---|---|---|---|
GPSLoc | string |
None. |
|
DeviceID | string |
None. |
|
EndShift | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "GPSLoc": "sample string 1", "DeviceID": "sample string 2", "EndShift": true }
application/xml, text/xml
Sample:
<ClockOutParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api"> <DeviceID>sample string 2</DeviceID> <EndShift>true</EndShift> <GPSLoc>sample string 1</GPSLoc> </ClockOutParams>
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/" />