Department information

Associates an employee with an existing department.

Prerequisites

The company department needs to be created previously with Create a department, as you must provide that department_uuid.

Sample JSON

{
  "idempotency_key": "bcfc9744-0ab3-4ef3-ab0d-e728255d659c",
  "batch_action" : "create",
  "batch": [
    {
      "entity_type": "employee",

      "person": {
        "external_id": "employee-abc-123",
        "first_name": "Alice",
        "last_name": "Smith"
      },
      "department": {
        "department_uuid": "7087a288-8349-4632-b92e-bc94fb79f29e"
      }
    }
  ]
}

Check here to see how this looks in the context of a full batch example.