version-payroll-company-employeeId-timeoff-history-get

GET

Time Off Accrual

Retrieve employee accrual information for time off plans.

 

{
  "employeeID":"string",
  "planType":"string",
  "planTypeDesc":"string",
  "accrualList":[
    {
      "accrualDate":"datetime",
      "balanceHours":"number",
      "serviceHoursTotal":"number",
      "carryOverHours":"number",
      "hoursAdjustYtd":"number",
      "hoursEarnedYtd":"number",
      "hoursTakenYtd":"number",
      "hoursAdjustPeriod":"number",
      "hoursEarnedPeriod":"number",
      "hoursTakenPeriod":"number",
      "serviceHoursPeriod":"number"
    }
  ]
}
Field Description

employeeId

TriNet employee ID

PlanType

Plan Type

planTypeDesc

Plan Description 

AccrualList

 

accrualDate

Date accrual was processed

balanceHours

Balance as of the accrual date

serviceHoursTotal

Number of service hours since hire date

carryOverHours

Number of hours carried over from the previous year

hoursAdustYtd

Hours adjusted year to date

hoursEarnedYtd

Hours earned/accrued year to date

hoursTakenYtd

Hours taken year to date

hoursAdjustPeriod

Hours adjusted in the pay period

hoursEarnedPeriod

Hours earned/accrued in the pay period

hoursTakenPeriod

Hours taken in the pay period

serviceHoursPeriod

Number of service hours worked in the pay period

Resource URL

https://api.trinet.com /{version}/employee/{company}/{employeeId}/leave-plan-accruals

Request Body

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400

  • 401

  • 403

  • 404

Resource Summary

Security:

Scope:

hr-personal-read

Working...