Get Free access Time Profile
- Get Free access Time Profile
- Provides free access on proper schedule when pressed 'Trade button' or 'Info button' double tap.
- This feature is disabled in BI-panels
Responses
- 200
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- enable boolean
Determines whether the feature is enabled
days object[]
This model describes free access time rule on each day of the week
enable booleanDetermines whether the feature is enabled
day stringPossible values: [
SUN
,MON
,TUE
,WED
,THU
,FRI
,SAT
]Day of the week
time_from int64Unix Timestamp Date
time_to int64Unix Timestamp Date
lock stringPossible values: [
first
,second
,all
]Lock
{
"enable": false,
"days": [
{
"enable": true,
"day": "SUN",
"time_from": 1540819272,
"time_to": 1540819272,
"lock": "first"
}
]
}
{
"days": [
{
"lock": "first",
"enable": false,
"time_to": 36000,
"day": "SUN",
"time_from": 28800
},
{
"lock": "first",
"enable": false,
"time_to": 36000,
"day": "MON",
"time_from": 28800
},
{
"lock": "first",
"enable": false,
"time_to": 36000,
"day": "TUE",
"time_from": 28800
},
{
"lock": "first",
"enable": false,
"time_to": 36000,
"day": "WED",
"time_from": 28800
},
{
"lock": "first",
"enable": false,
"time_to": 36000,
"day": "THU",
"time_from": 28800
},
{
"lock": "first",
"enable": false,
"time_to": 36000,
"day": "FRI",
"time_from": 28800
},
{
"lock": "first",
"enable": true,
"time_to": 36000,
"day": "SAT",
"time_from": 28800
}
],
"enable": true
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
- Schema
- Example (from schema)
- Admin Rights Required
Schema
- error string
Error message
{
"error": "Administrator rights required"
}
{
"error": "Administrator rights required"
}
Loading...