absenceType

POST /absenceType

Changed on

create a absenceType

Request

Query parameters

dryRunboolean

Request body

idstring
versionstring
abbreviationstring required
activeboolean
allowHalfDayRequestsboolean
color'CALENDAR_BLUE' | 'CALENDAR_BLUE_GREY' | 'CALENDAR_BROWN' | 'CALENDAR_CYAN' | 'CALENDAR_DEEP_ORANGE' | 'CALENDAR_GLACIER' | 'CALENDAR_GREEN' | 'CALENDAR_GREY' | 'CALENDAR_INDIGO' | 'CALENDAR_LIME' | 'CALENDAR_ORANGE' | 'CALENDAR_PINK' | 'CALENDAR_PURPLE' | 'CALENDAR_RED' | 'CALENDAR_TEAL' | 'CALENDAR_YELLOW' | 'NO_COLOR' required
createdDateinteger
ignoredInResourceUtilizationboolean
lastModifiedDateinteger
namestring required
reducesLeaveEntitlementboolean
workTimeTrackingNecessaryboolean

Response

absenceType create response

idstring
versionstring
abbreviationstring required
activeboolean
allowHalfDayRequestsboolean
color'CALENDAR_BLUE' | 'CALENDAR_BLUE_GREY' | 'CALENDAR_BROWN' | 'CALENDAR_CYAN' | 'CALENDAR_DEEP_ORANGE' | 'CALENDAR_GLACIER' | 'CALENDAR_GREEN' | 'CALENDAR_GREY' | 'CALENDAR_INDIGO' | 'CALENDAR_LIME' | 'CALENDAR_ORANGE' | 'CALENDAR_PINK' | 'CALENDAR_PURPLE' | 'CALENDAR_RED' | 'CALENDAR_TEAL' | 'CALENDAR_YELLOW' | 'NO_COLOR' required
createdDateinteger
ignoredInResourceUtilizationboolean
lastModifiedDateinteger
namestring required
reducesLeaveEntitlementboolean
workTimeTrackingNecessaryboolean

Changes