TimeOffCalendar

GET

Time Off Calendar

Retrieve employee Time Off information for a specified period of time..

 

{
   "employeeId":"string",
   "name":{
      "lastName":"string",
      "middleName":"string",
      "firstName":"string"
   },
   "timeOff":[
      {
         "type":"string",
         "date":"YYYY-MM-DD",
         "hours":"number",
         "status":"string"
      }
   ]
}

 

 



Field Description
   employeeId Employee Id
   name  
      lastName Last Name
      middleName Middle Name
      firstName First Name
   timeOff  
         type Time Off Type 
         date Time Off Date
         hours Time Off Hours
         status Time Off Status

Resource URL

https://api.trinet.com /{version}/timeoff/{companyId}/timeoff-calendar

Query Parameters


Name Values Description
employeeId

Employee Id. When provided service will return data only for specified employee.

startDate

startDate can be used to limit the data returned by API. If not provided current month data is returned. Format: YYYY-MM-DD

endDate

endDate can be used to limit the data returned by API. If not provided current month data is returned. Format: YYYY-MM-DD


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.

Resource Summary

Security:

Scope:

basic-read

Working...