(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"

}],

Tags: