Skip to main content
Version: 6.0.0

GetGroupDivisionInfo

Essentially the same as GetGroupTournamentStatus(), but takes a division set id instead of a leaderboard id as its parameter. Would generally be called before JoinGroupDivision() in the case that there are multiple tournaments, or if the group member is shown information to make an informed choice as to whether to join group in tournament.

ServiceOperation
tournamentGET_GROUP_DIVISION_INFO

Method Parameters

ParameterDescription
divSetIdDivision set id.
groupIdMember's group id.

Usage

http://localhost:3000
string divSetId = "exampleDivSetId";
string groupId = "the-group-id";
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.GetGroupDivisionInfo(divSetId, groupId, successCallback, failureCallback);
JSON Response
{
"data": {
"server_time": 1772650570254,
"versionId": 1,
"tournamentTimetable": {
"tRegistrationStart": 1772650560000,
"tState": "ACTIVE",
"tPlayEnd": 1772724000000,
"tRegistrationEnd": 1772724000000,
"tPlayStart": 1772650560000
},
"tournamentConfigs": [
{
"tournamentCode": "myGroupTournamentCode",
"entryType": "GROUP",
"description": {
"name": {
"en": "Group Tournament"
},
"desc": {
"en": "Tournament for groups."
}
},
"customJson": {},
"excludeInitialScoresFromRewards": false
}
],
"enrolled": false
},
"status": 200
}