Export of geofences

To export geofences to KML/KMZ files, use the command exchange/export_zones:

svc=exchange/export_zones&params={"fileName":<text>,
				  "zones":[
					{
						"itemId":<long>,
						"id":<long>
					}
				 ],
				 "compress":<bool>}

:!: Current request can’t be executed simultaneously with any request from this chapter and following requests:

Parameters

Name Description
fileName file name
zones array of geofences
itemId resource ID
id geofence ID
compress compress file: 0 – no, 1 – yes

Response

Returns a file in KML/KMZ format.