When running REST API call to GET an alert definition it doesn't return the userAttributes properties in the response
The following response is expected :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<alertDefinition>
<acknowledged>false</acknowledged>
<ticketId></ticketId>
<assigned></assigned>
<exempt>false</exempt>
<userAttributes>
<userAttribute1></userAttribute1>
<userAttribute2></userAttribute2>
<userAttribute3></userAttribute3>
<userAttribute4></userAttribute4>
<userAttribute5></userAttribute5>
<userAttribute6></userAttribute6>
<userAttribute7></userAttribute7>
<userAttribute8></userAttribute8>
<userAttribute9></userAttribute9>
<userAttribute10></userAttribute10>
</userAttributes>
<ticketUrl></ticketUrl>
</alertDefinition>
But we are getting the following response instead:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<alertDefinition>
<acknowledged>false</acknowledged>
<ticketId></ticketId>
<assigned></assigned>
<exempt>false</exempt>
</alertDefinition>
Release : 4.2
Component : Service Operations Insight (SOI) Manager
Missing Header key and value on the REST call
On the REST call header the "Content-Type" and "Accept" key should have value of "application/vnd.ca.soi.api.v2+xml" (see the screen shot below)