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": "10a9bb2e-5ca9-4b43-ac01-630ef0a58801", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "e22e1e2f-f45b-4db2-ae6b-b07f2eef3af0", "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": "23f2b4a6-9bd7-470b-a4b7-51f1baf6b1d0", "Teams": [] }, { "UserId": "e22e1e2f-f45b-4db2-ae6b-b07f2eef3af0", "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": "23f2b4a6-9bd7-470b-a4b7-51f1baf6b1d0", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "e3a6ba37-d0c6-4da3-ad19-de06f744e921", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T09:07:27.1093764-08:00", "MeasurementValueNeededDate": "2024-12-08T09:07:27.1093764-08:00", "SourceSystemId": "sample string 3", "CompanyId": "cc38a94c-f21d-4cdc-8282-c55ffbbb3bec", "CreateDate": "2024-12-08T09:07:27.1093764-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T09:07:27.1093764-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "e3a6ba37-d0c6-4da3-ad19-de06f744e921", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T09:07:27.1093764-08:00", "MeasurementValueNeededDate": "2024-12-08T09:07:27.1093764-08:00", "SourceSystemId": "sample string 3", "CompanyId": "cc38a94c-f21d-4cdc-8282-c55ffbbb3bec", "CreateDate": "2024-12-08T09:07:27.1093764-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T09:07:27.1093764-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "3e3e5992-b256-41ea-b6e9-e6d6a94eacf4", "CreateDate": "2024-12-08T09:07:27.1093764-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T09:07:27.1093764-08:00", "LastModifiedUser": "sample string 6" }, { "TeamId": "10a9bb2e-5ca9-4b43-ac01-630ef0a58801", "Name": "sample string 1", "Description": "sample string 2", "Users": [ { "UserId": "e22e1e2f-f45b-4db2-ae6b-b07f2eef3af0", "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": "23f2b4a6-9bd7-470b-a4b7-51f1baf6b1d0", "Teams": [] }, { "UserId": "e22e1e2f-f45b-4db2-ae6b-b07f2eef3af0", "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": "23f2b4a6-9bd7-470b-a4b7-51f1baf6b1d0", "Teams": [] } ], "AssetGroups": [ { "AssetGroupId": "e3a6ba37-d0c6-4da3-ad19-de06f744e921", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T09:07:27.1093764-08:00", "MeasurementValueNeededDate": "2024-12-08T09:07:27.1093764-08:00", "SourceSystemId": "sample string 3", "CompanyId": "cc38a94c-f21d-4cdc-8282-c55ffbbb3bec", "CreateDate": "2024-12-08T09:07:27.1093764-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T09:07:27.1093764-08:00", "LastModifiedUser": "sample string 6" }, { "AssetGroupId": "e3a6ba37-d0c6-4da3-ad19-de06f744e921", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T09:07:27.1093764-08:00", "MeasurementValueNeededDate": "2024-12-08T09:07:27.1093764-08:00", "SourceSystemId": "sample string 3", "CompanyId": "cc38a94c-f21d-4cdc-8282-c55ffbbb3bec", "CreateDate": "2024-12-08T09:07:27.1093764-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T09:07:27.1093764-08:00", "LastModifiedUser": "sample string 6" } ], "SourceSystemId": "sample string 3", "CompanyId": "3e3e5992-b256-41ea-b6e9-e6d6a94eacf4", "CreateDate": "2024-12-08T09:07:27.1093764-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T09:07:27.1093764-08:00", "LastModifiedUser": "sample string 6" } ], "Total": 1, "Message": "sample string 1" }