API method to retrieve video for specific time range in XProtect?

I think the questions and answers crossed here. Please see the answer I made on your previous post.

You are welcome to elaborate if the answer does not fit or leads to follow-up questions.