AlphaAlpha Docs
API ReferenceHr employee location

Get location history for an employee (admin)

GET
/hr/location/history/{employeeId}
AuthorizationBearer <token>

In: header

Path Parameters

employeeId*string

Query Parameters

start*string
Formatdate-time
end*string
Formatdate-time

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/hr/location/history/string?start=2019-08-24T14%3A15%3A22Z&end=2019-08-24T14%3A15%3A22Z"
[
  {
    "accuracy": 0.1,
    "employeeId": "string",
    "employeeName": "string",
    "latitude": 0.1,
    "longitude": 0.1,
    "timestamp": "2019-08-24T14:15:22Z"
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}