Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login
    1. Home
    2. Hoehn
    H
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Groups 0

    Hoehn

    @Hoehn

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Hoehn Unfollow Follow

    Latest posts made by Hoehn

    • RE: API Kontakt Zuweisung

      Für mich hat folgendes Funktioniert:

      {
          "jsonrpc": "2.0",
          "method": "cmdb.category.create",
          "params": {
              "objID": "1337",
              "category": "C__CATG__CONTACT",
              "data": {
      			"contact": 42, # PersonenID
      			"role": 2, # Administration > CMDB Settings > Roles administration
      			"primary": 1 # Primärkontakt
      		},
              "apikey":""
          },
          "id": 1
      }
      

      Das Ergebis:

      {
          "id": 1,
          "jsonrpc": "2.0",
          "result": {
              "id": 4242,
              "message": "Category entry successfully created. [This method is deprecated and will be removed in a feature release. Use 'cmdb.category.save' instead.]",
              "success": true
          }
      }
      

      idoit.png

      Leider funktioniert bei mir nur "cmdb.category.create" statt "cmdb.category.save"

      posted in Entwicklung
      H
      Hoehn