Skip to main content
Version: 6.0.0

JoinGroupTournament

Enrolls a member's group in the group tournament and assigns an initial score

ServiceOperation
tournamentJOIN_GROUP_TOURNAMENT

Method Parameters

ParameterDescription
leaderboardIdThe leaderboard for the group tournament.
tournamentCodeGroup tournament to join.
groupIdMember's group id.
initialScoreInitial score for the user.

Usage

http://localhost:3000
string leaderboardId = "the-leaderboard-id";
string tournamentCode = "exampleTournamentCode1";
string groupId = "the-group-id";
int initialScore = 0;
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.TournamentService.JoinGroupTournament(leaderboardId, tournamentCode, groupId, initialScore, successCallback, failureCallback);
JSON Response
{
"data": {
"enrolled": true
},
"status": 200
}