Create a Time Entry
POST https://api.freshbooks.com/timetracking/business/{{businessId}}/time_entries
Request Body
{"time_entry"=>{"is_logged"=>true, "duration"=>7200, "note"=>"Stuff2", "started_at"=>"2016-08-16T20:00:00.000Z", "client_id"=>"140702", "project_id"=>"2942418", "service_id"=>"3351976", "identity_id"=>"1882548"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
`` | null | ||
Content-Type | null |
RESPONSES
status: OK
{"time_entry":{"id":47902064,"identity_id":1882548,"timer":null,"is_logged":true,"started_at":"2016-08-16T20:00:00Z","created_at":"2019-04-24T18:44:50Z","duration":7200,"client_id":31006,"project_id":2989082,"pending_client":null,"pending_project":null,"pending_task":null,"task_id":null,"service_id":null,"note":"Stuff","active":true,"billable":false,"billed":false,"internal":false,"retainer_id":null}}