custom fields über API schreiben mittels cmdb.object.create geht nicht
-
Guten Tag,
es gelingt uns nicht über die API in das Attribut "c_1663680235067" der benutzerdefinierten Kategorie "IT-TEST" mit
"method": "cmdb.object.create"zuschreiben.
Woran könnte es liegen?{ "version": "2.0", "method": "cmdb.object.create", "params": { "type": "C__OBJTYPE__SD_PCARBEITSPLATZ", "title": "Mein TEST PC7", "apikey": ",XXXX", "language": "de", "defaultTemplate": 1, "categories": { "C__CAT__CUSTOM_FIELDS_IT-TEST": [ {"c_1663680235067": "12345678" } ] } }, "id": 1 }Viele Grüße
Erik
-
@FlatErik
Schau mal unter Administration > Schnittstellen / externe Daten > JSON-RPC API > Kategorien und Attribute, ob Du nicht in der Konstante der Kategorie einen Schreibfehler hast. I.d.R. heißen die C__CATG__CUSTOM_FIELDS_xxxHTH
Martin -
@MartinV
Danke! Jetzt gehts!
Wir hatten auch vergessenf_text_vorc_1663680235067zu setzten.
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