hcmRestApi/resources/latest/absenceTypeDisplayFeatures not returning all display fields?
Summary:
hcmRestApi/resources/latest/absenceTypeDisplayFeatures?finder=PrimaryKey;AbsenceTypeId=300000212185771
It seemed this API response payload not including all displayable fields we can see on creating the new absence. For example, the fields like 'matching date','actual date of event', 'expected date of event' not included in the below response payload for the paternity leave - adoption.
{
"items": [
{
"AbsenceTypeId": 300000212185771,
"UserMode": "EMP",
"Comments": "DO_NOT_DISPLAY",
"Attachments": "ENABLE",
"Reason": "DO_NOT_DISPLAY",
"AbsenceEndDate": "DISPLAY_AND_EDIT",
"AbsenceStartDate": "DISPLAY_AND_EDIT",
"OpenEnded": "DO_NOT_DISPLAY",
"LateNotification": "DO_NOT_DISPLAY",
"AuthorizedAbsence": "DO_NOT_DISPLAY",
"BlockLeaveStatus": "DO_NOT_DISPLAY",
"LateNotificationWaived": "DO_NOT_DISPLAY",
"LateNotificationWaiverDate": "DO_NOT_DISPLAY",