Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.88 KB

File metadata and controls

37 lines (28 loc) · 1.88 KB

ClockInRequestSchema

Schema for clock-in request body

Properties

Name Type Description Notes
project_id int ID of the time tracking project that should be associated with the timesheet entry. Required if taskId is specified. [optional]
task_id int ID of the time tracking task that should be associated with the timesheet entry. [optional]
note str The note that should be associated with the timesheet entry [optional]
var_date date Date for the timesheet entry. Must be in YYYY-MM-DD format. [optional]
start str The time for the clock in. In 24 hour format HH:MM [optional]
timezone str The timezone associated with the clock in. [optional]
break_id str ID of the break that should be associated with the timesheet entry. [optional]
offline bool Whether this is an offline punch. When true, bypasses the shift schedule clock-in restriction. Intended for devices that store punches offline and sync later. [optional]

Example

from bamboohr_sdk.models.clock_in_request_schema import ClockInRequestSchema

# TODO update the JSON string below
json = "{}"
# create an instance of ClockInRequestSchema from a JSON string
clock_in_request_schema_instance = ClockInRequestSchema.from_json(json)
# print the JSON string representation of the object
print(ClockInRequestSchema.to_json())

# convert the object into a dict
clock_in_request_schema_dict = clock_in_request_schema_instance.to_dict()
# create an instance of ClockInRequestSchema from a dict
clock_in_request_schema_from_dict = ClockInRequestSchema.from_dict(clock_in_request_schema_dict)

[Back to Model list] [Back to API list] [Back to README]