Skip to main content
Version: 5.7.0

SysCreateDivisionSetConfig

Creates a new division set configuration

ServiceOperation
tournamentSYS_CREATE_DIVISION_SET_CONFIG

Method Parameters

ParameterDescription
divSetIdThe unique division set id.
configJsonConfiguration data defining the division set, including: description (desc), schedule type (scheduleType), id of template leaderboard (templateLeaderboardId), maximum number of players per division set instance (maxPlayers), and number of days after which division set instance results are to be expired (expireResultsAfterDays).

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"gameId": "23782",
"divSetId": "uniqueDivSetId",
"desc": "Gold division",
"scheduleType": "Sync",
"lbTemplate": "l4",
"max": 100,
"expiryDays": 15,
"createdAt": 1654004481428,
"updatedAt": 1654004481428,
"version": 1
},
"status": 200
}