version-company-company-departments-departmentId-get

GET

Department by ID

Retrieve information about your company’s departments by department ID.

 

{
  "deptId":"string",
  "deptCode":"string",
  "deptName":"string",
  "deptEmployeeCount":"number",
  "deptLocationCount":"number",
  "shortDesc":"string",
  "effectiveDate":"datetime"
}
Field Description

companyId

Unique ID for your company

deptId

Unique ID for the department

deptCode

Department code

deptName

Department name

deptEmployeeCount

Number of employees in the department

deptLocationCount

Number of locations for each department

shortDesc

Department short description

effectiveDate

Date the information became effective

Resource URL

https://api.trinet.com /{version}/company/{company}/departments/{departmentId}

Query Parameters


Name Values Description
effectiveDate


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...