Table of Contents

Export of messages

To export messages loaded to a layer/directly, to a file, use the command exchange/export_messages:

svc=exchange/export_messages&params={"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:

Parameters

Name Description
layerName message layer name (optional), to export from layer
format file format: txt, kml, plt, wln, wlb
itemId unit ID (optional),to export directly for time (not from layer)
timeFrom time from(optional), to export directly
timeTo time to(optional), to export directly
compress compress file: 0 - no, 1 - yes

Response

Returns a file of specified format.