Skip to main content

Time Registrations

EntityTimeRegistration

Time registrations track hours worked on activities and projects. They support billing, cost tracking, and can be linked to specific milestones, employees, and hour types.

Endpoints

List Time Registrations

GET/v1/odata/TimeRegistration

Get by ID

GET/v1/odata/TimeRegistration({id})

With expanded relations:

GET/v1/odata/TimeRegistration({id})?$expand=Employee,Activity,HourType,Milestone

Create

POST/v1/odata/TimeRegistration

Update

PUT/v1/odata/TimeRegistration({id})

Delete

DELETE/v1/odata/TimeRegistration({id})

Fields

FieldTypeDescription
StartDateDateTimeOffsetStart date/time
EndDateDateTimeOffsetEnd date/time
DurationInHoursDoubleDuration in hours
DescriptionStringDescription of the work performed
IsBillableBooleanWhether the time is billable to a client
IsBilledBooleanWhether the time has been invoiced
IsProcessedBooleanWhether the time has been approved/processed
SalesPricePerHourDoubleSales price per hour
TotalSalesPriceDoubleTotal sales price (DurationInHours × SalesPricePerHour)
CostPricePerHourDoubleCost price per hour
TotalCostPriceDoubleTotal cost price (DurationInHours × CostPricePerHour)

Relationships

RelationshipTarget EntityCardinalityDescription
ActivityActivityN:1Parent activity
SubActivityActivityN:1Sub-activity
EmployeeEmployeeN:1Employee who logged the hours
RelationshipRelationshipN:1Related client relationship
MilestoneProjectMilestoneN:1Project milestone
HourTypeTimeRegistrationActivityN:1Hour type/category
TaskTask1:NLinked tasks
AppointmentAppointment1:NLinked appointments
ProductLinesProductLine1:NLinked product lines
BillingLineProductLineN:1Billing product line

Expanding Relationships

GET/v1/odata/TimeRegistration({id})?$expand=Activity
GET/v1/odata/TimeRegistration({id})/Activity