Update Time Profile Entity
Update Time Profile Entity
Path Parameters
- timeprofile-uid integer requiredPossible values: >= 1Unique Id for time profile 
- application/json
Request Body required
- name string requiredTimeprofile name 
- time_options object required- This model represents Timeprofile options is_all_day boolean required- Is all day enabled date_from int64 required- Unix Timestamp Date date_to int64 required- Unix Timestamp Date 
- repeat_options object required- The model describes repeat option for - timerange in Timeprofilerepeat_enable boolean required- If repeat enabled - repeat_format object- The model describes repeat format in Timeprofile repeat_type string required- Possible values: [ - day,- week,- twoWeeks,- month,- year,- custom]- Repeat type - repeat_end object required- datekey required if- dateformat was chosenformat string required- Possible values: [ - never,- date]- Repeat end type date int64- Unix Timestamp Date - repeat_custom object- Only for - customrepeat typerepeat_point_type string required- Possible values: [ - day,- week,- month,- year]- Repeat point type repeat_looper integer required- Possible values: - >= 1and- <= 1000- Repeat looper - repeat_options object- Repeat options oneOf- MOD1
- MOD2
- MOD3
 string- Possible values: [ - MON,- TUE,- WED,- THU,- FRI,- SAT,- SUN]- Week days format string- Possible values: [ - dayNumbers,- parameterizedDay]- Format in month options - range object- Repeat range oneOf- MOD1
- MOD2
 integer- Possible values: - >= 1and- <= 31- Dey of the month number week_order string- Possible values: [ - first,- second,- third,- fourth,- fifth,- last]- Week order day_type string- Possible values: [ - MON,- TUE,- WED,- THU,- FRI,- SAT,- SUN,- WEEK_DAY,- DAY_OFF]- Day type months integer[] required- Possible values: - >= 1,- <= 12- List of months - range object- Parametrized day options used in complex time rule week_order string- Possible values: [ - first,- second,- third,- fourth,- fifth,- last]- Week order day_type string- Possible values: [ - MON,- TUE,- WED,- THU,- FRI,- SAT,- SUN,- WEEK_DAY,- DAY_OFF]- Day type 
- 200
- 400
- 401
- 403
OK
- Wrong Time Profile Uid
- Wrong repeat options
- application/json
- Schema
- Example (from schema)
- Wrong Time Profile Uid
- Wrong date range
- Wrong repeat_type
- Wrong format
- Wrong repeat_point_type
- Wrong repeat_options
- Wrong repeat_looper range
- Wrong Week Options
- Wrong year range
- Wrong Year Options
- Wrong Day Of Month
- Wrong months range
- Wrong day Numbers
Schema
- MOD1
- MOD2
- error stringError message 
- error stringPossible values: [ Wrong repeat_type,Wrong format enum name,Wrong repeat_point_type enum name,Wrong repeat_options enum name,Wrong repeat_looper range,Set in WeekOptions can't be empty,Wrong year range,Set in YearOptions can't be empty,Wrong DayOfMonth range,Wrong months range,Set in dayNumbers can't be empty,Wrong Time Profile Uid]Error message 
{
  "error": true
}
{
  "error": "Wrong Time Profile Uid"
}
{
  "error": "Wrong date range: date_from cannot be greater than date_to"
}
{
  "error": "Wrong repeat_type"
}
{
  "error": "Wrong format enum name"
}
{
  "error": "Wrong repeat_point_type enum name"
}
{
  "error": "Wrong repeat_options enum name"
}
{
  "error": "Wrong repeat_looper range"
}
{
  "error": "Set in WeekOptions can't be empty"
}
{
  "error": "Wrong year range"
}
{
  "error": "Set in YearOptions can't be empty"
}
{
  "error": "Wrong DayOfMonth range"
}
{
  "error": "Wrong months range"
}
{
  "error": "Set in dayNumbers can't be empty"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringError 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 stringError message 
{
  "error": "Administrator rights required"
}
{
  "error": "Administrator rights required"
}