Bug reintroduced? Updating a single-value category via API
-
Hello,
as the original thread is quite old, I'm creating a new one and referencing to the original issue here: Update a single-value category with Api
In that thread, the solution was to update the API add-on from 1.10.4 to 1.11.1, as the bug was apparently fixed there.
However, using the current add-on version 1.12.3, the same problem happens to me. Upon trying to set the primary host of a virtual machine running in a specific cluster, I get the response that the given id does not exist in the dialog table. I have triple-checked that a) the given host is actually a member of the given cluster, b) the id of the cluster is correct, and c) the id of the host is correct:
{ "version": "2.0", "method": "cmdb.category.save", "params": { "object": 100894, "data": { "hosts": 12923, "primary": 13795 }, "category": "C__CATG__VIRTUAL_MACHINE", "apikey": "xxx", "language": "en" }, "id": 6 }Any suggestions?
Best regards,
Manuel
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login