UpdateTimelogRequest

data class UpdateTimelogRequest(val type: String, val latitude: Double?, val longitude: Double?, val checkedTime: String, val projectUid: String?, val jobUid: String, val timelogType: String?, val reasonCode: String?, val remarks: String?, val laborCodeUid: String?)

Request model for updating timelog entries.

This class represents a timelog update request that can be submitted to record time entries such as clock-in, clock-out, and time adjustments.

Parameters

type

The type of timelog entry ("CLOCK_IN" or "CLOCK_OUT")

latitude

Optional latitude coordinate of the timelog entry location

longitude

Optional longitude coordinate of the timelog entry location

checkedTime

ISO 8601 formatted timestamp of when the timelog entry occurred

projectUid

Optional unique identifier of the project (if applicable)

jobUid

Unique identifier of the job this timelog entry belongs to

timelogType

Optional type of timelog ("JOB", "TRAVEL", "MEAL_BREAK")

reasonCode

Optional reason code for the timelog entry

remarks

Optional remarks or notes for the timelog entry

laborCodeUid

Optional unique identifier of the labor code

Constructors

Link copied to clipboard
constructor(type: String, latitude: Double?, longitude: Double?, checkedTime: String, projectUid: String?, jobUid: String, timelogType: String?, reasonCode: String?, remarks: String?, laborCodeUid: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard