company

Viewset that supports all normal viewset functionality.

patch/api/company/user-workhours/{id}/

Request

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

Path parameters

idinteger required

A unique integer value identifying this user work hours.

Request body

projectinteger nullable
work_startstring time nullable
work_endstring time nullable
travel_tostring time nullable
travel_backstring time nullable
distance_tointeger
distance_backinteger
start_datestring date
descriptionstring nullable

Response

idinteger required
projectinteger nullable
project_namestring nullable required
userinteger nullable required
usernamestring required
full_namestring nullable required
work_startstring time nullable
work_endstring time nullable
work_correctioninteger required

Minutes of correction after to_representation rewrites the stored timedelta.

travel_tostring time nullable
travel_backstring time nullable
distance_tointeger
distance_backinteger
start_datestring

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

start_date_isostring date required
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

    • warning

      removed the request property (media type: application/json)

    • warning

      removed the request property (media type: application/x-www-form-urlencoded)

    • warning

      removed the request property (media type: multipart/form-data)

    • info

      the response optional property became read-only for the status

    • info

      the response property became required for the status

    • 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