Community

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

    API, get person with person groups

    General
    api
    1
    1
    39
    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.
    • Eduardo Casarero
      Eduardo Casarero last edited by

      Hi all, am trying to find the right category to query the API and get the person object with its assigned groups, but I am not getting them. I've tried many categories, but I can't find the right one, so far this is my base query:

      {
          "version": "2.0",
          "method": "cmdb.objects.read",
          "params": {
              "categories": [
                  "C__CATS__ORGANIZATION_PERSONS","C__CATG__ASSIGNED_SUBSCRIPTIONS", "C__CATS__PERSON_ASSIGNED_GROUPS"
              ],
              "filter": {
                  "type": "C__OBJTYPE__PERSON",
                  "title": "John Doe"
              },
      
              "order_by": "",
              "sort": "",
              "apikey": "xxxxxxx"
          },
          "id": 1
      }
      

      Any hints on where is my error?

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