day_pay_approved
Overview
Prerequisite
The event requires the Daily Time Capture system feature to be enabled to function correctly.
The day_pay_approved
event is sent after a daily timesheet has been approved, that is the Approve Timesheet button has been clicked on the timesheet page for a specific days worth of time.
Event Parameters
Parameter | Data Type | Description |
---|---|---|
| string | The name of the specific event. |
| integer | Front office ID that indicates the tenant (client) for which the request is being made. |
| string | Event specific information:
|
| string | .NET class name for the Resource. |
| string | Unique identifier for this event. |
Sample Event
{
"EventName": "time_sheet_processed",
"FrontOfficeTenantId": 6,
"Resource": "{\"DayPayId\":65786,\”AccountingPeriodStaffingSupplierGUID\”:\”gs571a92-8ecc-4a2d-a751-f796556c0c3a\”,\"CorrelationId\":\"ba623a16-8ecc-4a2d-a751-f796556c0c3a\"}",
"ResourceModelType": "Avionte.Commons.CompasEventModel.ResourceModel.DayPayApprovedResourceModel, 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.
Updated 13 days ago