{
"pagination": {
"take": 25,
"skip": 0
},
"sorting": {
"Order": "asc",
"SortBy": [
"TeamId"
]
},
"filter": null
}curl --location --request POST 'https://publicapi.taskmaverick.com/organization/teams/query/team-with-units' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"pagination": {
"take": 25,
"skip": 0
},
"sorting": {
"Order": "asc",
"SortBy": [
"TeamId"
]
},
"filter": null
}'{
"collection": [
{
"allowedActions": [
"string"
],
"result": {
"teamTemplateId": "cb87df43-a3bd-4a72-bd27-0f618a52037a",
"teamTemplateName": "string",
"teamTemplateTags": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string"
}
],
"units": [
{
"teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",
"unitId": "b3eb5f92-604a-46b9-9881-9d84000fd7ed",
"name": "string",
"location": "string",
"building": "string",
"area": "string",
"code": "string",
"locationTags": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string"
}
]
}
]
}
}
],
"totalCount": 0
}