Repository navigation
ProductCategory
Fabian Steiner edited this page Nov 4, 2026
·
2 revisions
from xurrent import ProductCategory · module xurrent.product_categories · API resource /product_categories · Xurrent API docs
A product category that groups products and sets their rule set (e.g. physical asset or software).
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 |
|
rule_set |
None |
ProductCategoryRuleSet (unknown values stay text) | |
reference |
Optional[str] |
None |
|
disabled |
Optional[bool] |
None |
|
picture_uri |
Optional[str] |
None |
|
ui_extension |
None |
UiExtension |
ProductCategory.get_by_id(connection_object: XurrentApiHelper, id: int) -> TAPI: GET /product_categories/{id}
ProductCategory.get_product_categories(connection_object: XurrentApiHelper, queryfilter: dict = None) -> List[T]API: GET /product_categories
ProductCategory.create(connection_object: XurrentApiHelper, data: dict) -> TAPI: POST /product_categories
product_category.ref_str() -> strproduct_category.update(data: dict) -> TAPI: PATCH /product_categories/{id}
product_category.enable() -> Tproduct_category.disable() -> TUsed by: ProductCategory.rule_set
| Value | Description |
|---|---|
physical_asset |
|
logical_asset_with_financial_data |
|
logical_asset_without_financial_data |
|
server |
|
software |
|
software_distribution_package |
Uses:
-
UiExtension:
ui_extension
Used by:
-
Product:
category
- 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