To export messages loaded to a layer/directly, to a file, use the command exchange/export_messages:
svc=exchange/export_messages¶ms={"layerName":<text>, "format":<text>, "itemId":<long>, "timeFrom":<uint>, "timeTo":<uint>, "compress":<bool>}
Current request can't be executed simultaneously with any request from this chapter and following requests:
Name | Description |
---|---|
layerName | message layer name (optional), to export from layer |
itemId | unit ID (optional),to export directly for time (not from layer) |
format | file format: txt, kml, plt, wln, wlb |
timeFrom | time from(optional), to export directly |
timeTo | time to(optional), to export directly |
compress | compress file: 0 - no, 1 - yes |
Returns a file of specified format.