GET Teams?take={take}&skip={skip}&sort[0].Field={sort[0].Field}&sort[0].Dir={sort[0].Dir}&sort[1].Field={sort[1].Field}&sort[1].Dir={sort[1].Dir}
Retrieves teams for the given parameters. All parameters are optional.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
take |
Number of teams to retrieve. Default is all teams |
integer |
None. |
skip |
Number of teams to skip before retrieval |
integer |
Default value is 0 |
sort |
List of sorting rules to describe how to sort the teams before retrieval |
Collection of Sort |
None. |
Operator | string |
None. |
|
Field | string |
None. |
|
Value | string |
None. |
|
Logic | string |
None. |
|
Filters | Collection of Filter |
None. |
Body Parameters
None.
Response Information
Resource Description
On success, a list of teams.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Collection of Team |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": [ { "TeamId": "8a0f5005-3ccc-4eb5-a14b-f57b30fb9b19", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "9910ad3b-2acb-43fe-8aaf-5d587bdd7283", "UserName": "sample string 1", "FullName": "sample string 2", "PhoneNumber": "sample string 3", "Email": "sample string 4", "IsLockedOut": true, "IsApproved": true, "Role": { "Name": "sample string 1", "Description": "sample string 2" }, "CompanyId": "c173b761-4818-46a7-aeb7-b930f15cbf99", "Teams": [] }, { "UserId": "9910ad3b-2acb-43fe-8aaf-5d587bdd7283", "UserName": "sample string 1", "FullName": "sample string 2", "PhoneNumber": "sample string 3", "Email": "sample string 4", "IsLockedOut": true, "IsApproved": true, "Role": { "Name": "sample string 1", "Description": "sample string 2" }, "CompanyId": "c173b761-4818-46a7-aeb7-b930f15cbf99", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "23beab39-6a25-4cec-ba31-255ab2559bec", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:04.1768638-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:04.1768638-07:00", "SourceSystemId": "sample string 3", "CompanyId": "17debf01-7246-4e25-8b24-e8a16478c683", "CreateDate": "2024-10-10T15:24:04.1768638-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:04.1768638-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "23beab39-6a25-4cec-ba31-255ab2559bec", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:04.1768638-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:04.1768638-07:00", "SourceSystemId": "sample string 3", "CompanyId": "17debf01-7246-4e25-8b24-e8a16478c683", "CreateDate": "2024-10-10T15:24:04.1768638-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:04.1768638-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "cab62744-9e74-45e6-a1b2-fbcbc1069fd7", "CreateDate": "2024-10-10T15:24:04.1768638-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:04.1768638-07:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "8a0f5005-3ccc-4eb5-a14b-f57b30fb9b19", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "9910ad3b-2acb-43fe-8aaf-5d587bdd7283", "UserName": "sample string 1", "FullName": "sample string 2", "PhoneNumber": "sample string 3", "Email": "sample string 4", "IsLockedOut": true, "IsApproved": true, "Role": { "Name": "sample string 1", "Description": "sample string 2" }, "CompanyId": "c173b761-4818-46a7-aeb7-b930f15cbf99", "Teams": [] }, { "UserId": "9910ad3b-2acb-43fe-8aaf-5d587bdd7283", "UserName": "sample string 1", "FullName": "sample string 2", "PhoneNumber": "sample string 3", "Email": "sample string 4", "IsLockedOut": true, "IsApproved": true, "Role": { "Name": "sample string 1", "Description": "sample string 2" }, "CompanyId": "c173b761-4818-46a7-aeb7-b930f15cbf99", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "23beab39-6a25-4cec-ba31-255ab2559bec", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:04.1768638-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:04.1768638-07:00", "SourceSystemId": "sample string 3", "CompanyId": "17debf01-7246-4e25-8b24-e8a16478c683", "CreateDate": "2024-10-10T15:24:04.1768638-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:04.1768638-07:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "23beab39-6a25-4cec-ba31-255ab2559bec", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-10-10T15:24:04.1768638-07:00", "MeasurementValueNeededDate": "2024-10-10T15:24:04.1768638-07:00", "SourceSystemId": "sample string 3", "CompanyId": "17debf01-7246-4e25-8b24-e8a16478c683", "CreateDate": "2024-10-10T15:24:04.1768638-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:04.1768638-07:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "cab62744-9e74-45e6-a1b2-fbcbc1069fd7", "CreateDate": "2024-10-10T15:24:04.1768638-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-10-10T15:24:04.1768638-07:00", "LastModifiedUser": "sample string 6" } ], "Total": 1, "Message": "sample string 1" }