timeAllocationCreate Mutation

Creates a new time allocation.

Input Argument

timeAllocationCreate accepts a single input argument, an input type, which contains the values it uses.

The fields inside input are:

clientMutationId (String)

A unique identifier for the client performing the mutation.

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.

customerIds ([ID!])

Identifiers of the customer organizations of the time allocation.

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.

effortClassId (ID)

Identifier of 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.

name (String!)

The name of the time allocation.

organizationIds ([ID!])

Identifiers of the organizations 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.

serviceIds ([ID!])

Identifiers of the services of the time allocation.

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

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

timeAllocation (TimeAllocation)

Record after mutation.