AlphaAlpha Docs
API ReferenceHr employee

Dynamic Search Post_ Employee

POST
/hr/employees/dynamic-search
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/hr/employees/dynamic-search" \  -H "Content-Type: application/json" \  -d '{    "filters": {      "property1": null,      "property2": null    },    "page": 0,    "search": [      "string"    ],    "size": 0,    "sort": [      {        "ascending": true,        "field": "string"      }    ]  }'
{
  "content": [
    {
      "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",
      "managerId": "string",
      "number": "string",
      "phone": "string",
      "startDate": "2019-08-24",
      "status": "ACTIVE",
      "subsidiaryId": "string",
      "tenantId": "string",
      "updated": "2019-08-24T14:15:22Z",
      "updatedBy": "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
          }
        ]
      }
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 0,
  "numberOfElements": 0,
  "pageable": {
    "offset": 0,
    "pageNumber": 0,
    "pageSize": 0,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 0,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 0,
  "totalPages": 0
}
{
  "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"
}