company_address_created

Overview

The company_address_created event is sent after a new company department address has been created.

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

Sample Event

{
  "EventName": "company_address_created",
  "FrontOfficeTenantId": 6,
  "Resource": "{\"CompanyId\":3635, \"AddressId\":86635,\"CorrelationId\":\"ba623a16-8ecc-4a2d-a751-f796556c0c3a\"}",
  "ResourceModelType": "Avionte.Commons.CompasEventModel.ResourceModel.CompanyAddressResourceModel, Avionte.Commons.CompasEventModel, Version=1.2.4.0, Culture=neutral, PublicKeyToken=null",
  "CorrelationId": "ba623a16-8ecc-4a2d-a751-f796556c0c3a"
}

Associated Endpoint

For details about the department address, check the Get a Department Address endpoint.