overtime_rule_created

Overview

The overtime_rule_created event is sent after an overtime rule 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:

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

Sample Event

{
  "EventName": "overtime_rule_created",
  "FrontOfficeTenantId": 6,
  "Resource": "{"RuleId\":21236,\"CorrelationId\":\"13a1b2b5-8e3b-435b-913a-b0d001574dbf\"}",
  "ResourceModelType": "Avionte.Commons.CompasEventModel.ResourceModel.OvertimeRuleModel, Avionte.Commons.CompasEventModel, Version=1.2.4.0, Culture=neutral, PublicKeyToken=null",
  "CorrelationId": "13a1b2b5-8e3b-435b-913a-b0d001574dbf"
}

Associated Endpoint

For details about the overtime rule, check the Get an Overtime Rule and Get Overtime Rules endpoints.