company_updated

Overview

The company_updated event is sent after a company record has 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:

Id(integer): The identifier for the company.
CorrelationId(string): Unique identifier for this event.
ResourceModelTypestring.NET class name for the Resource.
CorrelationIdstringUnique identifier for this event.

Sample Event

{
  "EventName": "company_updated",
  "FrontOfficeTenantId": 6,
  "Resource": "{\"Id\":250271,\"CorrelationId\":\"ca6b4bab-4756-492f-a178-91ea89d3c665\"}",
  "ResourceModelType": "Avionte.Commons.CompasEventModel.ResourceModel.CompanyResourceModel, Avionte.Commons.CompasEventModel, Version=1.2.4.0, Culture=neutral, PublicKeyToken=null",
  "CorrelationId": "ca6b4bab-4756-492f-a178-91ea89d3c665"
}

Associated Endpoint

For details about the company, check the Get a Company endpoint.