Bookmarks - specifying particular timestamp when Rule is fired?

Hi guys,

I’ve setup a Rule that responds to an analytics event - that event starts recording + sets a bookmark on a particular camera. This will be triggered via an XML payload.

That all works fine, but the bookmark seems to be on current timestamp, when I would rather setup the rule to write to the bookmark at a timestamp I specified. Is there a way to do this? Here’s my current XML payload to the event server (I’m new at this and might have unnecessary data in it):

00000000-0000-0000-0000-000000000000

2022-03-15T05:16:10Z

Detection

 <Name>192.168.1.19</Name>

An item was detected.

Event location 1

Test vendor

It is impossible if you use rules, I mean you cannot set timestamp as you want. On the other hand, you can use following method as a workaround.

On the page, you will find BookmarkCreate, that has DateTime timeBegin, DateTime timeTrigged, DateTime timeEnd,I hope it could be help you.

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_data_1_1_bookmark_service.html&tree=tree_search.html?search=bookmarkservice

Also there is a sample called Bookmark Creator that you might want to explore.

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/bookmarkcreator/readme.html&tree=tree_2.html