cmdb.category.update in Kontaktzuweisung
-
Hallo,
ich habe etliche Objekte in i-doit, die in einer der Kontaktzuweisungen eine falsche Rolle eingetragen bekommen haben.
Jetzt möchte ich in den betreffenden Kontaktzuweisungen den Key "role" auf die richtige id setzen.
Das versuche ich laut Knowledge Base folgendermaßen:{
"id": 2,
"version": "2.0",
"method": "cmdb.category.update",
"params": {
"objID": 1430745,
"category": "C__CATG__CONTACT",
"data.category_id": 27325,
"data": { "role": 6 },
"apikey": "apikey",
"language": "en"
}
}Ich bekomme aber jedes Mal nur ein:
{
"code": -32099,
"message": "i-doit system error: Please define the category entry you want to update by setting data.id or data.category_id.",
"data": null
}zurück.
Was mache ich falsch?
Gruß Lutz
-
Hallo @LutzHaseloff
Verwende besser die folgende Methode.
{"method": "cmdb.category.save", "params": { "object": 1430745, "category": "C__CATG__CONTACT", "entry": 27325, "data": { "role": 6 }, "apikey": "apikey", "language": "en" }, "id": 2, "version": "2.0"}
VG, Cherif
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