
Hello Simone,
We recommend grabbing the object you are trying to modify before setting it. Here is a sample in JS:
api.call("Get", {"typeName": "Device"
}, function(result) {
let temp = result[0];
temp.immobilizeArming = 60;
temp.immobilizeUnit = true;
temp.disableBuzzer = false;
api.call("Set", {"typeName": "Device",
"entity": temp
})
})