E-Fence: insert
Overview
Create a e-fence.
API URL
/api/fence/create
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. |
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) |