POST api/TournamentPlayersGroup/Create

Create a new player group

Request Information

URI Parameters

None.

Body Parameters

Information(Mandatory)

PlayerCreateJSON
NameDescriptionTypeAdditional information
basic_information

PlayersGroupInfo

None.

players

Collection of tournament_players

None.

Request Formats

application/json, text/json

Sample:
{
  "basic_information": {
    "TournamentPlayersGroupId": 1,
    "TeamName": "sample string 1",
    "IsTeam": true,
    "IsDoubles": true,
    "IsActive": true,
    "CreatedBy": 1,
    "LastModifiedBy": 1,
    "LastUpdatedDateTime": "2025-07-18T15:56:27.4105384+00:00",
    "IsDeleted": true
  },
  "players": [
    {
      "IndividualName": "sample string 1",
      "TournamentPlayerId": 1,
      "TournamentPlayersGroupId": 2,
      "ittfid": 3,
      "IsActive": true,
      "CreatedBy": 1,
      "LastModifiedBy": 1,
      "LastUpdatedDateTime": "2025-07-18T15:56:27.4105384+00:00",
      "IsDeleted": true
    },
    {
      "IndividualName": "sample string 1",
      "TournamentPlayerId": 1,
      "TournamentPlayersGroupId": 2,
      "ittfid": 3,
      "IsActive": true,
      "CreatedBy": 1,
      "LastModifiedBy": 1,
      "LastUpdatedDateTime": "2025-07-18T15:56:27.4105384+00:00",
      "IsDeleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<PlayerCreateJSON xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers">
  <basic_information>
    <CreatedBy>1</CreatedBy>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <IsDoubles>true</IsDoubles>
    <IsTeam>true</IsTeam>
    <LastModifiedBy>1</LastModifiedBy>
    <LastUpdatedDateTime>2025-07-18T15:56:27.4105384+00:00</LastUpdatedDateTime>
    <TeamName>sample string 1</TeamName>
    <TournamentPlayersGroupId>1</TournamentPlayersGroupId>
  </basic_information>
  <players>
    <tournament_players>
      <CreatedBy>1</CreatedBy>
      <IndividualName>sample string 1</IndividualName>
      <IsActive>true</IsActive>
      <IsDeleted>true</IsDeleted>
      <LastModifiedBy>1</LastModifiedBy>
      <LastUpdatedDateTime>2025-07-18T15:56:27.4105384+00:00</LastUpdatedDateTime>
      <TournamentPlayerId>1</TournamentPlayerId>
      <TournamentPlayersGroupId>2</TournamentPlayersGroupId>
      <ittfid>3</ittfid>
    </tournament_players>
    <tournament_players>
      <CreatedBy>1</CreatedBy>
      <IndividualName>sample string 1</IndividualName>
      <IsActive>true</IsActive>
      <IsDeleted>true</IsDeleted>
      <LastModifiedBy>1</LastModifiedBy>
      <LastUpdatedDateTime>2025-07-18T15:56:27.4105384+00:00</LastUpdatedDateTime>
      <TournamentPlayerId>1</TournamentPlayerId>
      <TournamentPlayersGroupId>2</TournamentPlayersGroupId>
      <ittfid>3</ittfid>
    </tournament_players>
  </players>
</PlayerCreateJSON>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>