setSessionDurationLimit
Sets limits on the user’s daily, weekly and monthly session durations in minutes
Documentation
Try it now
Request parameters:
Call example:
setSessionDurationLimit({
dailyDuration: 180,
monthlyDuration: 3600
})Response examples:
{
code: 0,
rid: 1917249746,
data: {
result: 0,
result_text: null,
details: {
Changed: [{
Type: 8,
Limit: 10,
PeriodType: 2,
Period: 1,
ProductCategoryId: 1
}, {
Type: 8,
PeriodType: 3,
Period: 1,
ProductCategoryId: 1
}, {
Type: 8,
PeriodType: 4,
Period: 1,
ProductCategoryId: 1
}],
UnChanged: []
}
},
hasError: false,
error: {
message: ''
}
}