---
updatedAt: 2026-09-10T12:21:11.000Z
agentTools:
  projectIndex: https://developer.avionte.com/llms.txt
---

# company_department_updated

## Overview

The `company_department_updated` event is sent after a company department details have been updated.

## Event Parameters

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th>
        Parameter
      </th>

      <th>
        Data Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `EventName`
      </td>

      <td>
        string
      </td>

      <td>
        The name of the specific event.
      </td>
    </tr>

    <tr>
      <td>
        `FrontOfficeTenantId`
      </td>

      <td>
        integer
      </td>

      <td>
        Front office ID that indicates the tenant (client) for which the request is being made.
      </td>
    </tr>

    <tr>
      <td>
        `Resource`
      </td>

      <td>
        string
      </td>

      <td>
        Event specific information:

        `CompanyId`(integer): The identifier for the company.<br />`DepartmentId`(integer): The identifier for the department.<br />`CorrelationId`(string): Unique identifier for this event.
      </td>
    </tr>

    <tr>
      <td>
        `ResourceModelType`
      </td>

      <td>
        string
      </td>

      <td>
        .NET class name for the Resource.
      </td>
    </tr>

    <tr>
      <td>
        `CorrelationId`
      </td>

      <td>
        string
      </td>

      <td>
        Unique identifier for this event.
      </td>
    </tr>
  </tbody>
</Table>

## Sample Event

```json
{
  "EventName": "company_department_updated",
  "FrontOfficeTenantId": 6,
  "Resource": "{\"CompanyId\":250271,\"DepartmentId\":440766,\"CorrelationId\":\"faaf9b82-01b5-4d9d-ba55-290acf61e296\"}",
  "ResourceModelType": "Avionte.Commons.CompasEventModel.ResourceModel.CompanyDepartmentResourceModel, Avionte.Commons.CompasEventModel, Version=1.2.4.0, Culture=neutral, PublicKeyToken=null",
  "CorrelationId": "faaf9b82-01b5-4d9d-ba55-290acf61e296"
}
```

## Associated Endpoint

For details about the department, check the [Get a Department](https://developer.avionte.com/reference/getdepartment) endpoint.