GET api/users/{id}/role
Returns a users active role
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
the unique id of the user |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Role Details
RoleDTOName | Description | Type | Additional information |
---|---|---|---|
name |
Role Name |
string |
None. |
FTE |
Full time equivalent |
string |
None. |
actualCost |
Actual Cost of this user (e.g. Salary) |
string |
None. |
startDate |
Date user will start at this role, only relevent for a role change. |
date |
None. |
daysAvailable |
Days User will be working at this role, format as mon|tue|wed|thu|fri|sat|sun with only relevant days supplied |
string |
None. |
utilisation |
Target Billable ( number between 0-100 ) |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "name": "sample string 1", "FTE": "sample string 2", "actualCost": "sample string 3", "startDate": "2024-12-22T06:12:24.5121619+00:00", "daysAvailable": "sample string 5", "utilisation": "sample string 6" }