company_department_updated

Overview

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

Event Parameters

ParameterData TypeDescription
EventNamestringThe name of the specific event.
FrontOfficeTenantIdintegerFront office ID that indicates the tenant (client) for which the request is being made.
ResourcestringEvent specific information:

CompanyId(integer): The identifier for the company.
DepartmentId(integer): The identifier for the department.
CorrelationId(string): Unique identifier for this event.
ResourceModelTypestring.NET class name for the Resource.
CorrelationIdstringUnique 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.