company_department_updated

Overview

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

Event Parameters

Parameter

Data Type

Description

EventName

string

The name of the specific event.

FrontOfficeTenantId

integer

Front office ID that indicates the tenant (client) for which the request is being made.

Resource

string

Event specific information:

CompanyId(integer): The identifier for the company.
DepartmentId(integer): The identifier for the department.
CorrelationId(string): Unique identifier for this event.

ResourceModelType

string

.NET class name for the Resource.

CorrelationId

string

Unique identifier for this event.

Sample Event

{
  "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 endpoint.