CA Service Management

  • 1.  How to get defined Scoreboard (My queue and My saved Searches) from Soap API?

    Posted Oct 13, 2016 05:54 AM
      |   view attached

    Hi,

     

    Could you you help me with user defined scoreboard please? How can I get defined Scoreboard (My queue and My saved Searches, Incidents, etc ) from Soap API?  for example: I defined my own filter "Linxin Group" in my queue and how can I get my queue from SOAP Api?

     

    Kind Regards

     

    Linxin



  • 2.  Re: How to get defined Scoreboard (My queue and My saved Searches) from Soap API?

    Posted Oct 13, 2016 06:15 AM

    Hi Linxin,

     

    You can do this by running the 'doSelect' method against the 'usq' object\factory. The whereclause similar to label = 'Linxin Group'

     

    Let us know if this helps?

     

    Kind Regards,

    Brian



  • 3.  Re: How to get defined Scoreboard (My queue and My saved Searches) from Soap API?

    Posted Oct 13, 2016 07:21 AM

    Hi Brian,

     

    Thank you for your quick reply,

    DoSelect request works ok with type "cnt"  but I got error message "Error - could not find attribute info for object type 'usp".

     

    How can I get all the list values from "My queue" in score board such as "My incidents, My problems, etc".

     

    Thank you very much for your time.

     

    Linxin



  • 4.  Re: How to get defined Scoreboard (My queue and My saved Searches) from Soap API?
    Best Answer

    Posted Oct 13, 2016 07:26 AM

    Here is soap query i used to extract scoreboards for particular role:

     

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">

       <soapenv:Header/>

       <soapenv:Body>

         <ser:doSelect>

             <sid>1420629984</sid>

             <objectType>usq</objectType>

             <whereClause>role_persid = 'role:10005'</whereClause>

             <maxRows>-1</maxRows>

             <attributes>

               <!--1 or more repetitions:-->

               <string>parent</string>

               <string>sequence</string>

               <string>label</string>

               <string>query.where_clause</string>

               <string>query.obj_type</string>

             </attributes>

         </ser:doSelect>

       </soapenv:Body>

    </soapenv:Envelope>



  • 5.  Re: How to get defined Scoreboard (My queue and My saved Searches) from Soap API?

    Posted Oct 13, 2016 07:39 AM

    It works,

    Thanks Gutis