userAttributes missing from GET call response
search cancel

userAttributes missing from GET call response

book

Article ID: 142073

calendar_today

Updated On:

Products

CA Service Operations Insight (SOI)

Issue/Introduction

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>

Environment

Release : 4.2

Component : Service Operations Insight (SOI) Manager

Cause

Missing Header key and value on the REST call

Resolution

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)

Attachments