German: "Teams"
The representation contains among the standard fields also:
- users (staff assigned to this team)
{
"id": 909147861,
"name": "C Office",
"users": [
{
"id": 933590158,
"firstname": "Tobias",
"lastname": "Miesel"
},
{
"id": 933589599,
"firstname": "Sabine",
"lastname": "Schäuble"
}
],
"created_at": "2018-10-17T09:33:46Z",
"updated_at": "2018-10-17T09:33:46Z"
}
Retrieve all teams:
curl -X GET \
'https://{domain}.mocoapp.com/api/v1/units' \
-H 'Authorization: Token token=YOUR_API_KEY'
This returns an array with complete team information (see Attributes).
Retrieve a single team:
curl -X GET \
'https://{domain}.mocoapp.com/api/v1/units/{id}' \
-H 'Authorization: Token token=YOUR_API_KEY'