Skip to content

Fix guest-systems create/update API payload (connected_object) - #1356

Merged
ljuergenliemke merged 1 commit into
mainfrom
docs/1333-guest-systems-connected-object
Jul 29, 2026
Merged

Fix guest-systems create/update API payload (connected_object)#1356
ljuergenliemke merged 1 commit into
mainfrom
docs/1333-guest-systems-connected-object

Conversation

@ljuergenliemke

Copy link
Copy Markdown
Contributor

Problem

Issue #1333. The Guest systems category (C__CATG__GUEST_SYSTEMS) API examples for Create an entry and Update an entry documented the data payload as "data": { "object": <id> }. i-doit rejects this with:

-32603 Internal error: There was an validation error
{ "object": "(unknown) Property 'object' is unknown." }

Fix

The category's connect property is connected_object (an object browser), so the payload must be "data": { "connected_object": [<id>] }. Corrected in both the Create and Update examples, in the English and German articles.

Verification

Reproduced against i-doit 38 with cmdb.category.save on C__CATG__GUEST_SYSTEMS:

  • data: { "object": <id> }-32603 … Property 'object' is unknown. (the reported error)
  • data: { "connected_object": [<id>] }success: true, "Category entry successfully saved"; cmdb.category.read returns the linked connected_object.

Same result for both create and update. The params-level object (the owning host) is unchanged; only the value inside data was wrong.

Files

  • docs/en/basics/categories/guest-systems.md
  • docs/de/grundlagen/kategorien/guest-systems.md

The "Create an entry" and "Update an entry" examples for
C__CATG__GUEST_SYSTEMS documented the data payload as
{ "object": <id> }, which i-doit rejects with
"Property 'object' is unknown." (-32603 validation error).

The category property is connected_object (an object browser),
so the payload must be { "connected_object": [<id>] }. Verified
against i-doit 38 via cmdb.category.save for both create and update.

Fixes #1333

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ljuergenliemke
ljuergenliemke requested a review from a team as a code owner July 27, 2026 12:31
@ljuergenliemke ljuergenliemke self-assigned this Jul 27, 2026
@ljuergenliemke ljuergenliemke linked an issue Jul 27, 2026 that may be closed by this pull request
@ljuergenliemke
ljuergenliemke merged commit 1c89777 into main Jul 29, 2026
7 checks passed
@ljuergenliemke
ljuergenliemke deleted the docs/1333-guest-systems-connected-object branch July 29, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOC BUG] category/guest-systems parameter wrong

2 participants