Highlighted
Micro Focus Expert
Micro Focus Expert
73 views

(UCMDB Support Tip) - REST-API condition for Boolean values not working

Topic:

If using 10.33 version, and encounter the following rest API failing with a RC 400 "Bad Request" error from UCMDB server:

 

{

Nodes": [

 

"linkConditions" : []

}]

relations":[]

]usually

 

Response:

The IP address attribute - 'root_iscandidatefordeletion'  is usually declared as type Boolean and in the API call below it was being treated like a string : (ie. it was being compared with the string "true", rather than the Boolean true)

"attribute" : "root_iscandidatefordeletion",

"value" : "true"

}],

MICRO FOCUS Software Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Please hit the Kudo botton, if you find this post useful.
Likes are appreciated!
Tags (1)
0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.