Have an issue when trying to update a device through the API, I get the following error: NullPointerException (BaseObjectResource: 139 < ...)
content-type header and accept header are passed.
Doing a PUT to http://{url}/api/devices/1
(for first device)
in body I do the following:
{
"name": "Car X"
}
Any help is greatly appreciated
You are missing a lot of parameters. You have to pass full device model, not just the field that you want to change.
Have an issue when trying to update a device through the API, I get the following error:
NullPointerException (BaseObjectResource: 139 < ...)
content-type header and accept header are passed.
Doing a PUT to
http://{url}/api/devices/1
(for first device)in body I do the following:
Any help is greatly appreciated