Send a CSV of changes to existing employees

Needs permission employee:write, or any of employee-payroll:write, employee-payroll-id:write, employee-pay-schedule:write, working-pattern:write.

One row per employee, found by the column matchBy names: by default the id column (the Employee ID the employee export leads with), or the Payroll ID, NI number, Employee code or Email column. That column is never changed, and a value more than one employee holds is a problem on its row. The other columns are employee fields, by their path or by columns. Only cells that differ from the employee now are changed, and an empty cell leaves the field as it is. Nothing changes yet: the file is compared in the background, and GET /employees/imports/{importId} shows the preview once its status is Ready. At most 10,000 rows and 5 MB.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The file, and which field each heading holds

A CSV of changes to existing employees, one row per employee.

string
required

The file's text. Its first row is the headings, and one column must hold what matchBy names (by default id, the Employee ID the export leads with). Only the cells that differ from the employee now are changed; an empty cell leaves the field as it is.

columns
array of objects | null

Which field each heading holds, for headings that are not a field's path. Headings that are a field's path need no entry.

columns
string
enum

How each row finds its employee: EmployeeId (default), PayrollId (compared without case), NiNumber (without spaces or case), EmployeeCode or Email (without case). That column is never changed by the import, and a value more than one employee holds is a problem on its row.

Allowed:
Headers
string

Optional. Your id for this request: it is carried into every log line about it, so quote it when you contact support.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json