Add missing domain classes, sub-resource methods, and utility APIs to close gap vs Xurrent REST API v1#30
Draft
Add missing domain classes, sub-resource methods, and utility APIs to close gap vs Xurrent REST API v1#30
Conversation
…jects, contracts, knowledge_articles, risks, service_offerings, skill_pools, closure_codes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: fasteiner <75947402+fasteiner@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: fasteiner <75947402+fasteiner@users.noreply.github.com>
- Requests: get_attachments, get_knowledge_articles, get_automation_rules, get_satisfaction_feedback, get_tags, get_watches - Tasks: get_notes, add_note, get_approvals, get_cis, get_predecessors, get_successors, get_service_instances, get_automation_rules - Workflows: get_notes, add_note, get_automation_rules, get_phases, get_requests, get_problems - People: get_cis, get_addresses, get_contacts, get_permissions, get_ci_coverages, get_sla_coverages, get_service_coverages, get_out_of_office_periods, get_skill_pools - Organizations: get_addresses, get_contacts, get_contracts, get_risks, get_slas, get_time_allocations - Services: get_workflows, get_request_templates, get_risks, get_service_instances, get_slas, get_service_offerings - Calendars: get_duration, get_hours, get_holidays - Teams: get_service_instances - Holidays: get_calendars Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: fasteiner <75947402+fasteiner@users.noreply.github.com>
…exports - Add search(), bulk_import(), list_archive(), list_trash(), list_audit_lines() methods to XurrentApiHelper - Populate __init__.py with exports for all domain classes across all modules Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: fasteiner <75947402+fasteiner@users.noreply.github.com>
…methods - test_problems.py: Problem CRUD, notes, requests, workflows - test_service_instances.py: ServiceInstance CRUD, CIs, users - test_releases.py: Release CRUD, archive/trash/restore, workflows, notes - test_projects.py: Project CRUD, archive/trash/restore, tasks/phases/workflows/notes - test_contracts.py: Contract CRUD, CIs - test_knowledge_articles.py: KnowledgeArticle CRUD, archive/trash/restore, requests/service_instances/translations - test_risks.py: Risk CRUD, archive/trash/restore, organizations/projects/services - test_service_offerings.py: ServiceOffering CRUD - test_skill_pools.py: SkillPool CRUD, enable/disable, members/effort_classes - test_closure_codes.py: ClosureCode CRUD - test_new_sub_resources.py: new sub-resource methods on Request, Task, Workflow, Person, Organization, Service, Calendar, Holiday, Team; core search/bulk_import/ list_archive/list_trash/list_audit_lines utilities Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: fasteiner <75947402+fasteiner@users.noreply.github.com>
…01 unit tests Agent-Logs-Url: https://github.com/fasteiner/xurrent-python/sessions/7ce5e825-70b8-4b09-ad7e-99899ceede7d Co-authored-by: fasteiner <75947402+fasteiner@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
fasteiner
April 15, 2026 21:45
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Python wrapper was missing ~10 core ITSM resource types, dozens of sub-resource traversal methods on existing classes, and several utility APIs available in the Xurrent REST API v1.
New domain classes (10)
Problem— predefined filters, archive/trash/restore, notes/requests/workflows sub-resourcesServiceInstance— cis/slas/users sub-resources; referenced widely by other resourcesRelease— archive/trash/restore, workflows/notes sub-resourcesProject— tasks/phases/workflows/risks/notes sub-resources, archive/trash/restoreContract— CI listing sub-resourceKnowledgeArticle— archive/trash/restore, requests/service_instances/translations sub-resourcesRisk— archive/trash/restore, organizations/projects/services sub-resourcesServiceOffering— catalog/portfolio filtersSkillPool— enable/disable, members/effort_classes sub-resourcesClosureCode— basic CRUDSub-resource methods on existing classes (43 new methods)
Request:get_attachments,get_knowledge_articles,get_automation_rules,get_satisfaction_feedback,get_tags,get_watchesTask:get_notes,add_note,get_approvals,get_cis,get_predecessors,get_successors,get_service_instances,get_automation_rulesWorkflow:get_notes,add_note,get_automation_rules,get_phases,get_requests,get_problemsPerson:get_cis,get_addresses,get_contacts,get_permissions,get_ci_coverages,get_sla_coverages,get_service_coverages,get_out_of_office_periods,get_skill_poolsOrganization:get_addresses,get_contacts,get_contracts,get_risks,get_slas,get_time_allocationsService:get_workflows,get_request_templates,get_risks,get_service_instances,get_slas,get_service_offeringsCalendar:get_duration(start, end, time_zone),get_hours,get_holidaysTeam:get_service_instancesHoliday:get_calendarsUtility APIs on
XurrentApiHelper(5)search(query, types)— cross-resource full-text search viaGET /searchbulk_import(data, import_type, import_format)— CSV/TSV bulk import viaPOST /importlist_archive(queryfilter),list_trash(queryfilter)— global archive/trash listingslist_audit_lines(queryfilter)— global audit log queryOther
__init__.pyupdated to export all 35 modules