AlphaAlpha Docs
API ReferenceHr employee location

Update current employee's location tracking settings

PUT
/hr/location/settings/me
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

locationTrackingEnabled*boolean

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "http://localhost:18080/api/v1/hr/location/settings/me" \  -H "Content-Type: application/json" \  -d '{    "locationTrackingEnabled": true  }'
{
  "employeeId": "string",
  "id": "string",
  "locationTrackingEnabled": true
}
{
  "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"
}