Tournaments
Tournament Event Age Splits

Tournament Event Age Splits

Delete Event Age Splits By Uuid

DELETE
/v1/tournament_event_age_splits/{uuid}
💡
This request requires “PB-API-TOKEN” from the platforms.
Request
Empty 
Response
Empty 

List Tournament Events Age Splits

GET
/v1/data/tournament_event_age_splits
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
ParamDescription
page_sizeNumber value that represents number of returned results.
current_pageNumber value that represents offset of returned results.
uuidUuid of the event.
Request
Empty 
Response
{
   "totalRecords": "1",
   "result": [
       {
           "uuid": "aaaa-1111-bbbb-2222",
           "event_uuid": "1112-2222-3333-4444-5555",
           "splitByMaxCountPerAgeGrouping": 1,
           "ageFrom": 1,
           "ageFactor": "",
           "ageTo": 10,
           "canPlayersPlayDownInAge": false,
           "ifCanPlayDownInAgeOnlyAllowOneAboveTheToAgeLimit": false,
           "maxAttendies": 2,
           "maxWaitingList": 5,
           "dateCreated": "2023-09-11T19:28:58.244013984Z",
           "createdByFullName": "",
           "dateUpdated": "2023-09-11T19:28:58.244013984Z",
           "updatedByFullName": "",
           "splitTitle": "",
           "isSplitsGeneratedIntoEvents": false,
           "eventIdCopiedFrom": "",
           "dateOfEventCopiedFromSimulator": "2023-09-11T19:28:58.244013984Z",
           "locationIdCopiedFromSimulator": "",
           "bracketFormatIdCopiedFromSimulator": 0,
           "scoreRrNumberOfRoundRobinsCopiedFromSimulator": 0,
           "numberOfCourtsNeededCopiedFromSimulator": 0,
           "scoreRrTeamCountAdvanceToSingleElimMedalBracketCopied": 0,
           "estMinutesPerMatchRrCopiedFromSimulator": 0,
           "estMinutesPerMatchWCopiedFromSimulator": 0,
           "estMinutesPerMatchL1CopiedFromSimulator": 0,
           "estMinutesPerMatchBCopiedFromSimulator": 0,
           "estMinutesPerMatchGsCopiedFromSimulator": 0,
           "estMinutesPerMatchIfFirstLossCopiedFromSimulator": 0,
           "courtRunTypeCopiedFromSimulator": "",
           "doubleElimLoserCannotGetBackToWinnerCopied": false,
           "scoreRrDoSingleElimMedalBracketCopiedFromSimulator": 0,
           "medalRoundSingleElimCustomTypeCopiedFromSimulator": "",
           "maxAttendiesLottery": 10
       }
   ]
}

List Single Tournament Event Age Splits

GET
/v1/data/tournament_event_age_splits/{uuid}
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Request
Empty 
Response
{
   "uuid": "aaaa-1111-bbbb-2222",
   "event_uuid": "1112-2222-3333-4444-5555",
   "splitByMaxCountPerAgeGrouping": 1,
   "ageFrom": 1,
   "ageFactor": "",
   "ageTo": 10,
   "canPlayersPlayDownInAge": false,
   "ifCanPlayDownInAgeOnlyAllowOneAboveTheToAgeLimit": false,
   "maxAttendies": 2,
   "maxWaitingList": 5,
   "dateCreated": "2023-09-11T19:28:58.244013984Z",
   "createdByFullName": "",
   "dateUpdated": "2023-09-11T19:28:58.244013984Z",
   "updatedByFullName": "",
   "splitTitle": "",
   "isSplitsGeneratedIntoEvents": false,
   "eventIdCopiedFrom": "",
   "dateOfEventCopiedFromSimulator": "2023-09-11T19:28:58.244013984Z",
   "locationIdCopiedFromSimulator": "",
   "bracketFormatIdCopiedFromSimulator": 0,
   "scoreRrNumberOfRoundRobinsCopiedFromSimulator": 0,
   "numberOfCourtsNeededCopiedFromSimulator": 0,
   "scoreRrTeamCountAdvanceToSingleElimMedalBracketCopied": 0,
   "estMinutesPerMatchRrCopiedFromSimulator": 0,
   "estMinutesPerMatchWCopiedFromSimulator": 0,
   "estMinutesPerMatchL1CopiedFromSimulator": 0,
   "estMinutesPerMatchBCopiedFromSimulator": 0,
   "estMinutesPerMatchGsCopiedFromSimulator": 0,
   "estMinutesPerMatchIfFirstLossCopiedFromSimulator": 0,
   "courtRunTypeCopiedFromSimulator": "",
   "doubleElimLoserCannotGetBackToWinnerCopied": false,
   "scoreRrDoSingleElimMedalBracketCopiedFromSimulator": 0,
   "medalRoundSingleElimCustomTypeCopiedFromSimulator": "",
   "maxAttendiesLottery": 10
}

Upsert Tournament Event Age Splits

POST
/v1/tournament_event_age_splits/upsert
💡
This request requires “PB-API-TOKEN” from the platforms.
Request
{
    "payload":{
       "uuid": "aaaa-1111-bbbb-2222",
       "event_uuid": "1112-2222-3333-4444-5555",
       "splitByMaxCountPerAgeGrouping": 1,
       "ageFrom": 1,
       "ageFactor": "",
       "ageTo": 10,
       "canPlayersPlayDownInAge": false,
       "ifCanPlayDownInAgeOnlyAllowOneAboveTheToAgeLimit": false,
       "maxAttendies": 2,
       "maxWaitingList": 5,
       "dateCreated": "2023-09-11T19:28:58.244013984Z",
       "createdByFullName": "",
       "dateUpdated": "2023-09-11T19:28:58.244013984Z",
       "updatedByFullName": "",
       "splitTitle": "",
       "isSplitsGeneratedIntoEvents": false,
       "eventIdCopiedFrom": "",
       "dateOfEventCopiedFromSimulator": "2023-09-11T19:28:58.244013984Z",
       "locationIdCopiedFromSimulator": "",
       "bracketFormatIdCopiedFromSimulator": 0,
       "scoreRrNumberOfRoundRobinsCopiedFromSimulator": 0,
       "numberOfCourtsNeededCopiedFromSimulator": 0,
       "scoreRrTeamCountAdvanceToSingleElimMedalBracketCopied": 0,
       "estMinutesPerMatchRrCopiedFromSimulator": 0,
       "estMinutesPerMatchWCopiedFromSimulator": 0,
       "estMinutesPerMatchL1CopiedFromSimulator": 0,
       "estMinutesPerMatchBCopiedFromSimulator": 0,
       "estMinutesPerMatchGsCopiedFromSimulator": 0,
       "estMinutesPerMatchIfFirstLossCopiedFromSimulator": 0,
       "courtRunTypeCopiedFromSimulator": "",
       "doubleElimLoserCannotGetBackToWinnerCopied": false,
       "scoreRrDoSingleElimMedalBracketCopiedFromSimulator": 0,
       "medalRoundSingleElimCustomTypeCopiedFromSimulator": "",
       "maxAttendiesLottery": 10
    },
    "fieldsToOmit":[]
}
Response
{
   "result": {
       "uuid": "aaaa-1111-bbbb-2222",
       "event_uuid": "1112-2222-3333-4444-5555",
       "splitByMaxCountPerAgeGrouping": 1,
       "ageFrom": 1,
       "ageFactor": "",
       "ageTo": 10,
       "canPlayersPlayDownInAge": false,
       "ifCanPlayDownInAgeOnlyAllowOneAboveTheToAgeLimit": false,
       "maxAttendies": 2,
       "maxWaitingList": 5,
       "dateCreated": "2023-09-11T19:28:58.244013984Z",
       "createdByFullName": "",
       "dateUpdated": "2023-09-11T19:28:58.244013984Z",
       "updatedByFullName": "",
       "splitTitle": "",
       "isSplitsGeneratedIntoEvents": false,
       "eventIdCopiedFrom": "",
       "dateOfEventCopiedFromSimulator": "2023-09-11T19:28:58.244013984Z",
       "locationIdCopiedFromSimulator": "",
       "bracketFormatIdCopiedFromSimulator": 0,
       "scoreRrNumberOfRoundRobinsCopiedFromSimulator": 0,
       "numberOfCourtsNeededCopiedFromSimulator": 0,
       "scoreRrTeamCountAdvanceToSingleElimMedalBracketCopied": 0,
       "estMinutesPerMatchRrCopiedFromSimulator": 0,
       "estMinutesPerMatchWCopiedFromSimulator": 0,
       "estMinutesPerMatchL1CopiedFromSimulator": 0,
       "estMinutesPerMatchBCopiedFromSimulator": 0,
       "estMinutesPerMatchGsCopiedFromSimulator": 0,
       "estMinutesPerMatchIfFirstLossCopiedFromSimulator": 0,
       "courtRunTypeCopiedFromSimulator": "",
       "doubleElimLoserCannotGetBackToWinnerCopied": false,
       "scoreRrDoSingleElimMedalBracketCopiedFromSimulator": 0,
       "medalRoundSingleElimCustomTypeCopiedFromSimulator": "",
       "maxAttendiesLottery": 10
   }
}