I'm using the API runner to test the entity api to change a vehicle group. I'm getting "undefined" as the result. Any suggestions? Thank you for your time and help.
api.call("Set", {
"typeName": "Device",
"entity":{
"name":"13651",
"id":"bB16",
"groups":[{"id": "b27B8"}]
}
}, function(result) {
console.log("Done: ", result);
}, function(e) {
console.error("Failed:", e);
});