E-Fence: update
Overview
Modify a e-fence. For example, you could change a e-fence's name, type.
API URL
/api/fence/update
HTTP Method
POST
URL Parameters
| Name | Type | Required | Description |
|
access_token or user_access_token |
String | Requires | Specify the API access_token of the account or the user_access_token obtained after the user logged in. |
|
id |
String | Requires | Specify the id that needs to be updated. |
Form Data
| Name | Description |
| name | E-Fence Name |
| belongszone | Zone ID |
| param | E-Fence coordinate info |
| shape | Shape(1:rectangle,2:circle,3:polygon) |
| color | E-Fence Color |
| alpha | E-Fence Alpha |
| fvisible | Visible state(0:Visible,1:Invisible) |
| fencetype |
E-Fence Type (1:Offside,2:Rollcall,8:Heart Rate) |