time_sheet_processed

Overview

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

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:

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