Update Alarm API Error

Hi!

I have a problem with alarms. I can see the list all alarms using http:///api/rest/v1/alarms but I can’t update them. Could you help me? I get an internal system error (500). I’m using XProtect 2023R2 with test licence.

Thanks,

BR,

David

Could you please elaborate a bit. Are you trying to use this:

https://doc.developer.milestonesys.com/mipvmsapi/api/alarms-rest/v1/#tag/Alarms/operation/Alarms_Patch

-to patch an alarm record in order to change one or multiple of the the properties that can be updated?

Perhaps you can show us what you do both when retrieving the alarm and when patching it.

Yes, I’m using that URL. I show you with some screenshots.

I get the alarm list and I use the underlined id in the patch. The configuration is:

imageThanks!

BR,

David.

Hello David,

Thank you for your question.

Unfortunately I wasn’t able to reproduce this issue. Can you please share the log files?

Hello Galina,

I attach a wireshark file. I do logging, I use the token to get all alarms and I try to update an alarm.

Thanks,

BR,

David.

Hi David,

Can you also attach the Event Server logs?

Hi Galina,

Here you are. Postman is in 172.27.107.133 and Milestone XProtect is in 192.168.108.19.

Thanks,

BR,

David.

David,

You can find the log files for EventServer here:

[C:\ProgramData\Milestone\XProtect](file:C:/ProgramData/Milestone/XProtect) Event Server\logs

Ok, sorry. I attach the files.

Hi David,

Unfortunately, seems like your license doesn’t support Alarm Manager.

Here you can find the list of licenses with supported features:

https://www.milestonesys.com/products/software/product-index/

Additionaly you can check out the Partner licenses:

https://doc.developer.milestonesys.com/mipvmsapi/content/dev-license/