---
title: "Update an employment entry from a given employee's employment history."
method: PUT
path: "/people/{id}/employment/{entry_id}"
tags: ["Employee Tables"]
---

# Update an employment entry from a given employee's employment history.

`PUT /people/{id}/employment/{entry_id}`

## Request

- Base URL: `https://api.hibob.com/v1`
- URL: `https://api.hibob.com/v1/people/{id}/employment/{entry_id}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer

This endpoint updates an entry in the employee’s employment history table.<br> <p>Note that the entire employnebt entry will be overwritten with the data provided in your payload. Any columns not included in the payload will be cleared (set to empty values).</p>

## Path parameters

- `id` string, required
- `entry_id` integer, required

## Request body

- EmploymentEntry
  - `id` integer: ID.
  - `reason` string: The reason for this change.
  - `effectiveDate` string, date, required: The date this entry becomes effective.
  - `personalWorkingPatternType` string: indicates whether the working pattern personal (adjusted). Can be null (no personal defined), "custom", "library" or "flexible".
  - `actualWorkingPattern` union
    - WorkingPatternHourly
      - `workingPatternType` string
      - `days` object
        - `sunday` number
        - `monday` number
        - `tuesday` number
        - `wednesday` number
        - `thursday` number
        - `friday` number
        - `saturday` number
      - `hoursPerDay` number
      - `workingPatternId` number
    - WorkingPatternBiWeekly
      - `workingPatternType` string
      - `firstWeek` object
        - `sunday` number
        - `monday` number
        - `tuesday` number
        - `wednesday` number
        - `thursday` number
        - `friday` number
        - `saturday` number
      - `secondWeek` object
        - `sunday` number
        - `monday` number
        - `tuesday` number
        - `wednesday` number
        - `thursday` number
        - `friday` number
        - `saturday` number
      - `hoursPerDay` number
      - `workingPatternId` number
    - WorkingPatternFlexible
      - `workingPatternType` string
      - `weeklyWorkPercentage` number
  - `standardWorkingPattern` object: The working pattern that was selected from the library as standard. If null this means the standard is using the site default.
  - `standardWorkingPatternId` number: The working pattern ID that was selected from the library as standard.
  - `workingPattern` object: The personalized (adjusted) working pattern.
  - `siteWorkingPattern` WorkingPatternHourly
    - `workingPatternType` string
    - `days` object
      - `sunday` number
      - `monday` number
      - `tuesday` number
      - `wednesday` number
      - `thursday` number
      - `friday` number
      - `saturday` number
    - `hoursPerDay` number
    - `workingPatternId` number
  - `hoursInDayNotWorked` number: Based on the actual working pattern
  - `weeklyHours` number: Based on the actual working pattern
  - `fte` number: the FTE percentage for this entry as calculated based on the working pattern
  - `calendarName` string: The selected Holiday calendar
  - `calendarId` integer: The selected Holiday calendar
  - `contract` string: Contract, can be Full-Time, Part-Time, Shifts
  - `type` string: Type as appears in the Employment Type list. Can be Permanent, Temporary, Apprentice, Contractor or any custom value.
  - `salaryPayType` string: Salary pay type, can be Salaries or Hourly.
  - `endEffectiveDate` string, date: For entries that are not active - this is the date this entry became not effective.
  - `activeEffectiveDate` string, date: The effective date of the active working pattern.
  - `isCurrent` boolean: Is 'true' when this is the effective entry which is currently active.
  - `canBeDeleted` boolean
  - `modificationDate` string, date: The date this entry was modified.
  - `CreationDate` string, date: The date this entry was created.
  - `flsaCode` string: FLSA code, can be Exempt or Non-Exempt.
  - `change` object: Details of the last change and the ID of the user who updated this entry
    - `reason` string
    - `changedBy` string
    - `changedById` string

## Response `200`

Entry updated successfully

---

[API](https://skmtc.dev/hibob/apis/employee-data-api.md) - [All operations](https://skmtc.dev/hibob/apis/employee-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hibob/apis/employee-data-api/revisions/9ac25373a355?raw)
