To export messages loaded to a layer to a file, use the command exchange/export_messages:
svc=exchange/export_messages¶ms={"layerName":<text>, "format":<text>, "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 |
| format | file format: txt, kml, plt, wln, wlb |
| compress | compress file: 0 – no, 1 – yes |
Response
Returns a file of specified format.