Repository navigation
TimeAllocation
Fabian Steiner edited this page Nov 4, 2026
·
2 revisions
from xurrent import TimeAllocation · module xurrent.time_allocations · API resource /time_allocations · Xurrent API docs
A time allocation: an activity (e.g. a meeting or training) for which people register time spent.
The named arguments of the constructor. Every other field of the API response is set as an attribute as well.
| Field | Type | Default | Converted to |
|---|---|---|---|
id |
int |
||
name |
Optional[str] |
None |
|
group |
Optional[str] |
None |
|
disabled |
Optional[bool] |
None |
|
customer_category |
None |
TimeAllocationCustomerCategory (unknown values stay text) | |
service_category |
None |
TimeAllocationServiceCategory (unknown values stay text) | |
description_category |
None |
TimeAllocationDescriptionCategory (unknown values stay text) | |
effort_class |
None |
EffortClass |
TimeAllocation.get_by_id(connection_object: XurrentApiHelper, id: int) -> TAPI: GET /time_allocations/{id}
TimeAllocation.get_time_allocations(connection_object: XurrentApiHelper, predefinedFilter: TimeAllocationPredefinedFilter = None, queryfilter: dict = None) -> List[T]API: GET /time_allocations · Enums: TimeAllocationPredefinedFilter
TimeAllocation.create(connection_object: XurrentApiHelper, data: dict) -> TAPI: POST /time_allocations
time_allocation.ref_str() -> strtime_allocation.update(data: dict) -> TAPI: PATCH /time_allocations/{id}
time_allocation.enable() -> Ttime_allocation.disable() -> TUsed by: TimeAllocation.get_time_allocations
| Value | Description |
|---|---|
enabled |
|
disabled |
Used by: TimeAllocation.customer_category
| Value | Description |
|---|---|
none |
|
selected |
|
any |
Used by: TimeAllocation.service_category
| Value | Description |
|---|---|
none |
|
selected |
|
any |
Used by: TimeAllocation.description_category
| Value | Description |
|---|---|
hidden |
|
optional |
|
required |
Uses:
-
EffortClass:
effort_class
Used by:
-
Organization:
get_time_allocations() -
OutOfOfficePeriod:
time_allocation
- XurrentApiHelper
- Calendar
- ClosureCode
- ConfigurationItem
- Contract
- CustomCollection
- CustomCollectionElement
- EffortClass
- Holiday
- KnowledgeArticle
- Organization
- OutOfOfficePeriod
- Person
- Problem
- Product
- ProductCategory
- Project
- ProjectTask
- Release
- Request
- RequestTemplate
- Risk
- Service
- ServiceInstance
- ServiceOffering
- ShopArticle
- ShopArticleCategory
- ShopOrderLine
- Site
- SkillPool
- Task
- Team
- TimeAllocation
- UiExtension
- Workflow
- WorkflowTemplate