The documentation out there for HKVISION is pretty hard to find. Enclosed is an example for those who are interested in using their 8200 platform API. The code is an adaptation of the javascript code in https://github.com/open8200/artemis-header-sign.
Have fun.