Community

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

    PHP i-doit API Client "Creating is not possible here."

    Development
    2
    3
    732
    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
      beh_3045 last edited by

      in PHP i-doit API Client module,method cmdb.objects.create/update does exist??????? or our using method is incorrect?

      1 Reply Last reply Reply Quote 0
      • creiss
        creiss i-doit Kenner last edited by

        Hi,

        You are using the wrong function. It is not cmdb.objectS.create but cmdb.object.create.

        With this statement it should work:

        {
            "version": "2.0",
            "params": {
                "apikey" : "23glfsi8n3",
                "type" : "C__OBJTYPE__SERVER",
                "title" : "test123"
            },
            "id": "1",
            "method": "cmdb.object.create"
        }

        Kind Regards

        NEU - i-doit und IT-Dokumentation bei YouTube: https://www.youtube.com/channel/UCK9fitbW5J1yhiDs5Dr3YQw
        Komplett-Strategie: https://i-doit-trainings.de/it-dokumentation-komplett-strategie/
        i-doit Mastery – https://i-doit-trainings.de/i-doit-mastery

        1 Reply Last reply Reply Quote 0
        • B
          beh_3045 last edited by

          Thank you so much,You saved my day!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post