POST api/V2/team/PlayerGroup
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"groupId": 1,
"companyId": "30da3cd4-1695-4157-8f29-de67f0d58f61",
"groupName": "sample string 3",
"groupCoach": "sample string 4",
"groupComments": "sample string 5",
"showOnArrangementPage": true,
"usersInPlayerGroup": [
{
"id": 1,
"groupId": 2,
"userId": "890bf7cf-0c57-4978-9cde-8fd03369a1fd",
"userName": "sample string 4",
"isCoach": true
},
{
"id": 1,
"groupId": 2,
"userId": "890bf7cf-0c57-4978-9cde-8fd03369a1fd",
"userName": "sample string 4",
"isCoach": true
}
],
"selected": true
}
application/xml, text/xml
Sample:
<TeamPlayerGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
<CompanyId>30da3cd4-1695-4157-8f29-de67f0d58f61</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>890bf7cf-0c57-4978-9cde-8fd03369a1fd</UserId>
<UserName>sample string 4</UserName>
</UsersInPlayerGroup>
<UsersInPlayerGroup>
<GroupId>2</GroupId>
<Id>1</Id>
<IsCoach>true</IsCoach>
<UserId>890bf7cf-0c57-4978-9cde-8fd03369a1fd</UserId>
<UserName>sample string 4</UserName>
</UsersInPlayerGroup>
</UsersInPlayerGroup>
</TeamPlayerGroup>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.