This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

REST API - Get all assigned incidents for a user

Is there a way to get all open tasks that are assigned to a particular user through the API?

Parents
  • Hi ,

    I was just playing around with the application again and you can actually achieve this by using the Assigned_to parameter.
    In the API Docs it is being referenced as Searching

    What you need to do to make this work is add the Group ID of the user(s) to the API URL, in my case that looks like this:
    api.samanage.com/tasks.xml?assigned_to=1727271

    To find the group ID of the user, just do a GET on the user and look for <group_ids><group_id> You want to have the first ID you see.

    Hope this helped!

    Ramon

Reply
  • Hi ,

    I was just playing around with the application again and you can actually achieve this by using the Assigned_to parameter.
    In the API Docs it is being referenced as Searching

    What you need to do to make this work is add the Group ID of the user(s) to the API URL, in my case that looks like this:
    api.samanage.com/tasks.xml?assigned_to=1727271

    To find the group ID of the user, just do a GET on the user and look for <group_ids><group_id> You want to have the first ID you see.

    Hope this helped!

    Ramon

Children