GET api/Employees/CheckPermissions?EmployeeId={EmployeeId}&Project={Project}&GPSLoc={GPSLoc}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
EmployeeId | integer |
Required |
|
Project | integer |
Required |
|
GPSLoc | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CheckPermissionsResultName | Description | Type | Additional information |
---|---|---|---|
CanClockIn | boolean |
None. |
|
Reason | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CanClockIn": true, "Reason": "sample string 2" }
application/xml, text/xml
Sample:
<CheckPermissionsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api"> <CanClockIn>true</CanClockIn> <Reason>sample string 2</Reason> </CheckPermissionsResult>