AlphaAlpha Docs
API ReferenceHr employee

Get current employee

Retrieves the employee record for the currently logged in user

GET
/hr/employees/me
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/hr/employees/me"
{
  "address": {
    "city": "string",
    "country": "string",
    "houseNumber": "string",
    "id": "string",
    "latitude": 0.1,
    "longitude": 0.1,
    "postalCode": "string",
    "street": "string"
  },
  "attachments": [
    {
      "blobId": "string",
      "created": "2019-08-24T14:15:22Z",
      "extension": "string",
      "fileSize": 0,
      "name": "string",
      "type": "IMAGE"
    }
  ],
  "avatar": "string",
  "contracts": [
    {
      "attachments": [
        {
          "blobId": "string",
          "created": "2019-08-24T14:15:22Z",
          "extension": "string",
          "fileSize": 0,
          "name": "string",
          "type": "IMAGE"
        }
      ],
      "currency": "string",
      "endDate": "2019-08-24",
      "hours": 0.1,
      "hoursType": "WEEKLY",
      "id": "string",
      "maxHours": 0.1,
      "notes": "string",
      "salary": 0.1,
      "salaryType": "HOURLY",
      "startDate": "2019-08-24",
      "type": "PERMANENT"
    }
  ],
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "department": "string",
  "email": "string",
  "endDate": "2019-08-24",
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "firstName": "string",
  "fullName": "string",
  "githubUsername": "string",
  "hourSettings": {
    "currency": "string",
    "hourlyRate": 0.1,
    "requireTaskLink": true,
    "trackingStartDate": "2019-08-24",
    "weeklyHourTarget": 0.1
  },
  "id": "string",
  "jobTitle": "string",
  "lastName": "string",
  "linkedinUrl": "string",
  "manager": {
    "avatar": "string",
    "department": "string",
    "email": "string",
    "fullName": "string",
    "id": "string",
    "jobTitle": "string"
  },
  "managerId": "string",
  "phone": "string",
  "startDate": "2019-08-24",
  "status": "ACTIVE",
  "subsidiaryId": "string",
  "tenantId": "string",
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "user": {
    "displayName": "string",
    "id": "string",
    "username": "string"
  },
  "userId": "string",
  "vacationBalances": [
    {
      "adjustments": 0.1,
      "carriedOver": 0.1,
      "notes": "string",
      "totalDays": 0.1,
      "usedDays": 0.1,
      "year": 0
    }
  ],
  "workSchedule": {
    "entries": [
      {
        "dayOfWeek": "MONDAY",
        "isWorkDay": true,
        "slots": [
          {
            "endTime": "string",
            "startTime": "string"
          }
        ],
        "workDay": 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"
}