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
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

Response

Returns a file of specified format.

Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2020 Gurtam