PUT
/
sandbox
/
employment
/
{individual_id}
import Finch from '@tryfinch/finch-api';

const finch = new Finch();

async function main() {
  const employmentUpdateResponse = await finch.sandbox.employment.update('string');

  console.log(employmentUpdateResponse.id);
}

main();
{
  "first_name": "<string>",
  "middle_name": "<string>",
  "last_name": "<string>",
  "title": "<string>",
  "manager": {
    "id": "<string>"
  },
  "department": {
    "name": "<string>"
  },
  "employment": {
    "type": "employee",
    "subtype": "full_time"
  },
  "start_date": "<string>",
  "end_date": "<string>",
  "is_active": true,
  "class_code": "<string>",
  "location": {
    "line1": "<string>",
    "line2": "<string>",
    "city": "<string>",
    "state": "<string>",
    "postal_code": "<string>",
    "country": "<string>",
    "name": "<string>",
    "source_id": "<string>"
  },
  "income": {
    "unit": "yearly",
    "amount": 123,
    "currency": "<string>",
    "effective_date": "<string>"
  },
  "income_history": [
    {
      "unit": "yearly",
      "amount": 123,
      "currency": "<string>",
      "effective_date": "<string>"
    }
  ],
  "custom_fields": [
    {
      "name": "<string>",
      "value": "<any>"
    }
  ],
  "source_id": "<string>",
  "id": "<string>"
}

Authorizations

Authorization
string
headerrequired

Please use your Access Token

Path Parameters

individual_id
string
required

Body

application/json
first_name
string | null

The legal first name of the individual.

middle_name
string | null

The legal middle name of the individual.

last_name
string | null

The legal last name of the individual.

title
string | null

The current title of the individual.

manager
object | null

The manager object representing the manager of the individual within the org.

department
object | null

The department object.

employment
object | null

The employment object.

start_date
string | null
end_date
string | null
is_active
boolean | null

true if the individual an an active employee or contractor at the company.

class_code
string | null

Worker's compensation classification code for this employee

location
object | null
income
object | null

The employee's income as reported by the provider. This may not always be annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, depending on what information the provider returns.

income_history
array | null

The array of income history.

custom_fields
object[]

Custom fields for the individual. These are fields which are defined by the employer in the system. Custom fields are not currently supported for assisted connections.

source_id
string

The source system's unique employment identifier for this individual

Response

200 - application/json
first_name
string | null

The legal first name of the individual.

middle_name
string | null

The legal middle name of the individual.

last_name
string | null

The legal last name of the individual.

title
string | null

The current title of the individual.

manager
object | null

The manager object representing the manager of the individual within the org.

department
object | null

The department object.

employment
object | null

The employment object.

start_date
string | null
end_date
string | null
is_active
boolean | null

true if the individual an an active employee or contractor at the company.

class_code
string | null

Worker's compensation classification code for this employee

location
object | null
income
object | null

The employee's income as reported by the provider. This may not always be annualized income, but may be in units of bi-weekly, semi-monthly, daily, etc, depending on what information the provider returns.

income_history
array | null

The array of income history.

custom_fields
object[]

Custom fields for the individual. These are fields which are defined by the employer in the system. Custom fields are not currently supported for assisted connections.

source_id
string

The source system's unique employment identifier for this individual

id
string

A stable Finch id (UUID v4) for an individual in the company.