company

Viewset that supports all normal viewset functionality.

get/api/company/user-leave-hours/{id}/

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

idinteger required

A unique integer value identifying this user leave hours.

Response

idinteger required
userinteger nullable
usernamestring required
full_namestring required
start_datestring

Display string in the tenant's configured date_format, not an ISO-8601 value.

start_date_isostring date required
start_date_hoursinteger nullable
start_date_minutesinteger nullable
start_date_is_whole_dayboolean
end_datestring

Display string in the tenant's configured date_format, not an ISO-8601 value.

end_date_isostring date required
end_date_hoursinteger nullable
end_date_minutesinteger nullable
end_date_is_whole_dayboolean
total_hoursinteger nullable
total_minutesinteger nullable
actual_total_hoursinteger nullable
actual_total_minutesinteger nullable
durationstring nullable
duration_secondsinteger required
contract_hours_usedinteger
actual_durationstring nullable
actual_duration_secondsinteger required
leave_typeinteger nullable
leave_type_namestring nullable required
is_acceptedboolean
is_rejectedboolean
descriptionstring nullable
createdstring required

Display string in the tenant's configured date_format, not an ISO-8601 value.

modifiedstring required

Display string in the tenant's configured date_format, not an ISO-8601 value.

last_statusstring required
last_status_fullstring nullable required
last_status_datestring date-time nullable required
statuscode_idinteger nullable required
colorstring nullable required
text_colorstring nullable required

Changes

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response's property format changed from date to no format for status

    • breaking

      the response's property format changed from date to no format for status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the response required property became not read-only for the status

    • info

      the response required property became not read-only for the status

    • info

      the response required property became not read-only for the status

    • info

      the response required property became not read-only for the status

    • info

      the response required property became not read-only for the status

    • info

      the response required property became not read-only for the status

    • info

      the response required property became not read-only for the status