Tourney
Delete tourney flat data
DELETE
DELETE /v1/tournaments/tourney_flat_data/{uuid}
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Response
Empty
List tourney flat data
GET
GET /v1/data/tourney_flat_data
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Query parameters
Name | Description |
---|---|
start_date | Unix timestamp |
end_date | Unix timestamp |
retrieve_all | Boolean value that when equal to true returns all results |
page_size | Number value that represents number of returned results |
tournament_code | Search by tournament code |
current_page | Number value that represents offset of returned results |
tournament_uuid | String value filter by tournament_uuid |
search_name | String value filter by tournament title/name |
latitude | Double value filter by range must be in range -90 to 90 |
longitude | Double value filter by range must be in range -180 to 180 |
distance | Integer value for filter by range |
unit_of_distance | Default system value is 'km' (kilometer) if unit_of_distance=mi then distance parameter will be used as miles |
is_featured | Boolean value filter by featured tournaments, default value is is_featured=false, set to is_featured=true in order to apply filter |
sanction_app | Boolean value filter by sanction APP, default value is sanction_app=false, set to sanction_app=true in order to apply filter |
sanction_gpa | Boolean value filter by sanction GPA, default value is sanction_gpa=false, set to sanction_gpa=true in order to apply filter |
sanction_mlp | Boolean value filter by sanction MLP, default value is sanction_mlp=false, set to sanction_mlp=true in order to apply filter |
sanction_paa | Boolean value filter by sanction PAA, default value is sanction_paa=false, set to sanction_paa=true in order to apply filter |
sanction_pco | Boolean value filter by sanction PCO, default value is sanction_pco=false, set to sanction_pco=true in order to apply filter |
sanction_ppa | Boolean value filter by sanction PPA, default value is sanction_ppa=false, set to sanction_ppa=true in order to apply filter |
sanction_ssipa | Boolean value filter by sanction SSIPA, default value is sanction_ssipa=false, set to sanction_ssipa=true in order to apply filter |
sanction_usapa | Boolean value filter by sanction USAPA, default value is sanction_usapa=false, set to sanction_usapa=true in order to apply filter |
sanction_wpf | Boolean value filter by sanction WPF, default value is sanction_wpf=false, set to sanction_wpf=true in order to apply filter |
is_prize_money | Boolean value filter by tournaments with prize money set, default value is is_prize_money=false, set to is_prize_money=true in order to apply filter |
past_events | Boolean value filter by tournaments that completed, default value is past_events=false, set to past_events=true in order to apply filter |
upcomming_events | Boolean value filter by tournaments that are yet to be played, default value is upcomming_events=false, set to upcomming_events=true in order to apply filter |
now_playing | lists tournaments that are currently played |
now_registering | lists tournaments that are currentyl open for registration |
club_id | lists tournaments by club_id, can take in multiple values separated by a comma ("club_id1","club_id2",...) |
Response
{
"result": {
"TournamentID": "yIIklqUPAtIwPHeiEcDktwMUh",
"ClubID": "IhjlFbjOMVeBBrKidNjTnlbbR",
"Platform": "PickleballBrackets",
"DetailsURL": "kRCFHHvNYErwXQFiHDoJOYcxd",
"CancelTourney": true,
"CostFeeOnEvents": false,
"CostRegistrationCurrent": 100,
"TourneyFromDate": "1970-01-01T00:00:18Z",
"TourneyToDate": "1970-01-01T00:01:24Z",
"IsPrizeMoney": true,
"IsRegClosed": true,
"LocationCity": "pSWsljHkXCZYwlRPnHKZTRPEJ",
"LocationCountry": "lSyqAVWBntlouQBtEwfNLRiLZ",
"LocationState": "ADAvNSybbQKaRYKQDjoNIcoRV",
"LocationStreetAddress": "vmHVTiiOZvfWhcflDwVaqYkPF",
"LocationVenue": "xAynhCOkTDdVxZNqNxfBGTpAa",
"LocationZip": "GaYOSqAQrFXLCVmBHjFmTTDsg",
"Logo": "WcIXYkgDAfOFBJMFGVZnwRElC",
"OnlineRegistrationActive": true,
"RegistrationCount": "17",
"RegistrationDateClosed": "1970-01-01T00:01:23.000000046Z",
"RegistrationDateOpen": "1970-01-01T00:01:38.000000015Z",
"TimeZoneAbbreviation": "IST",
"Title": "xEsNQHNoRcLuFNYtAewdOxwkc",
"IsFeatured": false,
"Longitude": 0,
"Latitude": 0,
"FormatCode": "en-US",
"TimeZoneUTCOffset": 19800,
"IsFeaturedPlus": false,
"ContactFormRegistration": "Form text",
"ContactFormMyWebsiteAccount": "www.abc.bca",
"ContactFormRefunds": "Text field 100.00$",
"ContactFormOther": "Other field",
"ContactFormRequestPartnerChange": "Bernad Delic",
"ContactFormVolunteer": "Volunteer text",
"ContactFormReferee": "Referee text",
"ContactFormVendor": "Vendor text",
"ContactFormSponsor": "Sponsor text",
"ContactFormPublicDisplayName": "Kenan",
"ContactFormPublicDisplayEmail": "init@thegate.dev",
"ContactFormPublicDisplayPhone": "+1111",
"DateArchived": null,
"DateShowToPublic": "1970-01-01T00:01:23.000000046Z",
"GoverningBodies": [
{
"id": "3",
"approvedStatus": "Pending",
"sanctionLevelId": "22a36dc6",
"shortName": ""
},
{
"id": "4",
"approvedStatus": "pending1",
"sanctionLevelId": "22a36dc6",
"shortName": ""
}
],
"PBTournamentCode": "",
"IsTest": false,
"IsAdvertiseOnly": false,
"RefereeAppCode": "",
"SendPreliminaryToGenius": false,
"DateCompleted": null,
"UsingGeniusSports": false,
"ClubSanctionLevelId": "",
"dateCreated": "2023-10-04T09:54:20.328Z",
"dateUpdated": "2023-10-24T09:30:02.144013952Z",
"hideRegisteredPlayers": false,
"hideTourneyOnSearchPage": false,
"lockDate": "2023-03-14T18:00:00Z",
"ianaTzIdentifier": "Asia/Kolkata",
"timezoneId": 2,
"tierLevelUuid": "f2a0b9f8-8a89-4fa0-928a-92c195b54f08",
"ticketsUrl": "",
"UsingGenuisSports": false,
"PaymentCurrencyAbbreviation": "",
"digitalScoreCardHideCourts": false,
"digitalScoreCardHideReferees": false,
"digitalScoreCardHideNextUp1": false,
"digitalScoreCardHideNextUp2": false,
"countDeskMinutesToEstimatedTimeForNextUp": "0",
"titleSponsorLogo": "test",
"titleSponsorTagline": "test",
"titleSponsorTitle": "test",
"titleSponsorUrl": "test",
"hideRegisteredPlayersInt": "10"
}
}
Post tourney flat data
POST
POST /v1/tournaments/tourney_flat_data
💡
This request requires “PB-API-TOKEN” from the platforms.
Query parameters
Name | Description |
---|---|
fieldsToOmit | Contains JSON field names of fields to be omitted. If you want to have fields ignores and not set by the default values, set the JSON tags in the string array. |
Request
{
"payload": {
"TournamentID": "yIIklqUPAtIwPHeiEcDktwMUh",
"ClubID": "IhjlFbjOMVeBBrKidNjTnlbbR",
"Platform": "PickleballBrackets",
"DetailsURL": "kRCFHHvNYErwXQFiHDoJOYcxd",
"CancelTourney": true,
"CostFeeOnEvents": false,
"CostRegistrationCurrent": 100.00,
"FormatCode": "en-US",
"TourneyFromDate": "1970-01-01T00:00:18.000000079Z",
"TourneyToDate": "1970-01-01T00:01:24.000000049Z",
"IsPrizeMoney": true,
"IsRegClosed": true,
"IsFeatured": false,
"LocationCity": "pSWsljHkXCZYwlRPnHKZTRPEJ",
"LocationCountry": "lSyqAVWBntlouQBtEwfNLRiLZ",
"LocationState": "ADAvNSybbQKaRYKQDjoNIcoRV",
"LocationStreetAddress": "vmHVTiiOZvfWhcflDwVaqYkPF",
"LocationVenue": "xAynhCOkTDdVxZNqNxfBGTpAa",
"LocationZip": "GaYOSqAQrFXLCVmBHjFmTTDsg",
"Logo": "WcIXYkgDAfOFBJMFGVZnwRElC",
"OnlineRegistrationActive": true,
"RegistrationCount": 17,
"RegistrationDateClosed": "1970-01-01T00:01:23.000000046Z",
"RegistrationDateOpen": "1970-01-01T00:01:38.000000015Z",
"SanctionLevelAppovedStatusGPA": "brtvwVdHybXDuxKmcwXxXHluu",
"SanctionLevelAppovedStatusPAA": "lWxsoTLplTbxOwYFCfjqDrTCd",
"SanctionLevelAppovedStatusPCO": "huflybtQDJqbotBZUAeGCYSLZ",
"SanctionLevelAppovedStatusSSIPA": "MeRgQInhgWqlNWDCdWKjCyQhE",
"SanctionLevelAppovedStatusUSAP": "jEnNEaKEEHgLFtvpJaysVCaHl",
"SanctionLevelAppovedStatusWPF": "ynDtRPjlRmymHGhlEhFKaumnQ",
"SanctionLevelAppovedStatusPPA": "ecOvSIKLdMCaECBREhCollUQr",
"SanctionLevelAppovedStatusAPP": "AoveNBTgrvhiVJEwtobhYoIVD",
"SanctionLevelAppovedStatusMLP": "nMHKmxCWynOHdWGXUaxaPBmuT",
"SanctionGPA": false,
"SanctionPAA": false,
"SanctionPCO": true,
"SanctionSSIPA": true,
"SanctionUSAPA": false,
"SanctionWPF": false,
"SanctionPPA": false,
"SanctionAPP": false,
"SanctionMLP": false,
"SantionLevelsGPALevelLogo": "vkMmojlMJAIRbgkMKjVaNnSPd",
"SantionLevelsGPATitle": "yqHWNXaXYPCAtuTUgqMLlAKhT",
"SantionLevelsPAALevelLogo": "IWoLjRZAlNwCsbNxsftFuaKwC",
"SantionLevelsPAATitle": "BeeErixfqvBmvBAwPBvtEFNNU",
"SantionLevelsPCOLevelLogo": "WNwiJNvUdwXFkbeGDlXpmeMVr",
"SantionLevelsPCOTitle": "cLYptbbyomkjBVhLGvRXZfxxR",
"SantionLevelsSSIPALevelLogo": "TdeSjKygmEHbqkbsscGlyOoqj",
"SantionLevelsSSIPATitle": "rDprBaBLUJHPFoUUBudFpCtZB",
"SantionLevelsUSAPLevelLogo": "QrdnnlgDWgLsbChLyjqVRDiCP",
"SantionLevelsUSAPTitle": "QAxyfStLKkeSxXeqiYJGyBblv",
"SantionLevelsWPFLevelLogo": "YfuPeGCvuqJrleQVgeJceURjr",
"SantionLevelsWPFTitle": "grQWqTKZOmKtZSsTSHilodkvP",
"SantionLevelsPPALevelLogo": "PBExsWRuRDrxtMMduJYOKLbaq",
"SantionLevelsPPATitle": "mBfYmDTZwTWrtwasuFmxSITIj",
"SantionLevelsAPPLevelLogo": "TQdGrViPRjGhcxLEMNRuLyHCX",
"SantionLevelsAPPTitle": "RmtDSfEvGyAbioTwkGQELTkCR",
"SantionLevelsMLPLevelLogo": "IylLoyVbTrtqOySMDjrlgadLf",
"SantionLevelsMLPTitle": "LHjqBmrEHmXtWKoXERMeYFjUC",
"TimeZoneAbbreviation": "jFprHtNkttbiqajhJKTDGperJ",
"Title": "xEsNQHNoRcLuFNYtAewdOxwkc",
"Longitude": 5.9831967,
"Latitude": 58.6189,
"DateShowToPublic": "1970-01-01T00:01:23.000000046Z",
"ContactFormRegistration":"Form text",
"ContactFormMyWebsiteAccount":"www.abc.bca",
"ContactFormRefunds":"Text field 100.00$",
"ContactFormOther":"Other field",
"ContactFormRequestPartnerChange":"Bernad Delic",
"ContactFormVolunteer":"Volunteer text",
"ContactFormReferee":"Referee text",
"ContactFormVendor":"Vendor text",
"ContactFormSponsor":"Sponsor text",
"ContactFormPublicDisplayName": "Kenan",
"ContactFormPublicDisplayEmail": "init@thegate.dev",
"ContactFormPublicDisplayPhone": "+1111",
"DateHideFromPublic": "2022-12-16T19:43:11Z",
"dateCreated": "2023-05-30T09:12:54.469Z",
"dateUpdated": "2023-05-30T09:14:33.969943380Z",
"hideRegisteredPlayers": false,
"hideTourneyOnSearchPage": false,
"lockDate": "2023-03-14T18:00:00Z",
"ianaTzIdentifier":"Asia/Kolkata",
"timezoneId": 2,
"tier_level_uuid":"f2a0b9f8-8a89-4fa0-928a-92c195b54f08",
"ticketsUrl": "",
"PaymentCurrencyAbbreviation" : "",
"DigitalScoreCardHideCourts" : false,
"DigitalScoreCardHideReferees" : false,
"DigitalScoreCardHideNextUp1" : false,
"DigitalScoreCardHideNextUp2" : false,
"CountDeskMinutesToEstimatedTimeForNextUp" : 10,
"DateArchived":"2023-03-14T18:00:00Z",,
"hideRegisteredPlayersInt": "10",
"advertise_only_from_date": "2024-04-10T14:17:54.386076500Z",
"advertise_only_to_date": "2024-04-10T14:17:54.386076500Z",
"logo_scroller": "i am logo scroller 2",
"GoverningBodies": [
{
"id": "3",
"approvedStatus": "Pending",
"sanctionLevelId": "22a36dc6"
},
{
"id": "4",
"approvedStatus": "pending1",
"sanctionLevelId": "22a36dc6"
}
]
},
"fieldsToOmit": ["FormatCode","Title"]
}
Response
{
"result": {
"TournamentID": "yIIklqUPAtIwPHeiEcDktwMUh",
"ClubID": "IhjlFbjOMVeBBrKidNjTnlbbR",
"Platform": "PickleballBrackets",
"DetailsURL": "kRCFHHvNYErwXQFiHDoJOYcxd",
"CancelTourney": true,
"CostFeeOnEvents": false,
"CostRegistrationCurrent": 100.00,
"FormatCode": "en-US",
"TourneyFromDate": "1970-01-01T00:00:18.000000079Z",
"TourneyToDate": "1970-01-01T00:01:24.000000049Z",
"IsPrizeMoney": true,
"IsRegClosed": true,
"IsFeatured": false,
"LocationCity": "pSWsljHkXCZYwlRPnHKZTRPEJ",
"LocationCountry": "lSyqAVWBntlouQBtEwfNLRiLZ",
"LocationState": "ADAvNSybbQKaRYKQDjoNIcoRV",
"LocationStreetAddress": "vmHVTiiOZvfWhcflDwVaqYkPF",
"LocationVenue": "xAynhCOkTDdVxZNqNxfBGTpAa",
"LocationZip": "GaYOSqAQrFXLCVmBHjFmTTDsg",
"Logo": "WcIXYkgDAfOFBJMFGVZnwRElC",
"OnlineRegistrationActive": true,
"RegistrationCount": 17,
"RegistrationDateClosed": "1970-01-01T00:01:23.000000046Z",
"RegistrationDateOpen": "1970-01-01T00:01:38.000000015Z",
"SanctionLevelAppovedStatusGPA": "brtvwVdHybXDuxKmcwXxXHluu",
"SanctionLevelAppovedStatusPAA": "lWxsoTLplTbxOwYFCfjqDrTCd",
"SanctionLevelAppovedStatusPCO": "huflybtQDJqbotBZUAeGCYSLZ",
"SanctionLevelAppovedStatusSSIPA": "MeRgQInhgWqlNWDCdWKjCyQhE",
"SanctionLevelAppovedStatusUSAP": "jEnNEaKEEHgLFtvpJaysVCaHl",
"SanctionLevelAppovedStatusWPF": "ynDtRPjlRmymHGhlEhFKaumnQ",
"SanctionLevelAppovedStatusPPA": "ecOvSIKLdMCaECBREhCollUQr",
"SanctionLevelAppovedStatusAPP": "AoveNBTgrvhiVJEwtobhYoIVD",
"SanctionLevelAppovedStatusMLP": "nMHKmxCWynOHdWGXUaxaPBmuT",
"SanctionGPA": false,
"SanctionPAA": false,
"SanctionPCO": true,
"SanctionSSIPA": true,
"SanctionUSAPA": false,
"SanctionWPF": false,
"SanctionPPA": false,
"SanctionAPP": false,
"SanctionMLP": false,
"SantionLevelsGPALevelLogo": "vkMmojlMJAIRbgkMKjVaNnSPd",
"SantionLevelsGPATitle": "yqHWNXaXYPCAtuTUgqMLlAKhT",
"SantionLevelsPAALevelLogo": "IWoLjRZAlNwCsbNxsftFuaKwC",
"SantionLevelsPAATitle": "BeeErixfqvBmvBAwPBvtEFNNU",
"SantionLevelsPCOLevelLogo": "WNwiJNvUdwXFkbeGDlXpmeMVr",
"SantionLevelsPCOTitle": "cLYptbbyomkjBVhLGvRXZfxxR",
"SantionLevelsSSIPALevelLogo": "TdeSjKygmEHbqkbsscGlyOoqj",
"SantionLevelsSSIPATitle": "rDprBaBLUJHPFoUUBudFpCtZB",
"SantionLevelsUSAPLevelLogo": "QrdnnlgDWgLsbChLyjqVRDiCP",
"SantionLevelsUSAPTitle": "QAxyfStLKkeSxXeqiYJGyBblv",
"SantionLevelsWPFLevelLogo": "YfuPeGCvuqJrleQVgeJceURjr",
"SantionLevelsWPFTitle": "grQWqTKZOmKtZSsTSHilodkvP",
"SantionLevelsPPALevelLogo": "PBExsWRuRDrxtMMduJYOKLbaq",
"SantionLevelsPPATitle": "mBfYmDTZwTWrtwasuFmxSITIj",
"SantionLevelsAPPLevelLogo": "TQdGrViPRjGhcxLEMNRuLyHCX",
"SantionLevelsAPPTitle": "RmtDSfEvGyAbioTwkGQELTkCR",
"SantionLevelsMLPLevelLogo": "IylLoyVbTrtqOySMDjrlgadLf",
"SantionLevelsMLPTitle": "LHjqBmrEHmXtWKoXERMeYFjUC",
"TimeZoneAbbreviation": "jFprHtNkttbiqajhJKTDGperJ",
"Title": "xEsNQHNoRcLuFNYtAewdOxwkc",
"Longitude": 5.9831967,
"Latitude": 58.6189,
"DateShowToPublic": "1970-01-01T00:01:23.000000046Z",
"ContactFormRegistration":"Form text",
"ContactFormMyWebsiteAccount":"www.abc.bca",
"ContactFormRefunds":"Text field 100.00$",
"ContactFormOther":"Other field",
"ContactFormRequestPartnerChange":"Bernad Delic",
"ContactFormVolunteer":"Volunteer text",
"ContactFormReferee":"Referee text",
"ContactFormVendor":"Vendor text",
"ContactFormSponsor":"Sponsor text",
"ContactFormPublicDisplayName": "Kenan",
"ContactFormPublicDisplayEmail": "init@thegate.dev",
"ContactFormPublicDisplayPhone": "+1111",
"DateHideFromPublic": "2022-12-16T19:43:11Z",
"dateCreated": "2023-05-30T09:12:54.469Z",
"dateUpdated": "2023-05-30T09:14:33.969943380Z",
"hideRegisteredPlayers": false,
"hideTourneyOnSearchPage": false,
"lockDate": "2023-03-14T18:00:00Z",
"ianaTzIdentifier":"Asia/Kolkata",
"timezoneId": 2,
"tier_level_uuid":"f2a0b9f8-8a89-4fa0-928a-92c195b54f08",
"ticketsUrl": "",
"PaymentCurrencyAbbreviation" : "",
"DigitalScoreCardHideCourts" : false,
"DigitalScoreCardHideReferees" : false,
"DigitalScoreCardHideNextUp1" : false,
"DigitalScoreCardHideNextUp2" : false,
"CountDeskMinutesToEstimatedTimeForNextUp" : 10,
"hideRegisteredPlayersInt": "10",
"advertise_only_from_date": "2024-04-10T14:17:54.386076500Z",
"advertise_only_to_date": "2024-04-10T14:17:54.386076500Z",
"logo_scroller": "i am logo scroller 2",
"GoverningBodies": [
{
"id": "3",
"approvedStatus": "Pending",
"sanctionLevelId": "22a36dc6"
},
{
"id": "4",
"approvedStatus": "pending1",
"sanctionLevelId": "22a36dc6"
}
]
},
"fieldsToOmit": ["FormatCode","Title"]
}
List Active Tournaments by Start and End Date
GET
GET /v1/data/list_active_tournaments?start_date=1684195200&end_date=1684281599
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Query Parameters
Name | Description |
---|---|
start_date | search start_date |
end_date | search end_date |
Request
Empty
Response
{
"total_records": "5",
"result": [
{
"TournamentID": "f763a146-ee29-4a55-8ff2-44cce79858dd",
"ClubID": "dac82987-c932-4ae9-a22e-a840dc926e7d",
"Platform": "PickleballBrackets",
"DetailsURL": "https://pickleballbrackets.com/ptd.aspx?eid=F763A146-EE29-4A55-8FF2-44CCE79858DD",
"CancelTourney": false,
"Cost_FeeOnEvents": false,
"Cost_Registration_Current": 55,
"TourneyFromDate": "2023-05-13T12:30:00Z",
"TourneyToDate": "2023-05-13T12:30:00Z",
"IsPrizeMoney": false,
"IsRegClosed": true,
"LocationCity": "Mesa",
"LocationCountry": "USA",
"LocationState": "AZ",
"LocationStreetAddress": "4125 E McKellips Rd",
"LocationVenue": "Mesa Tennis & Pickleball Center",
"LocationZip": "85215",
"Logo": "https://pickleballbrackets.com/uploads/events/F763A146-EE29-4A55-8FF2-44CCE79858DD/f763a146-ee29-4a55-8ff2-44cce79858dd_Logo.jpg",
"OnlineRegistration_Active": true,
"RegistrationCount": "56",
"Registration_DateClosed": "2023-05-11T15:00:00Z",
"Registration_DateOpen": "2022-12-07T14:00:00Z",
"TimeZoneAbbreviation": "AZST",
"Title": "On Court Adventures 1 Day Men's Doubles Tournament at Gene Autry",
"IsFeatured": false,
"Longitude": -111.74319,
"Latitude": 33.450806,
"FormatCode": "en-US",
"TimeZoneUTC_Offset": -7,
"IsFeaturedPlus": false,
"ContactFormRegistration": "kelly@oncourtadventures.com",
"ContactFormMyWebsiteAccount": "kelly@oncourtadventures.com",
"ContactFormRefunds": "kelly@oncourtadventures.com",
"ContactFormOther": "kelly@oncourtadventures.com",
"ContactFormRequestPartnerChange": "kelly@oncourtadventures.com",
"ContactFormVolunteer": "kelly@oncourtadventures.com",
"ContactFormReferee": "kelly@oncourtadventures.com",
"ContactFormVendor": "kelly@oncourtadventures.com",
"ContactFormSponsor": "kelly@oncourtadventures.com",
"ContactFormPublicDisplayName": "",
"ContactFormPublicDisplayEmail": "Tournaments@oncourtadventures.com",
"ContactFormPublicDisplayPhone": "508-517-5270",
"DateArchived": null,
"DateShowToPublic": "2022-12-07T21:00:00Z",
"DateHideFromPublic": "2023-04-09T22:00:00Z",
"GoverningBodies": [],
"PBTournamentCode": "PB1468",
"IsTest": false,
"IsAdvertiseOnly": false,
"DateCompleted": null,
"UsingGeniusSports": false,
"ClubSanctionLevelId": "",
"date_created": null,
"date_updated": null,
"hide_registered_players": false,
"lockDate": "2023-03-14T18:00:00Z",
"ianaTzIdentifier":"Asia/Kolkata",
"timezoneId": 2,
"hideRegisteredPlayersInt": "10"
},
{
"TournamentID": "4283b571-ca4b-417c-b4bc-4f2c96bef66c",
"ClubID": "d5aa36b3-1b73-4480-9df3-965182cd7a07",
"Platform": "PickleballBrackets",
"DetailsURL": "https://pickleballbrackets.com/ptd.aspx?eid=4283B571-CA4B-417C-B4BC-4F2C96BEF66C",
"CancelTourney": false,
"Cost_FeeOnEvents": true,
"Cost_Registration_Current": 55,
"TourneyFromDate": "2022-01-21T11:55:00Z",
"TourneyToDate": "2024-12-22T12:00:00Z",
"IsPrizeMoney": false,
"IsRegClosed": false,
"LocationCity": "Buffalo",
"LocationCountry": "USA",
"LocationState": "NY",
"LocationStreetAddress": "123 Main St",
"LocationVenue": "Convention Center",
"LocationZip": "14225",
"Logo": "https://pickleballbrackets.com/uploads/events/4283B571-CA4B-417C-B4BC-4F2C96BEF66C/4283b571-ca4b-417c-b4bc-4f2c96bef66c_Logo.png",
"OnlineRegistration_Active": true,
"RegistrationCount": "92",
"Registration_DateClosed": "2030-08-25T01:00:00Z",
"Registration_DateOpen": "2021-04-28T11:00:00Z",
"TimeZoneAbbreviation": "EST",
"Title": "001.a DEMO",
"IsFeatured": false,
"Longitude": -78.87664,
"Latitude": 42.878677,
"FormatCode": "en-US",
"TimeZoneUTC_Offset": -5,
"IsFeaturedPlus": false,
"ContactFormRegistration": "temp+f44a4c93@pickleballbrackets.com",
"ContactFormMyWebsiteAccount": "jason_test3@pickleballbrackets.com",
"ContactFormRefunds": "jason_test4@pickleballbrackets.com",
"ContactFormOther": "jason_test9@pickleballbrackets.com",
"ContactFormRequestPartnerChange": "jason_test2@pickleballbrackets.com",
"ContactFormVolunteer": "jason_test5@pickleballbrackets.com",
"ContactFormReferee": "jason_test6@pickleballbrackets.com",
"ContactFormVendor": "jason_test7@pickleballbrackets.com",
"ContactFormSponsor": "jason_test8@pickleballbrackets.com",
"ContactFormPublicDisplayName": "Frank Smith",
"ContactFormPublicDisplayEmail": "myEmail@there.com",
"ContactFormPublicDisplayPhone": "111 222-3900",
"DateArchived": null,
"DateShowToPublic": "2021-04-28T15:00:00Z",
"DateHideFromPublic": "2023-04-09T22:00:00Z",
"GoverningBodies": [],
"PBTournamentCode": "PB177",
"IsTest": true,
"IsAdvertiseOnly": false,
"DateCompleted": null,
"UsingGeniusSports": false,
"ClubSanctionLevelId": "",
"date_created": null,
"date_updated": "2023-06-04T17:42:36.799Z",
"hide_registered_players": false,
"lockDate": "2023-03-14T18:00:00Z",
"ianaTzIdentifier":"Asia/Kolkata",
"timezoneId": 2,
"hideRegisteredPlayersInt": "10"
},
{
"TournamentID": "a47baa28-4bc2-4898-a939-6234eb720534",
"ClubID": "2bd689bf-497c-4f01-8fcb-cc55c016f0f8",
"Platform": "PickleballBrackets",
"DetailsURL": "https://pickleballbrackets.com/ptd.aspx?eid=A47BAA28-4BC2-4898-A939-6234EB720534",
"CancelTourney": false,
"Cost_FeeOnEvents": false,
"Cost_Registration_Current": 50,
"TourneyFromDate": "2023-05-13T12:00:00Z",
"TourneyToDate": "2023-05-14T12:00:00Z",
"IsPrizeMoney": true,
"IsRegClosed": true,
"LocationCity": "Daphne",
"LocationCountry": "USA",
"LocationState": "AL",
"LocationStreetAddress": "2000 Main Street",
"LocationVenue": "Lott Park Pickleball Courts (12 dedicated outdoor courts)",
"LocationZip": "36526",
"Logo": "https://pickleballbrackets.com/uploads/Clubs/2bd689bf-497c-4f01-8fcb-cc55c016f0f8/a47baa28-4bc2-4898-a939-6234eb720534_Logo.jpg",
"OnlineRegistration_Active": true,
"RegistrationCount": "89",
"Registration_DateClosed": "2023-05-11T16:00:00Z",
"Registration_DateOpen": "2023-03-14T13:00:00Z",
"TimeZoneAbbreviation": "CST",
"Title": "Baldwin Bone & Joint Pickleball Classic",
"IsFeatured": false,
"Longitude": -87.90191,
"Latitude": 30.606386,
"FormatCode": "en-US",
"TimeZoneUTC_Offset": -6,
"IsFeaturedPlus": false,
"ContactFormRegistration": "MagnoliaClassicPB@gmail.com",
"ContactFormMyWebsiteAccount": "MagnoliaClassicPB@gmail.com",
"ContactFormRefunds": "MagnoliaClassicPB@gmail.com",
"ContactFormOther": "MagnoliaClassicPB@gmail.com",
"ContactFormRequestPartnerChange": "MagnoliaClassicPB@gmail.com",
"ContactFormVolunteer": "MagnoliaClassicPB@gmail.com",
"ContactFormReferee": "MagnoliaClassicPB@gmail.com",
"ContactFormVendor": "MagnoliaClassicPB@gmail.com",
"ContactFormSponsor": "MagnoliaClassicPB@gmail.com",
"ContactFormPublicDisplayName": "Bill Maloy",
"ContactFormPublicDisplayEmail": "MagnoliaClassicPB@gmail.com",
"ContactFormPublicDisplayPhone": "2285960829",
"DateArchived": null,
"DateShowToPublic": "2023-03-14T18:00:00Z",
"DateHideFromPublic": "2023-04-09T22:00:00Z",
"GoverningBodies": [],
"PBTournamentCode": "PB2298",
"IsTest": false,
"IsAdvertiseOnly": false,
"DateCompleted": null,
"UsingGeniusSports": false,
"ClubSanctionLevelId": "",
"date_created": null,
"date_updated": null,
"hide_registered_players": false,
"lockDate": "2023-03-14T18:00:00Z",
"ianaTzIdentifier":"Asia/Kolkata",
"timezoneId": 2,
"hideRegisteredPlayersInt": "10"
}
]
}
Patch Tournament Flat Data
PATCH
PATCH v1/tournaments/tourney_flat_data
💡
This request requires “PB-API-TOKEN” from the platforms.
Note: TournamentID field is required.
Request
{
"payload": {
"TournamentID": "uuid-xyz-ijk-23-kd",
"TourneyFromDate": "1975-01-01T00:00:18.000000079Z",
"TourneyToDate": "1975-01-01T00:01:24.000000049Z",
"LocationCity":"Austin"
}
}
Response
{
"result": {
"TournamentID": "yIIklqUPAtIwPHeiEcDktwMUh",
"ClubID": "IhjlFbjOMVeBBrKidNjTnlbbR",
"Platform": "PickleballBrackets",
"DetailsURL": "kRCFHHvNYErwXQFiHDoJOYcxd",
"CancelTourney": true,
"CostFeeOnEvents": false,
"CostRegistrationCurrent": 100.00,
"FormatCode": "en-US",
"TourneyFromDate": "1970-01-01T00:00:18.000000079Z",
"TourneyToDate": "1970-01-01T00:01:24.000000049Z",
"IsPrizeMoney": true,
"IsRegClosed": true,
"IsFeatured": false,
"LocationCity": "pSWsljHkXCZYwlRPnHKZTRPEJ",
"LocationCountry": "lSyqAVWBntlouQBtEwfNLRiLZ",
"LocationState": "ADAvNSybbQKaRYKQDjoNIcoRV",
"LocationStreetAddress": "vmHVTiiOZvfWhcflDwVaqYkPF",
"LocationVenue": "xAynhCOkTDdVxZNqNxfBGTpAa",
"LocationZip": "GaYOSqAQrFXLCVmBHjFmTTDsg",
"Logo": "WcIXYkgDAfOFBJMFGVZnwRElC",
"OnlineRegistrationActive": true,
"RegistrationCount": 17,
"RegistrationDateClosed": "1970-01-01T00:01:23.000000046Z",
"RegistrationDateOpen": "1970-01-01T00:01:38.000000015Z",
"SanctionLevelAppovedStatusGPA": "brtvwVdHybXDuxKmcwXxXHluu",
"SanctionLevelAppovedStatusPAA": "lWxsoTLplTbxOwYFCfjqDrTCd",
"SanctionLevelAppovedStatusPCO": "huflybtQDJqbotBZUAeGCYSLZ",
"SanctionLevelAppovedStatusSSIPA": "MeRgQInhgWqlNWDCdWKjCyQhE",
"SanctionLevelAppovedStatusUSAP": "jEnNEaKEEHgLFtvpJaysVCaHl",
"SanctionLevelAppovedStatusWPF": "ynDtRPjlRmymHGhlEhFKaumnQ",
"SanctionLevelAppovedStatusPPA": "ecOvSIKLdMCaECBREhCollUQr",
"SanctionLevelAppovedStatusAPP": "AoveNBTgrvhiVJEwtobhYoIVD",
"SanctionLevelAppovedStatusMLP": "nMHKmxCWynOHdWGXUaxaPBmuT",
"SanctionGPA": false,
"SanctionPAA": false,
"SanctionPCO": true,
"SanctionSSIPA": true,
"SanctionUSAPA": false,
"SanctionWPF": false,
"SanctionPPA": false,
"SanctionAPP": false,
"SanctionMLP": false,
"SantionLevelsGPALevelLogo": "vkMmojlMJAIRbgkMKjVaNnSPd",
"SantionLevelsGPATitle": "yqHWNXaXYPCAtuTUgqMLlAKhT",
"SantionLevelsPAALevelLogo": "IWoLjRZAlNwCsbNxsftFuaKwC",
"SantionLevelsPAATitle": "BeeErixfqvBmvBAwPBvtEFNNU",
"SantionLevelsPCOLevelLogo": "WNwiJNvUdwXFkbeGDlXpmeMVr",
"SantionLevelsPCOTitle": "cLYptbbyomkjBVhLGvRXZfxxR",
"SantionLevelsSSIPALevelLogo": "TdeSjKygmEHbqkbsscGlyOoqj",
"SantionLevelsSSIPATitle": "rDprBaBLUJHPFoUUBudFpCtZB",
"SantionLevelsUSAPLevelLogo": "QrdnnlgDWgLsbChLyjqVRDiCP",
"SantionLevelsUSAPTitle": "QAxyfStLKkeSxXeqiYJGyBblv",
"SantionLevelsWPFLevelLogo": "YfuPeGCvuqJrleQVgeJceURjr",
"SantionLevelsWPFTitle": "grQWqTKZOmKtZSsTSHilodkvP",
"SantionLevelsPPALevelLogo": "PBExsWRuRDrxtMMduJYOKLbaq",
"SantionLevelsPPATitle": "mBfYmDTZwTWrtwasuFmxSITIj",
"SantionLevelsAPPLevelLogo": "TQdGrViPRjGhcxLEMNRuLyHCX",
"SantionLevelsAPPTitle": "RmtDSfEvGyAbioTwkGQELTkCR",
"SantionLevelsMLPLevelLogo": "IylLoyVbTrtqOySMDjrlgadLf",
"SantionLevelsMLPTitle": "LHjqBmrEHmXtWKoXERMeYFjUC",
"TimeZoneAbbreviation": "jFprHtNkttbiqajhJKTDGperJ",
"Title": "xEsNQHNoRcLuFNYtAewdOxwkc",
"Longitude": 5.9831967,
"Latitude": 58.6189,
"DateShowToPublic": "1970-01-01T00:01:23.000000046Z",
"ContactFormRegistration":"Form text",
"ContactFormMyWebsiteAccount":"www.abc.bca",
"ContactFormRefunds":"Text field 100.00$",
"ContactFormOther":"Other field",
"ContactFormRequestPartnerChange":"Bernad Delic",
"ContactFormVolunteer":"Volunteer text",
"ContactFormReferee":"Referee text",
"ContactFormVendor":"Vendor text",
"ContactFormPublicDisplayName": "Kenan",
"ContactFormPublicDisplayEmail": "init@thegate.dev",
"ContactFormPublicDisplayPhone": "+1111",
"DateHideFromPublic": "2022-12-16T19:43:11Z",
"dateCreated": "2023-05-30T09:12:54.469Z",
"dateUpdated": "2023-05-30T09:14:33.969943380Z",
"hideRegisteredPlayers": false,
"hideTourneyOnSearchPage": false,
"lockDate": "2023-03-14T18:00:00Z",
"ianaTzIdentifier":"Asia/Kolkata",
"timezoneId": 2,
"tier_level_uuid":"f2a0b9f8-8a89-4fa0-928a-92c195b54f08",
"ticketsUrl": "",
"PaymentCurrencyAbbreviation" : "",
"DigitalScoreCardHideCourts" : false,
"DigitalScoreCardHideReferees" : false,
"DigitalScoreCardHideNextUp1" : false,
"DigitalScoreCardHideNextUp2" : false,
"CountDeskMinutesToEstimatedTimeForNextUp" : 10,
"hideRegisteredPlayersInt": "10",
"GoverningBodies": [
{
"id": "3",
"approvedStatus": "Pending",
"sanctionLevelId": "22a36dc6"
},
{
"id": "4",
"approvedStatus": "pending1",
"sanctionLevelId": "22a36dc6"
}
]
},
"fieldsToOmit": ["FormatCode","Title"]
}
List Active Events
GET
/v1/data/list_active_events_flat_group
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Query Parameters
Name | Description |
---|---|
start_date | Unix timestamp |
end_date | Unix timestamp |
retrieve_all | Boolean value that when equal to true returns all results |
page_size | Number value that represents number of returned results |
tournament_code | Search by tournament code |
current_page | Number value that represents offset of returned results |
tournament_uuid | String value filter by tournament_uuid |
search_name | String value filter by tournament title/name |
latitude | Double value filter by range must be in range -90 to 90 |
longitude | Double value filter by range must be in range -180 to 180 |
distance | Integer value for filter by range |
unit_of_distance | Default system value is 'km' (kilometer) if unit_of_distance=mi then distance parameter will be used as miles |
is_featured | Boolean value filter by featured tournaments, default value is is_featured=false, set to is_featured=true in order to apply filter |
sanction_app | Boolean value filter by sanction APP, default value is sanction_app=false, set to sanction_app=true in order to apply filter |
sanction_gpa | Boolean value filter by sanction GPA, default value is sanction_gpa=false, set to sanction_gpa=true in order to apply filter |
sanction_mlp | Boolean value filter by sanction MLP, default value is sanction_mlp=false, set to sanction_mlp=true in order to apply filter |
sanction_paa | Boolean value filter by sanction PAA, default value is sanction_paa=false, set to sanction_paa=true in order to apply filter |
sanction_pco | Boolean value filter by sanction PCO, default value is sanction_pco=false, set to sanction_pco=true in order to apply filter |
sanction_ppa | Boolean value filter by sanction PPA, default value is sanction_ppa=false, set to sanction_ppa=true in order to apply filter |
sanction_ssipa | Boolean value filter by sanction SSIPA, default value is sanction_ssipa=false, set to sanction_ssipa=true in order to apply filter |
sanction_usapa | Boolean value filter by sanction USAPA, default value is sanction_usapa=false, set to sanction_usapa=true in order to apply filter |
sanction_wpf | Boolean value filter by sanction WPF, default value is sanction_wpf=false, set to sanction_wpf=true in order to apply filter |
is_prize_money | Boolean value filter by tournaments with prize money set, default value is is_prize_money=false, set to is_prize_money=true in order to apply filter |
past_events | Boolean value filter by tournaments that completed, default value is past_events=false, set to past_events=true in order to apply filter |
upcomming_events | Boolean value filter by tournaments that are yet to be played, default value is upcomming_events=false, set to upcomming_events=true in order to apply filter |
now_playing | lists tournaments that are currently played |
now_registering | lists tournaments that are currentyl open for registration |
club_id | lists tournaments by club_id, can take in multiple values separated by a comma ("club_id1","club_id2",...) |
tournament_uuid | Uuid of the tournament |
Request
Empty
Response
{
"total_records": "5",
"result": [
{
"group_title": "Women Doubles",
"bracket_level_id": 0,
"format_id": 1,
"player_group_id": 2,
"display_order": 4
},
{
"group_title": "Women Singles",
"bracket_level_id": 0,
"format_id": 2,
"player_group_id": 2,
"display_order": 5
},
{
"group_title": "Men Doubles",
"bracket_level_id": 0,
"format_id": 1,
"player_group_id": 1,
"display_order": 6
},
{
"group_title": "Men Singles",
"bracket_level_id": 0,
"format_id": 2,
"player_group_id": 1,
"display_order": 7
},
{
"group_title": "Mixed Doubles",
"bracket_level_id": 0,
"format_id": 1,
"player_group_id": 3,
"display_order": 8
}
]
}
Get Tournament Flat Data Search by Slug
GET
/v1/data/tourney_flat_data/{slug}
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Request
Empty
Response
{
"TournamentID": "test",
"ClubID": "IhjlFbjOMVeBBrKidNjTnlbbR",
"Platform": "",
"DetailsURL": "11111122211111",
"CancelTourney": false,
"Cost_FeeOnEvents": false,
"Cost_Registration_Current": 0,
"TourneyFromDate": null,
"TourneyToDate": null,
"IsPrizeMoney": false,
"IsRegClosed": false,
"LocationCity": "",
"LocationCountry": "",
"LocationState": "",
"LocationStreetAddress": "",
"LocationVenue": "",
"LocationZip": "",
"Logo": "",
"OnlineRegistration_Active": false,
"RegistrationCount": "0",
"Registration_DateClosed": null,
"Registration_DateOpen": null,
"TimeZoneAbbreviation": "IST",
"Title": "tuzla open",
"IsFeatured": false,
"Longitude": 0,
"Latitude": 0,
"FormatCode": "",
"TimeZoneUTC_Offset": 19800,
"IsFeaturedPlus": false,
"ContactFormRegistration": "Form text",
"ContactFormMyWebsiteAccount": "www.abc.bca",
"ContactFormRefunds": "Text field 100.00$",
"ContactFormOther": "Other field",
"ContactFormRequestPartnerChange": "",
"ContactFormVolunteer": "Volunteer text",
"ContactFormReferee": "Referee text",
"ContactFormVendor": "Vendor text",
"ContactFormSponsor": "Sponsor text",
"ContactFormPublicDisplayName": "",
"ContactFormPublicDisplayEmail": "",
"ContactFormPublicDisplayPhone": "+1111",
"DateArchived": "2023-03-14T18:00:00Z",
"DateShowToPublic": "1970-01-01T00:01:23Z",
"DateHideFromPublic": "2022-12-16T19:43:11Z",
"GoverningBodies": [
{
"id": "3",
"approved_status": "Pending",
"sanction_level_id": "",
"short_name": ""
},
{
"id": "4",
"approved_status": "pending1",
"sanction_level_id": "",
"short_name": ""
}
],
"PBTournamentCode": "",
"IsTest": false,
"IsAdvertiseOnly": false,
"DateCompleted": null,
"UsingGeniusSports": false,
"ClubSanctionLevelId": "",
"date_created": "2023-12-01T14:09:02.818Z",
"date_updated": "2023-12-01T14:10:24.982Z",
"hide_registered_players": false,
"hide_tourney_on_search_page": false,
"lock_date": "2023-03-14T18:00:00Z",
"tier_level_uuid": "",
"tickets_url": "",
"PaymentCurrencyAbbreviation": "",
"digital_score_card_hide_courts": false,
"digital_score_card_hide_referees": false,
"digital_score_card_hide_next_up_1": false,
"digital_score_card_hide_next_up_2": false,
"count_desk_minutes_to_estimated_time_for_next_up": "0",
"title_sponsor_logo": "",
"title_sponsor_tagline": "",
"title_sponsor_title": "",
"title_sponsor_url": "",
"slug": "test-slug",
"hideRegisteredPlayersInt": "10"
}
PB Tournament Linked Tournaments Upsert
POST
/v1/pb_tournament_linked_tournament/upsert
💡
This request requires “PB-API-TOKEN” from the platforms.
Request
{
"payload":{
"linkedTournamentUuid":"xbc0cb4-7dbb-42a7-b63a-d9168925b748",
"linkedGroupUuid":"6e27f66a-af7e-4f90-836e-b613cc3476b7",
"tournamentUuid":"d0920cb4-7dbb-42a7-b63a-d9168925b748",
"displayOrder":"2023-12-01T14:09:02.818Z",
"dateCreated":"2023-12-01T14:09:02.818Z",
"createdByFullName":"Reg",
"dateUpdated":"2023-12-01T14:09:02.818Z",
"updatedByFullName":"Nedzad",
"dateArchived":"2023-12-01T14:09:02.818Z"
}
}
Response
{
"result":{
"linkedTournamentUuid":"xbc0cb4-7dbb-42a7-b63a-d9168925b748",
"linkedGroupUuid":"6e27f66a-af7e-4f90-836e-b613cc3476b7",
"tournamentUuid":"d0920cb4-7dbb-42a7-b63a-d9168925b748",
"displayOrder":"2023-12-01T14:09:02.818Z",
"dateCreated":"2023-12-01T14:09:02.818Z",
"createdByFullName":"Reg",
"dateUpdated":"2023-12-01T14:09:02.818Z",
"updatedByFullName":"Nedzad",
"dateArchived":"2023-12-01T14:09:02.818Z"
}
}
PB Tournament Linked Group Upsert
POST
/v1/pb_tournament_linked_group/upsert
💡
This request requires “PB-API-TOKEN” from the platforms.
Request
{
"payload":{
"linkedGroupUuid":"6e27f66a-af7e-4f90-836e-b613cc3476b7",
"title":"Open Group",
"dateCreated":"2023-09-11T19:28:58.244013984Z",
"createdByFullName":"Michael",
"dateUpdated":"2023-09-11T19:28:58.244013984Z",
"updatedByFullName":"test",
"dateArchived":"2023-09-11T19:28:58.244013984Z"
}
}
Response
{
"payload":{
"linkedGroupUuid":"6e27f66a-af7e-4f90-836e-b613cc3476b7",
"title":"Open Group",
"dateCreated":"2023-09-11T19:28:58.244013984Z",
"createdByFullName":"Michael",
"dateUpdated":"2023-09-11T19:28:58.244013984Z",
"updatedByFullName":"test",
"dateArchived":"2023-09-11T19:28:58.244013984Z"
}
}