SysReadDivisionSetConfig
Reads the current version of the division set configuration identified by the division set id.
Service | Operation |
---|---|
tournament | SYS_READ_DIVISION_SET_CONFIG |
Method Parameters
Parameter | Description |
---|---|
divSetId | The division set id uniquely identifying the division set configuration to be returned. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var divSetId = "divisionSetId";
var tournamentProxy = bridge.getTournamentServiceProxy();
var postResult = tournamentProxy.sysReadDivisionSetConfig(divSetId);
if (postResult.status == 200) {
// Success!
}
{
"service": "tournament",
"operation": "SYS_READ_DIVISION_SET_CONFIG",
"data":
{
"divSetId": "divisionSetId"
}
}
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
}