Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Updating objects inner items

    Scheduled Pinned Locked Moved Development
    2 Posts 2 Posters 1.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      beh_3045
      last edited by

      hi, im using this json format to update title of an object
      {
          "version": "2.0",
          "params": {
              "apikey" : "1evk8k9r5e",
              "id" : "45",
              "title" : "test_title"
          },
          "id": "1",
          "method": "cmdb.object.update"
      }
      but i want to update or add new inner properties like model,cpu,memory etc..
      for example i want to add two cpu's to a device or update a cpu's frequency
      how can i do this by calling api using json? is there a good documentation for parameteres that can be used for each function?

      1 Reply Last reply Reply Quote 0
      • bheisigB Offline
        bheisig i-doit Team
        last edited by

        Hi,

        you may find the API documentation in our knowledge base. Additionally, there are two useful links mentioned in this article: a PDF file with information about each RPC method (a little bit outdated). And a link to information about each category: https://your-i-doit-instance.example.org/index.php?load=api_properties

        Benjamin

        1 Reply Last reply Reply Quote 0

        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
        • First post
          Last post