The Class CalendarDto.
name | data type | constraints | description |
---|---|---|---|
id | number | The id. | |
auditableField | array of AuditableFieldDto | ||
code | string | required | The code |
description | string | The description | |
updatedCode | string | The updated code. | |
calendarType | CalendarTypeEnum | Calendar type. | |
fixedDates | array of string | Fixed Dates. | |
days | array of DayInYearDto | Days. | |
hours | array of HourInDayDto | Hours. | |
periodLength | number | Period length. | |
periodUnit | CalendarPeriodUnitEnum | Period measurement unit. | |
nbPeriods | number | Number of periods. | |
joinCalendar1Code | string | Code of the first calendar to intersect/union. | |
joinCalendar2Code | string | Code of the second calendar to intersect/union. | |
intervalType | CalendarIntervalTypeEnum | Interval type. | |
intervals | array of CalendarDateIntervalDto | List of intervals. | |
weekendBegin | number | The weekend begin. | |
weekendEnd | number | The weekend end. | |
endDate | number | The end date. | |
startDate | number | The start date. | |
initDateEL | string | max size: 2000, min size: 0 | Calendar initialization date - expression to determine a value for calendar initialization date |
holidays | array of CalendarHolidayDto | ||
languageDescriptions | array of LanguageDescriptionDto |
Example
{ "id" : 12345, "auditableField" : [ { "entityClass" : "...", "fieldName" : "...", "id" : 12345, "changeOrigin" : "...", "auditableField" : [ { }, { } ], "originName" : "...", "code" : "...", "previousState" : "...", "currentState" : "...", "description" : "...", "created" : "...", "updatedCode" : "...", "actor" : "..." }, { "entityClass" : "...", "fieldName" : "...", "id" : 12345, "changeOrigin" : "...", "auditableField" : [ { }, { } ], "originName" : "...", "code" : "...", "previousState" : "...", "currentState" : "...", "description" : "...", "created" : "...", "updatedCode" : "...", "actor" : "..." } ], "code" : "...", "description" : "...", "updatedCode" : "...", "calendarType" : "INTERVAL", "fixedDates" : [ "...", "..." ], "days" : [ { "day" : 12345, "month" : "AUGUST" }, { "day" : 12345, "month" : "JULY" } ], "hours" : [ { "hour" : 12345, "min" : 12345 }, { "hour" : 12345, "min" : 12345 } ], "periodLength" : 12345, "periodUnit" : "DAY_OF_MONTH", "nbPeriods" : 12345, "joinCalendar1Code" : "...", "joinCalendar2Code" : "...", "intervalType" : "WDAY", "intervals" : [ { "intervalBegin" : 12345, "intervalEnd" : 12345 }, { "intervalBegin" : 12345, "intervalEnd" : 12345 } ], "weekendBegin" : 12345, "weekendEnd" : 12345, "endDate" : 12345, "startDate" : 12345, "initDateEL" : "...", "holidays" : [ { "holidayBegin" : 12345, "holidayEnd" : 12345 }, { "holidayBegin" : 12345, "holidayEnd" : 12345 } ], "languageDescriptions" : [ { "languageCode" : "...", "description" : "..." }, { "languageCode" : "...", "description" : "..." } ] }