Resource

Retrieve Resource

GET

Retrieve the Resource matching the specified unique ID.

A Resource represents a person, material, or tool that is used within your Projects. When you attach a Resources to more than one Task, the software will schedule the usage of your Resource so that it is not allocated to more than one Task at the same time. The users in your Workspace are also considered Resources. To invite a new User to your Workspace, create a new Resource for that user.

Path parameters

resourceIdstringRequired
The id of the Resource

Response

This endpoint returns an object
error
objectOptional
If the API call failed, this will contain information about the error that occurred.
success
booleanOptional
True if the API call succeeded; false otherwise.
hasError
booleanOptional
True if the API call failed.
statusCode
enumOptional
The HTTP code of the response.
data
objectOptional
A Resource represents a person, material, or tool that is used within your Projects. When you attach a Resources to more than one Task, the software will schedule the usage of your Resource so that it is not allocated to more than one Task at the same time. The users in your Workspace are also considered Resources. To invite a new User to your Workspace, create a new Resource for that user.
GET
1curl /api/data/resources/resourceId \
2 -H "Authorization: Bearer <token>"
200
Retrieved
1{
2 "error": {
3 "technicalError": "technicalError",
4 "additionalErrors": [
5 "additionalErrors"
6 ],
7 "message": "message"
8 },
9 "success": true,
10 "hasError": true,
11 "statusCode": "Continue",
12 "data": {
13 "id": "id",
14 "firstName": "firstName",
15 "lastName": "lastName",
16 "email": "email",
17 "hourlyRate": 1.1,
18 "phone": "phone",
19 "city": "city",
20 "state": "state",
21 "country": "country",
22 "notes": "notes",
23 "approver": {
24 "id": "id",
25 "name": "name"
26 },
27 "teams": [
28 {}
29 ],
30 "skills": [
31 {}
32 ],
33 "onlineDateTime": "2024-01-15T09:30:00Z",
34 "role": "role",
35 "isActive": true
36 }
37}