Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot update Insight Object Attribute Value through Insight REST API

Gleb Kartashov
Contributor
August 1, 2022

My attribute has an ID of 4567

image.png

I use REST API to update value in my object as per official documentation https://insight-javadoc.riada.io/insight-javadoc-8.6/insight-rest/#objectattribute__id__put

My request:

http://10.0.0.212:8080/rest/insight/1.0/objectattribute/4567

{
"objectAttributeValues": [
{
"value": "test"
}
],
"objectId": 1596,
"objectTypeAttributeId": 4567

 I get status 404 and error message:

"errorMessages": [
"NotFoundInsightException: Could not find object attribute with id: 4,567"
],
"errors": {}

 If I try to change the value through Insight web interface it works just fine.

 

 

How do I update an Insight Object Attribute Value of my Insight Object?

JSM version is 8.20.2

Insight version is 9.1.2

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events