Resource Team

Retrieve Resource Teams

GET

Retrieves all ResourceTeams defined within your Workspace.

A ResourceTeam is a grouping of Resources that allows you to keep track of assignments in a manner consistent with your business needs. You can assign Resources to be members of zero, one, or many ResourceTeams.

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
list of objectsOptional
If the API call succeeded, this will contain the results.
GET
1curl /project-api/public/resources/teams \
2 -H "Authorization: Bearer <token>"
200Retrieved
1{
2 "error": {
3 "message": "message"
4 },
5 "success": true,
6 "hasError": true,
7 "statusCode": "Continue",
8 "data": [
9 {
10 "id": "id",
11 "name": "name"
12 }
13 ]
14}