getClientSelfExclusionSchedules
This command retrieves the active recurring restriction schedules for a player. It is primarily used to populate the "Availability Period" section of the Self-Exclusion UI, allowing the player to see their existing blocked time
Documentation
Try it now
Request parameters:
Call example:
getClientSelfExclusionSchedules({
scheduleType: 'week'
})Response examples:
{
code: 0,
rid: 'command542072510468137',
data: {
result: 0,
result_text: null,
details: {
Schedules: [{
Id: 1629,
ClientId: 88736727,
ExclusionType: 8,
ScheduleType: 1,
WeekDayFrom: 2,
TimeFrom: '18:00:00',
WeekDayTo: 2,
TimeTo: '18:11:00'
}, {
Id: 1630,
ClientId: 88736727,
ExclusionType: 8,
ScheduleType: 1,
WeekDayFrom: 6,
TimeFrom: '19:59:00',
WeekDayTo: 6,
TimeTo: '19:59:00'
}]
}
}
}