Visualizing alarm on timeline

I’m developing a plugin to send alarm from a third party software. I’m able to send Alarm or AnalyticsEvent using the web service serviceCentral/AlarmService and I can visualize textual information regarding the alarm I sent in Smart Client alarm section; but I’m not able to see the dark-red section in the timeline symbolizing the alarm (as it appeared when a camera detects motion) despite the fact that I specified timestamps ‘StartTime’ and ‘EndTime’ in the Alarm/AnaliticsEvent, and ‘Timestamp’ in ‘EventHeader’

Is it somehow related to camera recording when the pink color is on the timeline ?

P.S. I followed as close as possible guideline specified in the pdf http://download.milestonesys.com/MIPSDK/Samples/TriggerAlarmFromExternal-ConceptSolution.pdf

I found on this other post https://developer.milestonesys.com/s/question/0D50O00003EIrylSAD/record-analytics

The Smart Client will not visualize alarms on the timeline (not without further development).

Per default the timeline will be red when there is recorded footage and motion is detected, and pink when there is recorded footage and no motion is detected.

But it is possible to develop a plugin and then it can visualize what you ask. Please explore the Smart Client Timeline Population Plug-in sample (TimelineViewItem sample).

Intuitively, I though an event would be integrated/visualizable on the timeline (timeline and events do not have any link by default).

I guess what I’m trying to achieve can not be done via protocol integration but with a C# plugin for Smart Client. Thank you for your response.