time_sheet_processed

Overview

The time_sheet_processed event is sent after a timesheet has been processed.

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:

Id(integer): The identifier for the timesheet.
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": "time_sheet_processed",
  "FrontOfficeTenantId": 6,
  "Resource": "{\"Id\":86635,\”AccountingPeriodStaffingSupplierGUID\”:\”gs571a92-8ecc-4a2d-a751-f796556c0c3a\”,\"CorrelationId\":\"ba623a16-8ecc-4a2d-a751-f796556c0c3a\"}",
  "ResourceModelType": "Avionte.Commons.CompasEventModel.ResourceModel.TimeSheetProcessedResourceModel, Avionte.Commons.CompasEventModel, Version=1.2.4.0, Culture=neutral, PublicKeyToken=null",
  "CorrelationId": "ba623a16-8ecc-4a2d-a751-f796556c0c3a"
}

Associated Endpoint

For details about the timesheet, check the Get Approved Timesheet endpoint.