Repository navigation
CustomCollection
Fabian Steiner edited this page Nov 4, 2026
·
2 revisions
from xurrent import CustomCollection · module xurrent.custom_collections · API resource /custom_collections · Xurrent API docs
A custom collection: an account-defined list whose elements can be selected in UI extension fields.
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 |
|
reference |
Optional[str] |
None |
|
disabled |
Optional[bool] |
None |
|
description |
Optional[str] |
None |
CustomCollection.get_by_id(connection_object: XurrentApiHelper, id: int) -> TAPI: GET /custom_collections/{id}
CustomCollection.get_custom_collections(connection_object: XurrentApiHelper, predefinedFilter: CustomCollectionPredefinedFilter = None, queryfilter: dict = None) -> List[T]API: GET /custom_collections · Enums: CustomCollectionPredefinedFilter
CustomCollection.create(connection_object: XurrentApiHelper, data: dict) -> TAPI: POST /custom_collections
custom_collection.ref_str() -> strcustom_collection.update(data: dict) -> TAPI: PATCH /custom_collections/{id}
custom_collection.enable() -> Tcustom_collection.disable() -> Tcustom_collection.get_elements(queryfilter: dict = None) -> ListAPI: GET /custom_collections/{id}/collection_elements · Uses: CustomCollectionElement
Used by: CustomCollection.get_custom_collections
| Value | Description |
|---|---|
disabled |
|
enabled |
Uses:
-
CustomCollectionElement:
get_elements()
Used by:
-
CustomCollectionElement:
custom_collection
- 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