Executes the Add action for the Employees data object.

Adds a new Employee record.

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

The code of the subscriber that you are making this request for.

Body Params
integer
required
1 to 999999

Maximum 6 digits. Optional, if omitted this value will behave as if { "default": "default" } was provided.


provide the value.

string
length ≤ 15

Optional, if omitted This value will be calculated based on Vista defaulting logic with trailing digits incase of non unique results.

string
required
length ≤ 30
string | null

Optional, if omitted null will be defaulted.

string | null

Optional, if omitted null will be defaulted.

string | null

Optional, if omitted null will be defaulted.

string | null

Optional, if omitted null will be defaulted.

string | null

Optional, if omitted null will be defaulted.

string | null

Optional, if omitted null will be defaulted.

string | null

Optional, if omitted null will be defaulted. If provided and Address.Country is provided, this value must exist in the States array on the hq/contries object.

string | null

Optional, if omitted null will be defaulted.

string | null

Optional, if omitted null will be defaulted. Key to hq/countries (country).

string | null

Optional, if omitted null will be defaulted.

string | null

Optional, if omitted null will be defaulted.

string | null

Optional, if omitted null will be defaulted.

string
required
length ≤ 11

[PROTECTED FIELD]

string
required
length ≤ 2

[PROTECTED FIELD] Part of key to PR/races object (PRCo, Race).

string
required
length ≤ 1

[PROTECTED FIELD] Options: F-Female, M-Male.

date | null

[PROTECTED FIELD] Format: YYYY-MM-DD. Optional, if omitted null will be defaulted.

string | null

Optional, if omitted null will be defaulted.

string
enum

Optional, if omitted Y will be defaulted.

Allowed:
date | null

Format: YYYY-MM-DD. Optional, if omitted null will be defaulted.

date | null

Format: YYYY-MM-DD. Optional, if omitted null will be defaulted.

date | null

Format: YYYY-MM-DD. Optional, if omitted null will be defaulted.

date | null

Format: YYYY-MM-DD. Optional, if omitted null will be defaulted.

date | null

Format: YYYY-MM-DD. Optional, if omitted null will be defaulted.

date | null

Format: YYYY-MM-DD. Optional, if omitted null will be defaulted.

string | null

Enter the timesheet reviewer group for this employee. Members of this group will review and approve timesheets that are entered for this employee must be found in HQ Reviewer Groups with a TimeSheet Group Type. Optional, if omitted null will be defaulted.

string | null

Part of key to pr/occupational_cats (PRCo, OccupCat). Optional, if omitted null will be defaulted.

string | null

Options: A-Apprentice, J-Journeyman, T-Trainer, N-Neither. Optional, if omitted null will be defaulted.

integer | null

CHAMP Equal Oppertunity trade sequence (overrides craft setting). Optional, if omitted null will be defaulted.

string
length ≤ 1

[PROTECTED FIELD] Optional, if omitted N will be defaulted.

integer | null

Optional, if omitted null will be defaulted.

integer | null

Optional, if omitted null will be defaulted.

__custom_fields
object

This property will be added if there are any custom fields defined for this object in Vista. Each custom field will be a property of this object.

PayrollDefaults
object
required
CurrentJob
object
StandardPay
object
required
PrimaryDirectDeposit
object

Optional, if omitted each property will be defaulted as noted.

GarnishmentAllocation
object

Optional, if omitted each property will be defaulted as noted.

CanadaData
object

Only used if PRCo Country is AU. Optional, if omitted each property will be defaulted as noted.

AustraliaData
object

Optional, if omitted each property will be defaulted as noted.

Headers
string
required

Used to authorize access to the Direct API.

Responses

401

You have not provided a proper X-Application-Key in the header of this request.

403

The X-Application-Key provided is valid but the key does not have access to this resource.

404

The object with the given ID was not found OR a subscriber with the given URL was not found.

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