This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:sidebar:remoteapi:apiref:resource:upload_zone_image [08/08/2017 15:18] stan [Parameters] |
en:sidebar:remoteapi:apiref:resource:upload_zone_image [09/04/2019 12:02] chdi [Parameters] |
||
---|---|---|---|
Line 17: | Line 17: | ||
| itemId | resource ID | | | itemId | resource ID | | ||
| id | geofence ID | | | id | geofence ID | | ||
- | | eventHash | event name, which will be generated after uploading the image (optional parameter) | | + | | eventHash | event name, which will be generated after uploading the image| |
- | | oldItemId | resource id of other Geofence to set its image | | + | | oldItemId | resource id of other Geofence to set its image (optional parameter)| |
- | | oldZoneId | other Geofence id of to set its image | | + | | oldZoneId | other Geofence id of to set its image (optional parameter)| |
To upload an image, use a POST request with multiple contents (multipart/form-data), where one part contains parameters and the other contains the image. | To upload an image, use a POST request with multiple contents (multipart/form-data), where one part contains parameters and the other contains the image. |
|