cURL
curl --request GET \ --url https://sandbox.tight.com/v6/employees/{id} \ --header 'Authorization: Bearer <token>'
{ "result": "SUCCESS", "data": { "id": "emp_12345", "userId": "usr_67890", "email": "employee@example.com", "firstName": "John", "lastName": "Doe", "billableRate": 150, "view": "BUSINESS", "ownershipPercentage": 25.5, "classSegments": [ { "id": "cls_593051", "label": { "id": "cll_4521", "name": "Region", "requiredness": "NOT_REQUIRED" }, "name": "Mid-Atlantic", "child": { "id": "cls_593052", "label": { "id": "cll_4521", "name": "Region", "requiredness": "NOT_REQUIRED" }, "name": "Washington DC", "child": "<unknown>" } } ], "status": "ACTIVE", "customData": { "internal_key": "some_internal_key", "some_other_field": 23434 } } }
Get an employee for the given id
Bearer authentication header of the form Bearer <token>, see Authentication for more detail.
Bearer <token>
The id of the employee
Success
The result of the action performed.
SUCCESS
FAILURE
The data generated by the action performed.
Show child attributes