GET api/V2/team/PlayerGroup/{companyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TeamPlayerGroup| Name | Description | Type | Additional information |
|---|---|---|---|
| GroupId | integer |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| GroupName | string |
None. |
|
| GroupCoach | string |
None. |
|
| GroupComments | string |
None. |
|
| ShowOnArrangementPage | boolean |
None. |
|
| UsersInPlayerGroup | Collection of UsersInPlayerGroup |
None. |
|
| Selected | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"groupId": 1,
"companyId": "14076aed-caa9-4085-871c-6593bad73f2f",
"groupName": "sample string 3",
"groupCoach": "sample string 4",
"groupComments": "sample string 5",
"showOnArrangementPage": true,
"usersInPlayerGroup": [
{
"id": 1,
"groupId": 2,
"userId": "ac9e240d-10e7-4d5f-8564-c383d4460f54",
"userName": "sample string 4",
"isCoach": true
},
{
"id": 1,
"groupId": 2,
"userId": "ac9e240d-10e7-4d5f-8564-c383d4460f54",
"userName": "sample string 4",
"isCoach": true
}
],
"selected": true
},
{
"groupId": 1,
"companyId": "14076aed-caa9-4085-871c-6593bad73f2f",
"groupName": "sample string 3",
"groupCoach": "sample string 4",
"groupComments": "sample string 5",
"showOnArrangementPage": true,
"usersInPlayerGroup": [
{
"id": 1,
"groupId": 2,
"userId": "ac9e240d-10e7-4d5f-8564-c383d4460f54",
"userName": "sample string 4",
"isCoach": true
},
{
"id": 1,
"groupId": 2,
"userId": "ac9e240d-10e7-4d5f-8564-c383d4460f54",
"userName": "sample string 4",
"isCoach": true
}
],
"selected": true
}
]
application/xml, text/xml
Sample:
<ArrayOfTeamPlayerGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
<TeamPlayerGroup>
<CompanyId>14076aed-caa9-4085-871c-6593bad73f2f</CompanyId>
<GroupCoach>sample string 4</GroupCoach>
<GroupComments>sample string 5</GroupComments>
<GroupId>1</GroupId>
<GroupName>sample string 3</GroupName>
<Selected>true</Selected>
<ShowOnArrangementPage>true</ShowOnArrangementPage>
<UsersInPlayerGroup>
<UsersInPlayerGroup>
<GroupId>2</GroupId>
<Id>1</Id>
<IsCoach>true</IsCoach>
<UserId>ac9e240d-10e7-4d5f-8564-c383d4460f54</UserId>
<UserName>sample string 4</UserName>
</UsersInPlayerGroup>
<UsersInPlayerGroup>
<GroupId>2</GroupId>
<Id>1</Id>
<IsCoach>true</IsCoach>
<UserId>ac9e240d-10e7-4d5f-8564-c383d4460f54</UserId>
<UserName>sample string 4</UserName>
</UsersInPlayerGroup>
</UsersInPlayerGroup>
</TeamPlayerGroup>
<TeamPlayerGroup>
<CompanyId>14076aed-caa9-4085-871c-6593bad73f2f</CompanyId>
<GroupCoach>sample string 4</GroupCoach>
<GroupComments>sample string 5</GroupComments>
<GroupId>1</GroupId>
<GroupName>sample string 3</GroupName>
<Selected>true</Selected>
<ShowOnArrangementPage>true</ShowOnArrangementPage>
<UsersInPlayerGroup>
<UsersInPlayerGroup>
<GroupId>2</GroupId>
<Id>1</Id>
<IsCoach>true</IsCoach>
<UserId>ac9e240d-10e7-4d5f-8564-c383d4460f54</UserId>
<UserName>sample string 4</UserName>
</UsersInPlayerGroup>
<UsersInPlayerGroup>
<GroupId>2</GroupId>
<Id>1</Id>
<IsCoach>true</IsCoach>
<UserId>ac9e240d-10e7-4d5f-8564-c383d4460f54</UserId>
<UserName>sample string 4</UserName>
</UsersInPlayerGroup>
</UsersInPlayerGroup>
</TeamPlayerGroup>
</ArrayOfTeamPlayerGroup>