overtime_rule_created

Overview

The overtime_rule_created event is sent after an overtime rule has been created.

Event Parameters

Parameter

Data Type

Description

EventName

string

The name of the specific event.

FrontOfficeTenantId

integer

Front office ID that indicates the tenant (client) for which the request is being made.

Resource

string

Event specific information:

RuleId(integer): The identifier for the rule.
CorrelationId(string): Unique identifier for this event.

ResourceModelType

string

.NET class name for the Resource.

CorrelationId

string

Unique 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.