TimeAllocation Object

Root Connection

All TimeAllocation objects of an account are accessible by a query on the root connection timeAllocations. Such a query will return a TimeAllocationConnection!, which contains the TimeAllocation objects in its nodes field.

timeAllocations (TimeAllocationConnection!)

Root connection for retrieving TimeAllocation records.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

filter TimeAllocationFilter

Filter to determine which TimeAllocation records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [TimeAllocationOrder!]

Order of the TimeAllocation records returned.

view TimeAllocationView

View name.

The default value is current_account.

Fields

The fields in this section list which values can be retrieved when querying TimeAllocation records.

account (Account)

The account this record belongs to.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

customerCategory (TimeAllocationCustomerCategory)

Whether a person who spent on the time allocation needs to select a customer organization, and if this is the case, whether this person may only select from the customer organizations linked to the time allocation or is allowed to select any customer organization.

descriptionCategory (TimeAllocationDescriptionCategory)

Whether the Description field should be available, and if so, whether it should be required, in the time entries to which the time allocation is related.

disabled (Boolean)

Whether the time allocation may no longer be related to any more organizations.

effortClass (EffortClass)

The effort class that is selected by default, when someone registers time on this time allocation.

group (String)

Which group to include the time allocation in.

id (ID!)

Unique identifier of the object.

name (String)

The name of the time allocation.

serviceCategory (TimeAllocationServiceCategory)

Whether a Person who spent on the time allocation needs to select a service, and if this is the case, whether this person may only select from the services linked to the time allocation or is allowed to select any service.

source (String)

An identifier for the client application submitting the resource or the name of an external system

sourceID (String)

The unique identifier of the resource in an external system

updatedAt (ISO8601Timestamp)

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

Connections

The connection fields in this section allow (paged) access to objects related to a specific TimeAllocation record. The actual objects will be in the nodes field of the connection.

customers (OrganizationConnection)

Customer organizations of the time allocation.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

organizations (OrganizationConnection)

Organizations of the time allocation.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

services (ServiceConnection)

Services of the time allocation.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

translations (TranslationConnection)

Translations associated with this object.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Implements

TimeAllocation implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a TimeAllocation.