overtime_rule_saved

Overview

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

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_saved",
  "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.