This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:sidebar:remoteapi:apiref:resource:upload_zone_image [25/02/2016 17:08] stan [Geofences: upload/delete image] |
en:sidebar:remoteapi:apiref:resource:upload_zone_image [08/08/2017 15:13] stan [Geofences: Image] |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== Geofences: Image ====== | ====== Geofences: Image ====== | ||
- | To upload an image for a Geofence, use the command **resource/upload_zone_image**: | + | To upload an image for a Geofence or set an image of other Geofence, use the command **resource/upload_zone_image**: |
<code javascript> | <code javascript> | ||
svc=resource/upload_zone_image¶ms={"itemId":<long>, | svc=resource/upload_zone_image¶ms={"itemId":<long>, | ||
"id":<long>, | "id":<long>, | ||
- | "eventHash":<text>} | + | "eventHash":<text>, |
+ | "oldItemId":<long>, | ||
+ | "oldZoneId":<uint>} | ||
</code> | </code> | ||
- | :!: To delete an image, use the command [[update_zone]]. | + | :!: To delete an image, use the command [[update_zone]].\\ |
- | :!: To get an image, use [[../requests/avl_zone_image]] | + | :!: To get an image, use [[../requests/avl_zone_image]]. |
===== Parameters ===== | ===== Parameters ===== | ||
^ Name ^ Description ^ | ^ Name ^ Description ^ |
|