POST api/TournamentSubEvent/Update

Update Sub Event and its related data

Request Information

URI Parameters

None.

Body Parameters

Sub Events Information(Mandatory)

TournamentSubEventCreateJSON
NameDescriptionTypeAdditional information
basic_information

TournamentSubEventBasicInfo

None.

phase_information

Collection of EventTournamentSubEventPhasesInfo

None.

prize_information

Collection of EventTournamentPrizeMoneyInfo

None.

age_category_information

Collection of EventTournamentSubEventAgeCategoryInfo

None.

conducting_draws

Collection of TournamentSubEventConductingDrawInfo

None.

paralympic_classes

Collection of EventSEParalympicClassesInfo

None.

organization_ner_details

Collection of subevent_organization_ner_info

None.

Request Formats

application/json, text/json

Sample:
{
  "basic_information": {
    "SubEventId": 1,
    "EventId": 1,
    "SubEventName": "sample string 2",
    "SubEventDesc": "sample string 3",
    "SubEventCode": "sample string 4",
    "EventTournamentRestrictionId": 1,
    "NumberOfTotalMatches": 1,
    "IsActive": true,
    "SubEventEntryType": "sample string 6",
    "InterOrgPartnershipsAllowed": true,
    "IsOptional": true,
    "WaitingListAllowed": true,
    "OrgGeneralMenQuota": 1,
    "OrgGeneralWomenQuota": 1,
    "LOCGeneralMenQuota": 1,
    "LOCGeneralWomenQuota": 1,
    "MinTeamSize": 1,
    "MaxTeamSize": 1,
    "SubEventDrawTypeId": 1,
    "Deleted": 1,
    "CreatedBy": 1,
    "LastModifiedBy": 1,
    "LastUpdatedDateTime": "2025-07-18T16:04:57.3004522+00:00",
    "IsDeleted": true,
    "PlayerEntriesStartDate": "2025-07-18T16:04:57.3004522+00:00",
    "PlayerEntriesEndDate": "2025-07-18T16:04:57.3004522+00:00",
    "EntriesRankingWeek": 1,
    "EntriesRankingMonth": 1,
    "EntriesRankingYear": 1,
    "SeedingRankingWeek": 1,
    "SeedingRankingMonth": 1,
    "SeedingRankingYear": 1
  },
  "phase_information": [
    {
      "SubEventPhaseId": 1,
      "EventId": 1,
      "SubEventId": 1,
      "EventTournamentPhaseId": 1,
      "EventDrawsId": 1,
      "OrderNumber": 1,
      "IsActive": true,
      "IsDeleted": true,
      "Deleted": 1,
      "StartDateTime": "2025-07-18T16:04:57.3004522+00:00",
      "EndDateTime": "2025-07-18T16:04:57.3004522+00:00"
    },
    {
      "SubEventPhaseId": 1,
      "EventId": 1,
      "SubEventId": 1,
      "EventTournamentPhaseId": 1,
      "EventDrawsId": 1,
      "OrderNumber": 1,
      "IsActive": true,
      "IsDeleted": true,
      "Deleted": 1,
      "StartDateTime": "2025-07-18T16:04:57.3004522+00:00",
      "EndDateTime": "2025-07-18T16:04:57.3004522+00:00"
    }
  ],
  "prize_information": [
    {
      "EventTournamentPrizeMoneyId": 1,
      "EventId": 1,
      "SubEventId": 1,
      "EventDrawsId": 1,
      "EventTournamentPhaseId": 1,
      "PrizeMoney": "sample string 1",
      "CurrencyId": 1,
      "PrizePositionId": 1,
      "IsActive": true,
      "IsDeleted": true,
      "Deleted": 1
    },
    {
      "EventTournamentPrizeMoneyId": 1,
      "EventId": 1,
      "SubEventId": 1,
      "EventDrawsId": 1,
      "EventTournamentPhaseId": 1,
      "PrizeMoney": "sample string 1",
      "CurrencyId": 1,
      "PrizePositionId": 1,
      "IsActive": true,
      "IsDeleted": true,
      "Deleted": 1
    }
  ],
  "age_category_information": [
    {
      "EventTournamentSubEventAgeCategoryLinkedId": 1,
      "EventId": 1,
      "SubEventId": 2,
      "TournamentAgeCategoryId": 3,
      "Deleted": 1,
      "CreatedBy": 1,
      "LastModifiedBy": 1,
      "LastUpdatedDateTime": "2025-07-18T16:04:57.3004522+00:00",
      "IsDeleted": true
    },
    {
      "EventTournamentSubEventAgeCategoryLinkedId": 1,
      "EventId": 1,
      "SubEventId": 2,
      "TournamentAgeCategoryId": 3,
      "Deleted": 1,
      "CreatedBy": 1,
      "LastModifiedBy": 1,
      "LastUpdatedDateTime": "2025-07-18T16:04:57.3004522+00:00",
      "IsDeleted": true
    }
  ],
  "conducting_draws": [
    {
      "SubEventConductingDrawId": 1,
      "EventId": 1,
      "SubEventId": 2,
      "EventDrawsId": 3,
      "Deleted": 1,
      "CreatedBy": 1,
      "LastModifiedBy": 1,
      "LastUpdatedDateTime": "2025-07-18T16:04:57.3004522+00:00",
      "IsDeleted": true
    },
    {
      "SubEventConductingDrawId": 1,
      "EventId": 1,
      "SubEventId": 2,
      "EventDrawsId": 3,
      "Deleted": 1,
      "CreatedBy": 1,
      "LastModifiedBy": 1,
      "LastUpdatedDateTime": "2025-07-18T16:04:57.3004522+00:00",
      "IsDeleted": true
    }
  ],
  "paralympic_classes": [
    {
      "EventSEParalympicClassesLinkedId": 1,
      "EventId": 1,
      "SubEventId": 2,
      "ParalympicClassId": 3,
      "Deleted": 1,
      "CreatedBy": 1,
      "LastModifiedBy": 1,
      "LastUpdatedDateTime": "2025-07-18T16:04:57.3004522+00:00",
      "IsDeleted": true
    },
    {
      "EventSEParalympicClassesLinkedId": 1,
      "EventId": 1,
      "SubEventId": 2,
      "ParalympicClassId": 3,
      "Deleted": 1,
      "CreatedBy": 1,
      "LastModifiedBy": 1,
      "LastUpdatedDateTime": "2025-07-18T16:04:57.3004522+00:00",
      "IsDeleted": true
    }
  ],
  "organization_ner_details": [
    {
      "SubEventOrganizationNERId": 1,
      "OrganizationId": 1,
      "SubEventId": 1,
      "EventId": 1,
      "NERPlayers": 1,
      "NERFullNationPairs": 1,
      "Deleted": 1,
      "CreatedBy": 1,
      "LastModifiedBy": 1,
      "LastUpdatedDateTime": "2025-07-18T16:04:57.3004522+00:00",
      "IsDeleted": true
    },
    {
      "SubEventOrganizationNERId": 1,
      "OrganizationId": 1,
      "SubEventId": 1,
      "EventId": 1,
      "NERPlayers": 1,
      "NERFullNationPairs": 1,
      "Deleted": 1,
      "CreatedBy": 1,
      "LastModifiedBy": 1,
      "LastUpdatedDateTime": "2025-07-18T16:04:57.3004522+00:00",
      "IsDeleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<TournamentSubEventCreateJSON xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1">
  <age_category_information xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
    <d2p1:EventTournamentSubEventAgeCategoryInfo>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:Deleted>1</d2p1:Deleted>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:EventTournamentSubEventAgeCategoryLinkedId>1</d2p1:EventTournamentSubEventAgeCategoryLinkedId>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:LastModifiedBy>1</d2p1:LastModifiedBy>
      <d2p1:LastUpdatedDateTime>2025-07-18T16:04:57.3004522+00:00</d2p1:LastUpdatedDateTime>
      <d2p1:SubEventId>2</d2p1:SubEventId>
      <d2p1:TournamentAgeCategoryId>3</d2p1:TournamentAgeCategoryId>
    </d2p1:EventTournamentSubEventAgeCategoryInfo>
    <d2p1:EventTournamentSubEventAgeCategoryInfo>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:Deleted>1</d2p1:Deleted>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:EventTournamentSubEventAgeCategoryLinkedId>1</d2p1:EventTournamentSubEventAgeCategoryLinkedId>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:LastModifiedBy>1</d2p1:LastModifiedBy>
      <d2p1:LastUpdatedDateTime>2025-07-18T16:04:57.3004522+00:00</d2p1:LastUpdatedDateTime>
      <d2p1:SubEventId>2</d2p1:SubEventId>
      <d2p1:TournamentAgeCategoryId>3</d2p1:TournamentAgeCategoryId>
    </d2p1:EventTournamentSubEventAgeCategoryInfo>
  </age_category_information>
  <basic_information>
    <CreatedBy>1</CreatedBy>
    <Deleted>1</Deleted>
    <EntriesRankingMonth>1</EntriesRankingMonth>
    <EntriesRankingWeek>1</EntriesRankingWeek>
    <EntriesRankingYear>1</EntriesRankingYear>
    <EventId>1</EventId>
    <EventTournamentRestrictionId>1</EventTournamentRestrictionId>
    <InterOrgPartnershipsAllowed>true</InterOrgPartnershipsAllowed>
    <IsActive>true</IsActive>
    <IsDeleted>true</IsDeleted>
    <IsOptional>true</IsOptional>
    <LOCGeneralMenQuota>1</LOCGeneralMenQuota>
    <LOCGeneralWomenQuota>1</LOCGeneralWomenQuota>
    <LastModifiedBy>1</LastModifiedBy>
    <LastUpdatedDateTime>2025-07-18T16:04:57.3004522+00:00</LastUpdatedDateTime>
    <MaxTeamSize>1</MaxTeamSize>
    <MinTeamSize>1</MinTeamSize>
    <NumberOfTotalMatches>1</NumberOfTotalMatches>
    <OrgGeneralMenQuota>1</OrgGeneralMenQuota>
    <OrgGeneralWomenQuota>1</OrgGeneralWomenQuota>
    <PlayerEntriesEndDate>2025-07-18T16:04:57.3004522+00:00</PlayerEntriesEndDate>
    <PlayerEntriesStartDate>2025-07-18T16:04:57.3004522+00:00</PlayerEntriesStartDate>
    <SeedingRankingMonth>1</SeedingRankingMonth>
    <SeedingRankingWeek>1</SeedingRankingWeek>
    <SeedingRankingYear>1</SeedingRankingYear>
    <SubEventCode>sample string 4</SubEventCode>
    <SubEventDesc>sample string 3</SubEventDesc>
    <SubEventDrawTypeId>1</SubEventDrawTypeId>
    <SubEventEntryType>sample string 6</SubEventEntryType>
    <SubEventId>1</SubEventId>
    <SubEventName>sample string 2</SubEventName>
    <WaitingListAllowed>true</WaitingListAllowed>
  </basic_information>
  <conducting_draws xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
    <d2p1:TournamentSubEventConductingDrawInfo>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:Deleted>1</d2p1:Deleted>
      <d2p1:EventDrawsId>3</d2p1:EventDrawsId>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:LastModifiedBy>1</d2p1:LastModifiedBy>
      <d2p1:LastUpdatedDateTime>2025-07-18T16:04:57.3004522+00:00</d2p1:LastUpdatedDateTime>
      <d2p1:SubEventConductingDrawId>1</d2p1:SubEventConductingDrawId>
      <d2p1:SubEventId>2</d2p1:SubEventId>
    </d2p1:TournamentSubEventConductingDrawInfo>
    <d2p1:TournamentSubEventConductingDrawInfo>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:Deleted>1</d2p1:Deleted>
      <d2p1:EventDrawsId>3</d2p1:EventDrawsId>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:LastModifiedBy>1</d2p1:LastModifiedBy>
      <d2p1:LastUpdatedDateTime>2025-07-18T16:04:57.3004522+00:00</d2p1:LastUpdatedDateTime>
      <d2p1:SubEventConductingDrawId>1</d2p1:SubEventConductingDrawId>
      <d2p1:SubEventId>2</d2p1:SubEventId>
    </d2p1:TournamentSubEventConductingDrawInfo>
  </conducting_draws>
  <organization_ner_details>
    <subevent_organization_ner_info>
      <CreatedBy>1</CreatedBy>
      <Deleted>1</Deleted>
      <EventId>1</EventId>
      <IsDeleted>true</IsDeleted>
      <LastModifiedBy>1</LastModifiedBy>
      <LastUpdatedDateTime>2025-07-18T16:04:57.3004522+00:00</LastUpdatedDateTime>
      <NERFullNationPairs>1</NERFullNationPairs>
      <NERPlayers>1</NERPlayers>
      <OrganizationId>1</OrganizationId>
      <SubEventId>1</SubEventId>
      <SubEventOrganizationNERId>1</SubEventOrganizationNERId>
    </subevent_organization_ner_info>
    <subevent_organization_ner_info>
      <CreatedBy>1</CreatedBy>
      <Deleted>1</Deleted>
      <EventId>1</EventId>
      <IsDeleted>true</IsDeleted>
      <LastModifiedBy>1</LastModifiedBy>
      <LastUpdatedDateTime>2025-07-18T16:04:57.3004522+00:00</LastUpdatedDateTime>
      <NERFullNationPairs>1</NERFullNationPairs>
      <NERPlayers>1</NERPlayers>
      <OrganizationId>1</OrganizationId>
      <SubEventId>1</SubEventId>
      <SubEventOrganizationNERId>1</SubEventOrganizationNERId>
    </subevent_organization_ner_info>
  </organization_ner_details>
  <paralympic_classes xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
    <d2p1:EventSEParalympicClassesInfo>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:Deleted>1</d2p1:Deleted>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:EventSEParalympicClassesLinkedId>1</d2p1:EventSEParalympicClassesLinkedId>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:LastModifiedBy>1</d2p1:LastModifiedBy>
      <d2p1:LastUpdatedDateTime>2025-07-18T16:04:57.3004522+00:00</d2p1:LastUpdatedDateTime>
      <d2p1:ParalympicClassId>3</d2p1:ParalympicClassId>
      <d2p1:SubEventId>2</d2p1:SubEventId>
    </d2p1:EventSEParalympicClassesInfo>
    <d2p1:EventSEParalympicClassesInfo>
      <d2p1:CreatedBy>1</d2p1:CreatedBy>
      <d2p1:Deleted>1</d2p1:Deleted>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:EventSEParalympicClassesLinkedId>1</d2p1:EventSEParalympicClassesLinkedId>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:LastModifiedBy>1</d2p1:LastModifiedBy>
      <d2p1:LastUpdatedDateTime>2025-07-18T16:04:57.3004522+00:00</d2p1:LastUpdatedDateTime>
      <d2p1:ParalympicClassId>3</d2p1:ParalympicClassId>
      <d2p1:SubEventId>2</d2p1:SubEventId>
    </d2p1:EventSEParalympicClassesInfo>
  </paralympic_classes>
  <phase_information xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
    <d2p1:EventTournamentSubEventPhasesInfo>
      <d2p1:Deleted>1</d2p1:Deleted>
      <d2p1:EndDateTime>2025-07-18T16:04:57.3004522+00:00</d2p1:EndDateTime>
      <d2p1:EventDrawsId>1</d2p1:EventDrawsId>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:EventTournamentPhaseId>1</d2p1:EventTournamentPhaseId>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:OrderNumber>1</d2p1:OrderNumber>
      <d2p1:StartDateTime>2025-07-18T16:04:57.3004522+00:00</d2p1:StartDateTime>
      <d2p1:SubEventId>1</d2p1:SubEventId>
      <d2p1:SubEventPhaseId>1</d2p1:SubEventPhaseId>
    </d2p1:EventTournamentSubEventPhasesInfo>
    <d2p1:EventTournamentSubEventPhasesInfo>
      <d2p1:Deleted>1</d2p1:Deleted>
      <d2p1:EndDateTime>2025-07-18T16:04:57.3004522+00:00</d2p1:EndDateTime>
      <d2p1:EventDrawsId>1</d2p1:EventDrawsId>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:EventTournamentPhaseId>1</d2p1:EventTournamentPhaseId>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:OrderNumber>1</d2p1:OrderNumber>
      <d2p1:StartDateTime>2025-07-18T16:04:57.3004522+00:00</d2p1:StartDateTime>
      <d2p1:SubEventId>1</d2p1:SubEventId>
      <d2p1:SubEventPhaseId>1</d2p1:SubEventPhaseId>
    </d2p1:EventTournamentSubEventPhasesInfo>
  </phase_information>
  <prize_information xmlns:d2p1="http://schemas.datacontract.org/2004/07/">
    <d2p1:EventTournamentPrizeMoneyInfo>
      <d2p1:CurrencyId>1</d2p1:CurrencyId>
      <d2p1:Deleted>1</d2p1:Deleted>
      <d2p1:EventDrawsId>1</d2p1:EventDrawsId>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:EventTournamentPhaseId>1</d2p1:EventTournamentPhaseId>
      <d2p1:EventTournamentPrizeMoneyId>1</d2p1:EventTournamentPrizeMoneyId>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:PrizeMoney>sample string 1</d2p1:PrizeMoney>
      <d2p1:PrizePositionId>1</d2p1:PrizePositionId>
      <d2p1:SubEventId>1</d2p1:SubEventId>
    </d2p1:EventTournamentPrizeMoneyInfo>
    <d2p1:EventTournamentPrizeMoneyInfo>
      <d2p1:CurrencyId>1</d2p1:CurrencyId>
      <d2p1:Deleted>1</d2p1:Deleted>
      <d2p1:EventDrawsId>1</d2p1:EventDrawsId>
      <d2p1:EventId>1</d2p1:EventId>
      <d2p1:EventTournamentPhaseId>1</d2p1:EventTournamentPhaseId>
      <d2p1:EventTournamentPrizeMoneyId>1</d2p1:EventTournamentPrizeMoneyId>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:PrizeMoney>sample string 1</d2p1:PrizeMoney>
      <d2p1:PrizePositionId>1</d2p1:PrizePositionId>
      <d2p1:SubEventId>1</d2p1:SubEventId>
    </d2p1:EventTournamentPrizeMoneyInfo>
  </prize_information>
</TournamentSubEventCreateJSON>

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>