company_restriction_added

Overview

The company_restriction_added event is sent after a company restriction has been added.

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

Sample Event

{
  "EventName": "company_restriction_added",
  "FrontOfficeTenantId": 6,
  "Resource": "{\"CompanyId\":4,\"TalentId\":1557,\"CorrelationId\":\"d7c63d04-b188-443f-839c-ed187658dca8\"}",
  "ResourceModelType": "Avionte.Commons.CompasEventModel.ResourceModel.CompanyRestrictionResourceModel, Avionte.Commons.CompasEventModel, Version=1.2.4.0, Culture=neutral, PublicKeyToken=null",
  "CorrelationId": "d7c63d04-b188-443f-839c-ed187658dca8"
}

Associated Endpoint

To get information about the restrictions for a particular company, check the Get Company Restrictions endpoint.