Magidoc

CreateTimeEntryInput
Input Object

Input for creating or updating a single time entry. If an entry already exists for the same user, container, category, and date, it will be updated (upserted) rather than duplicated.

Fields

#

categoryId

Optional time category ID. Pass null or omit for uncategorized entries.

containerId

ID !
Non-null

ID of the project or leave type.

containerType

Non-null

Whether the entry is against a project or a leave type.

date

Non-null

Calendar date for the entry in ISO-8601 format (e.g. 2025-06-02). The server normalises to the start of day in UTC.

loggedTime

Non-null

Duration in seconds (0–86400). For example, 1.5 hours = 5400.

userId

ID !
Non-null

ID of the user this time entry belongs to. Must be a member of the workspace.

Usages

#

References

#

  • Argument entries of field createTimeEntries from type Mutation