Skip to main content
PUT
Update an existing employee

Authorizations

X-Auth-Token
string
header
required

Access token obtained from OAuth2 client credentials flow

X-Org-Id
string
header
required

Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).

Path Parameters

employeeId
string
required

Body

application/json
name
object
required
email
string<email>
required
Example:

"john.smith@company.com"

birthGender
enum<string>
required
Available options:
Male,
Female
Example:

"Male"

birthDate
string<date>
required
Example:

"1985-07-23"

hoursWorkedCategory
enum<string>
required
Available options:
UpTo16Hours,
From16To24Hours,
From24To30Hours,
Above30Hours,
Other
Example:

"Above30Hours"

taxCodesPerYear
object

Tax codes for the employee per tax year

Example:
niDetails
object

National Insurance details for the employee

phone
string | null
Example:

"+447700900123"

maritalStatus
enum<string> | null
Available options:
Single,
Married,
Divorced,
Widowed,
CivilPartnership,
FormerCivilPartnership,
SurvivorCivilPartnership
Example:

"Married"

salary
number<decimal>
Example:

35000

employeeCode
string | null

Employee code. An optional identifier for the employee.

Example:

"EMP001"

secondaryEmail
string<email> | null
Example:

"john.secondary@company.com"

address
object
bankAccounts
object[]
studentDetails
object

The student details of the employee

Example:
tags
object[]
previousEmployment
object

Earnings from a previous employer in the same tax year. Used for cumulative tax calculations only. Does not affect FPS reporting.

Example:
gender
string | null
Example:

"Male"

secondaryPhone
string | null
Example:

"+447700900124"

passportNumber
string | null
Example:

"123456789"

previousNames
string[]
Example:
directorDetails
object
isIrregularEmployment
boolean | null
Example:

false

isOffPayrollWorker
boolean | null
Example:

false

workplaceDetails
object
workingDays
object

Configuration of employee's working days

partnerDetails
object
department
string | null
Example:

"Engineering"

jobTitle
string | null
Example:

"Software Engineer"

Response

Employee Updated

message
object
content
object
validationIssues
object[]
messageToken
string