version-identity-company-employeeId-employment-details-get

GET

Job Details

Retrieve detailed employee job information.

 

{
      "employeeId":"string",
      "alternateId":"string",
      "name":{
        "lastName":"string",
        "middleName":"string",
        "firstName":"string"
      },
      "employmentInfo":{
        "effectiveDate":"datetime",
        "jobCode":"string",
        "regularTemporary":"regular#temporary",
        "employeeType":"fulltime#parttime",
        "FlsaCode":"string",
        "employmentStatus":"A#D#L#P#S#T#U",
        "standardhours":"int",
        "businessTitle":"string",
        "serviceDate":"datetime",
        "terminationDate":"datetime",
        "supervisor":{
          "supervisorId":"string",
          "supervisorName":"string"
        },
        "workEmail":"string",
        "workPhone:"string",
        "customGroupA ":"string",
        "customGroupB":"string",
        "workersCompCodes":{
          "state":"string",
          "code":"string"
        },
       "payGroup":"string"      },
       "department":{
         "deptId":"string",
         "deptName":"string"
        },
       "location":{
         "locationtId":"string",
         "locationtName":"string"
       }
}
Field Description

employeeId

TriNet employee ID

alternateId

Alternate employee ID, if your company uses different employee IDs

name

 

lastName

Last name

middleName

Middle name

firstName

First name

employmentInfo

 

effectiveDate

Date the information became effective

jobCode

Job code or category used for EEO reporting

regularTemporary

Whether the employee is regular or temporary

employeeType

Whether the employee is fulltime or parttime

FlsaCode

Whether the employee is exempt or non-exempt

employmentStatus

Employment status

Values: A (for Active), D (for Deceased), L (for Leave of Absence), P (for Leave with Pay), S (for Suspended), T (for Terminated), U (for Terminated with Pay)

standardHours

Employee’s standard number of hours per week

businessTitle

Business title

serviceDate

Service date: typically the hire date, can be changed for benefits eligibility or time off accrual

terminationDate

 

supervisorId

Supervisor’s ID

supervisorName

Supervisor’s full name

workEmail

Employee’s work email address

workPhone

Employee’s work phone number

customGroupA

Group A-Used to store company-specific information

customGroupB

Group B-Used to store company-specific information

workersCompCodes

 

state

State for workers’ compensation

code

Workers’ compensation code

payGroup

Paygroup

deptId

Department ID for the primary department

deptName

Department name

locationId

Location ID

locationName

Location name

Resource URL

https://api.trinet.com /{version}/identity/{company}/{employeeId}/employment-details

Query Parameters


Name Values Description
effectiveDate

Provides information for employee as of date. Allows retrieving historical information. YYYY-MM-DD format.


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:

basic-read

Working...