Home Analyst Portal
Options

Supportgroup/Tierqueue - Mappings in javascript

Johana_von_LengerkeJohana_von_Lengerke Customer IT Monkey ✭
Hi,

i'am creating a "change supportgroup" task in javascript and I need to find a way to get a list of mapped ad groups toincident tierqueues.
I want to change the primary owner any time the supportgroup changes.

Answers

  • Options
    Nicholas_VelichNicholas_Velich Cireson Consultant Ninja IT Monkey ✭✭✭✭
    Hi Johana,

    You will want to start by looking at the User API calls here: https://support.cireson.com/Help#User

    For example, you could use the following call to get all members of a particular Support Group (by enumeration Id):

    http://localhost/api/V3/User/GetSupportGroupUsers?id=2578e729-add3-6f27-1765-620123146413

    In my lab, this returns:

    <ConsoleUserMinimal>
            <Id>a3a89152-9ef5-75e1-7011-c65f5419ce31</Id>
            <Name>analyst2</Name>
    </ConsoleUserMinimal>
    <ConsoleUserMinimal>
            <Id>cd092441-6cfd-0da9-dcba-3cb654627c58</Id>
            <Name>IT Analyst 2</Name>
    </ConsoleUserMinimal>
    <ConsoleUserMinimal>
            <Id>f2261949-6700-521d-e522-492b39ba8e4c</Id>
            <Name>scsmadmin</Name>
    </ConsoleUserMinimal>

    Thanks,
    Nick
  • Options
    Johana_von_LengerkeJohana_von_Lengerke Customer IT Monkey ✭
    Hi,

    thanks, but I am looking for an apicall which gives me as result a list like: TierQueue:ADGroup.

    I know the Tierqueue and want to find the mapped AD-Group to that tierqueue, not the users of that group.

    Greets
  • Options
    Konstantin_Slavin-BoKonstantin_Slavin-Bo Customer Ninja IT Monkey ✭✭✭✭
    I don't think there's any API call which returns what you need. At least I can't find it. As we implemented the Cireson AP back when there wasn't a manual mapping option, we renamed all of our AD-groups and tier queues to match, so we just match on the name, when we need to do mapping in js.
Sign In or Register to comment.