Set Daylight Saving Time (DST) settings
Configures DST settings.
DST is a seasonal time change measure where clocks are set ahead of standard time during part of the year. When DST starts, clock jumps ahead by 1 hour. In the autumn (fall), the period of daylight saving time ends and clocks change back to standard time.
- application/json
Request Body required
- MOD1
- MOD2
- is_enabled boolean requiredFeature activation 
- starts object required- This model describes time change rule month integer required- Possible values: - >= 1and- <= 12- Month number day string required- Possible values: [ - last_thursday,- last_friday,- friday_before_last_sunday,- first_saturday,- last_saturday,- saturday_before_last_sunday,- first_sunday,- second_sunday,- fourth_sunday,- last_sunday]- Day of the month hours integer required- Possible values: - <= 23- Hours of the day 
- ends object required- This model describes time change rule month integer required- Possible values: - >= 1and- <= 12- Month number day string required- Possible values: [ - last_thursday,- last_friday,- friday_before_last_sunday,- first_saturday,- last_saturday,- saturday_before_last_sunday,- first_sunday,- second_sunday,- fourth_sunday,- last_sunday]- Day of the month hours integer required- Possible values: - <= 23- Hours of the day 
- is_enabled boolean requiredFeature activation 
- 200
- 400
- 401
OK
- Wrong month param 
- Wrong week param 
- Wrong day param 
- Wrong hours param 
- Missed json body or wrong param. Response sample: 
  "error": "Missed json body"
- Required field is not provided. Response sample:
  "error": "Wrong JSON body: no value for `param`"
where param - is a required field that was not provided
- Field was of the wrong type. Response sample:
  "error": "Wrong JSON body: value `param` was of the wrong type"
where param - is a field of the wrong type
- application/json
- Schema
- Example (from schema)
- Wrong month
- Wrong day
- Wrong hours
- Base
- No value
- Wrong param type
Schema
- error stringError message 
{
  "error": true
}
{
  "error": "Wrong month. Available values are in range: [1..12]"
}
{
  "error": "Wrong day. Available values are in range: [last_thursday, last_friday, friday_before_last_sunday, first_saturday, last_saturday, saturday_before_last_sunday, first_sunday, second_sunday, fourth_sunday, last_sunday]"
}
{
  "error": "Wrong hours. Available values are in range [0..23]"
}
{
  "error": "Missed json body"
}
{
  "error": "Wrong JSON body: no value for `param`"
}
{
  "error": "Wrong JSON body: value `param` was of the wrong type"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringError message 
{
  "error": "Log In"
}
{
  "error": "Log In"
}