AnsweredAssumed Answered

Read comments from incident via Webservice

Question asked by p.merk on Aug 13, 2018
Latest reply on Oct 9, 2018 by camja06

Hi all,

 

I'm Phil, a new member here in the CA community and I need a little advice for an Log Comment handle via WebServices.

I want to read all all comments to an given cr (incident) into a list and then transfer them to an 3rd party system.

So far, I tried the getRelatedListValues method from the webservice but I'm not shure wether this ist the correct method nor what listName should I use. Currently I go for this request:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:getRelatedListValues>
         <sid>1239183159</sid>
         <objectHandle>cr:55766861</objectHandle>
         <listName>alg</listName>
         <numToFetch>10</numToFetch>
         <attributes>
        <string>log.description</string>
         </attributes>
         <getRelatedListValuesResult>?</getRelatedListValuesResult>
         <numRowsFound></numRowsFound>
      </ser:getRelatedListValues>
   </soapenv:Body>
</soapenv:Envelope>

 

My question(s) are now:

- Can I get a list with all valid <UDSObject> list

- what listName / attributes combination can I use to receive the following informtions:

-- text

-- date of createion

for the log comment.

 

Thank you in advance,

Phil

Outcomes