Query Booking Entries

GET {{baseUrl}}/odata/BookingEntries?$select=id,rowVersion,requiredHours,bookedHours,resourceId,type,from,to,planningMethod,editAllowed,isTimeOff&$expand=detailEntries($select=date,hours),project($select=id,name),resourceRequest($select=id,name)

Request a list of Booking Entries.

Request Params

KeyDatatypeRequiredDescription
$selectstring
$expandstring

RESPONSES

status: OK

{"@odata.context":"https://api.timetta.com/odata/$metadata#BookingEntries(id,rowVersion,requiredHours,bookedHours,resourceId,type,from,to,planningMethod,editAllowed,isTimeOff,detailEntries(date,hours),project(id,name),resourceRequest(id,name))","value":[{"from":"2022-10-31","to":"2023-01-01","rowVersion":26446951,"type":"Hard","resourceId":"ef1a788f-3b1e-495a-b7d6-d86bd20b07a0","bookedHours":352,"requiredHours":0,"planningMethod":"RemainingCapacity","id":"828b8229-a035-4fd5-a728-ecdc1ea5eca4","editAllowed":true,"detailEntries":[{"date":"2022-11-21","hours":40},{"date":"2022-12-05","hours":40},{"date":"2022-11-28","hours":40},{"date":"2022-11-07","hours":40},{"date":"2022-12-26","hours":40},{"date":"2022-12-19","hours":40},{"date":"2022-11-14","hours":40},{"date":"2022-12-12","hours":40}],"project":{"name":"Frontend Development","id":"43999ecf-7c32-41a9-8aa8-632186c3e59a"},"resourceRequest":null},{"from":"2022-11-28","to":"2022-11-28","rowVersion":0,"type":"Hard","resourceId":"2a425d45-198b-49c2-8bd5-f6ffa62c9b73","bookedHours":8,"requiredHours":0,"planningMethod":null,"id":"959c7d6c-c7f7-49be-b18e-01fc68da900c","editAllowed":false,"isTimeOff":true,"detailEntries":[{"date":"2022-11-28","hours":8}],"project":{"name":"Vacation","id":"29ed5929-0fad-4c6f-bbe4-5477b549d166"},"resourceRequest":null},{"from":"2022-11-17","to":"2022-11-17","rowVersion":0,"type":"Hard","resourceId":"32f37cae-487e-4186-a56b-8cc3bae0f7a5","bookedHours":8,"requiredHours":0,"planningMethod":null,"id":"e534f441-57f7-4858-8958-8ec43aab1845","editAllowed":false,"isTimeOff":true,"detailEntries":[{"date":"2022-11-14","hours":8}],"project":{"name":"Non-billable time off","id":"5377b387-1466-4e7c-89a4-6efc5358c3ab"},"resourceRequest":null}]}