Skip to main content
Version: 5.7.0

GetDivisionInfo

Essentially the same as GetTournamentStatus, but takes a division set id instead of a leaderboardId as its parameter.

Provides information about the division - schedule, entry fees, prizes - as well as the player's enrollment status.

ServiceOperation
tournamentGET_DIVISION_INFO

Method Parameters

ParameterDescription
divSetIdDivision set id

Usage

http://localhost:3000
string divSetId = "exampleDivSetId";
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.GetDivisionInfo(divSetId, successCallback, failureCallback);
JSON Response
{
"data": {
"server_time": 1537496450261,
"versionId": 1,
"tournamentTimetable": {
"tRegistrationStart": 1537496450261,
"tState": "ACTIVE",
"tPlayEnd": 1538072460000,
"tRegistrationEnd": 1538072460000,
"tPlayStart": 1537496450261
},
"tournamentConfigs": [
{
"tournamentCode": "free",
"description": {
"name": {
"en": "Free Tournament"
},
"desc": {
"en": "Basic free-to-enter tournament"
}
},
"customJson": {},
"payoutRules": [
{
"reward": {
"experiencePoints": 100,
"currency": {
"coin": 1000
}
},
"rank": {
"rankAbs": 1
}
},
{
"reward": {
"experiencePoints": 50,
"currency": {
"coin": 500
}
},
"rank": {
"rankAbs": 2
}
},
{
"reward": {
"experiencePoints": 25,
"currency": {
"coin": 250
}
},
"rank": {
"rankAbs": 3
}
},
{
"reward": {
"experiencePoints": 5,
"currency": {
"coin": 50
}
},
"rank": {
"rankToPercent": 50
}
}
],
"entryFee": {}
}
],
"enrolled": false
},
"status": 200
}