Skip to content

Champion Request

Definition

Specified Champion Data that will be used for a Replay Request

Structure

json
  {
    "Tournaments": [
      {
        "TournamentId": "<champion-tournament-id>",
        "Rounds": [
          {
            "RoundNumber": "<champion-tournament-id>", // Round 1 - 3
            "Holes": [
              // If unspecified, will use all 18 holes
              "individual-hole-numbers eg: 1, 2, 3"
            ]
          }
        ]
      }
      ...
    ],
    "PlayerIds": [
        "<champion-player-id>,
        <champion-player-id>,
        <champion-player-id>"
    ],
    "TeamIds": [
        "<champion-team-id>,
        <champion-team-id>,
        <champion-team-id>"
    ]
  }

NOTE: Query Structure

At least one Team Id or one Player Id or one valid Tournament object must be provided in the request in order for any data to be returned. A combination of more than 1 of these fields is allowed

Fields

Tournaments object[]

Tournament Data that the request will be scoped down to. If a tournament object is populated, it must have a valid Champion Tournament Id in order to function successfully.

Per tournament, specific rounds can be selected.
Per selected round, specific holes from 1-18 can be selected for further filtering

PlayerIds int[]

List of Champion Player Ids that the request will be scoped down to

TeamIds int[]

List of Champion Team Ids that the request will be scoped down to