Employee
Employee
General Employee Data
Find Employee
This endpoint is use find an employee and return their assigned location, a reported location (such as a hot desk check-in or meeting.) A real-time location can also be returned if an indoor positioning system has been configured and data made available in OSIS.
Note: Location awareness in OSIS is opt-in for end users. A user may choose to not show their meeting or check-in locations.
/api/floorplan/user_location//
User IDs can be obtained from the User endpoint:
GET /api/user/
Sample Call and Response
GET http://localhost:8000/api/floorplan/user_location/1/
[
{
"user": 1,
"locations": [
{
"assigned": [
{
"location": 4628,
"building": "HQ",
"floor": "19",
"room": "109"
}
],
"reported": [
{
"type": "check-in",
"location": 4636,
"building": "HQ",
"floor": "19",
"room": "117",
"from": "2020-05-01T13:00:00Z",
"expected_to": "2020-05-01T18:00:00Z"
}
],
"real_time": []
}
]
}
]