Skip to main content

Hour Type

EntityTimeRegistrationActivity

Time registration activities define the categories or types of work that can be logged against time registrations — for example "Development", "Consulting", "Travel", or "Support". Each time registration can reference one hour type.

Endpoints

List Hour Types

GET/v1/odata/TimeRegistrationActivity

Get by ID

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

Create

POST/v1/odata/TimeRegistrationActivity

Update

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

Delete

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

Fields

FieldTypeDescription
NameStringName of the hour type
IsDefaultBooleanWhether this is the default hour type for new registrations

Relationships

RelationshipTarget EntityCardinalityDescription
AppointmentsAppointment1:NAppointments using this hour type
TasksTask1:NTasks using this hour type
TimeRegistrationTimeRegistration1:NTime registrations with this hour type
ProductProductN:1Associated product (for billing rate)

Expanding Relationships

GET/v1/odata/TimeRegistrationActivity({id})?$expand=Appointments
GET/v1/odata/TimeRegistrationActivity({id})/Appointments

Custom Query

Build your own OData query against TimeRegistrationActivity. Open Run and edit the whole request inline — swap the entity set, change the $filter, or add $expand, $select, $orderby, $top, $skip. Type $ for suggestions; use ↺ Reset to restore this example.

GET/v1/odata/TimeRegistrationActivity?$top=10