Modules

Calendar

Certificates

CollectiveAgreements

Company Forms

Company Forms Management

Contacts

Contracts

Customer Assets

Equipment

Expenses

Job Invoices

Jobs

Labour Actions

Library

Locates

Materials

Messages

Purchase Orders

Safety

Schedule

Service Quotes/Invoices

Service Requests

Services

Settings

TimeLogs

Users

Other

PayPeriod Resource
In TimeLogs Module


Endpoints

Endpoints URI Access Control Description
trimLogs GET /api/PayPeriod/trimLogs Endpoint level permissions
save POST /api/PayPeriod/save Admin or Module WRITE Checks that all pay period logs are submitted, then compiles all into a JSON PayPeriod object and saves it as a record @param $data = [ 'period_start' => 'YYYY-MM-DD' (string) ]
csv GET /api/PayPeriod/csv Endpoint level permissions
pdf GET /api/PayPeriod/pdf Endpoint level permissions
delete POST /api/PayPeriod/delete Admin or Module WRITE
summary GET /api/PayPeriod/summary Endpoint level permissions
find GET /api/PayPeriod/find Admin or Module READ
get GET /api/PayPeriod/get Admin or Module READ
compileCachedRelations GET /api/PayPeriod/compileCachedRelations Endpoint level permissions

Properties

Property Type Description
id number
start date
end date
total_reg_hrs number
total_ot_hrs number
total_labour_paid number
total_per_diem_paid number
total_mileage_paid number
period_json string
user_list_json string
created_by number
system_generated boolean
generation_completed_at datetime
processed boolean
created_at datetime
updated_at datetime
updated_by number
slug string

Settings

Setting
Pagination Limit (when page parameter is set) None
Default Sort Order end ASC

Relationships

Related Resource Key Relationship to PayPeriod Property
User created_by Belongs To User
PayPeriodUserReport period_id Owns Many PayPeriodUserReport