AssignRole

POST

Roles

Assign new role to an Employee

 

{
      "role":"string",
      "deptId":"string",
      "locationId":"string"
}

Section

Field

Req

Description

 

role

Y

Role ID

 

deptId

N

Department Id; applicable only for payroll roles

 

locationId

N

Location Id; applicable only for payroll roles

 

 

Resource URL

https://api.trinet.com /{version}/manage-employee/{companyId}/{employeeId}/employee-role/{roleId}

Body Parameters


Name Values Description
body
(required)

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:

Content Type:

application/json

Scope:

hr-security-write

Working...