Repository navigation
Site
Fabian Steiner edited this page Nov 4, 2026
·
2 revisions
from xurrent import Site · module xurrent.sites · API resource /sites · Xurrent API docs
A site (location) of people and configuration items.
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 |
|
city |
Optional[str] |
None |
|
country |
Optional[str] |
None |
|
time_zone |
Optional[str] |
None |
|
disabled |
Optional[bool] |
None |
Site.get_by_id(connection_object: XurrentApiHelper, id: int) -> TAPI: GET /sites/{id}
Site.get_sites(connection_object: XurrentApiHelper, predefinedFilter: SitePredefinedFilter = None, queryfilter: dict = None) -> List[T]API: GET /sites · Enums: SitePredefinedFilter
Site.create(connection_object: XurrentApiHelper, data: dict) -> TAPI: POST /sites
site.ref_str() -> strsite.update(data: dict) -> TAPI: PATCH /sites/{id}
site.enable() -> Tsite.disable(prefix: str = '', postfix: str = '') -> Tsite.archive() -> TAPI: POST /sites/{id}/archive
site.trash() -> TAPI: POST /sites/{id}/trash
site.restore() -> TAPI: POST /sites/{id}/restore
Used by: Site.get_sites
| Value | Description |
|---|---|
disabled |
|
enabled |
|
directory |
|
support_domain |
Used by:
-
Person:
site
- 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