AnsweredAssumed Answered

Update object (alg) SOAP

Question asked by john.herrera on Nov 29, 2018
Latest reply on Nov 29, 2018 by Chi_Chen

Hello, people i wanna know if is posible use soap method for update a log comment value like a description, analyst, etc. y try to do it something like this, for update a value but doesn't work

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://www.ca.com/UnicenterServicePlus/ServiceDesk">
<soapenv:Header/>
<soapenv:Body>
<ser:updateObject>
<sid>1997028349</sid>
<objectHandle>alg:12915863</objectHandle>
<attrVals>

<string>time_spent</string>
<string>3</string>

</attrVals>
<attributes>
<!--1 or more repetitions:-->
<string>id</string>
</attributes>
</ser:updateObject>
</soapenv:Body>
</soapenv:Envelope>

 

the error returned is 

<ErrorMessage>Error setting attr 'time_spent' on object 'alg:12915863' to value '3'</ErrorMessage>
<ErrorCode>1003</ErrorCode>

 

thanks for your help

Outcomes