NetXMS Support Forum

English Support => General Support => Topic started by: Borgso on September 24, 2019, 11:17:21 AM

Title: Websvc problem in 3.0
Post by: Borgso on September 24, 2019, 11:17:21 AM
Hi

Im having problem with Websvc API after upgrading to v3
This works in 2.2.17, but fails in v3 with response code 404 in catalina.out.

https://www.netxms.org/documentation/adminguide/advanced.html#get-object-by-id
curl -X GET --cookie "session_handle=$SESSION_HANDLE" "$API_HOME/objects/1579"

Did anything change in API?

This still works:
https://www.netxms.org/documentation/adminguide/advanced.html#get-multiple-objects-with-filters
curl -X GET --cookie "session_handle=$SESSION_HANDLE" "$API_HOME/objects?class=container,node"
Title: Re: Websvc problem in 3.0
Post by: Victor Kirhenshtein on September 24, 2019, 03:12:25 PM
Hi,

yes, it was broken in 3.0. I've just uploaded web service war version 3.0.2296 where this bug is fixed.

Best regards,
Victor
Title: Re: Websvc problem in 3.0
Post by: Borgso on September 24, 2019, 11:06:26 PM
Thanks!
Confirmed working again  8)