This repository was archived by the owner on Aug 3, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Geofence Zones Endpoint (Zones)
christopherjlo edited this page May 20, 2024
·
3 revisions
- Example call: http://localhost:5135/zones/in
{"message":"","error":"","data":"{\u0022keepIn\u0022:true,\u0022coordinates\u0022:[{\u0022latitude\u0022:1,\u0022longitude\u0022:2},{\u0022latitude\u0022:2.5,\u0022longitude\u0022:1.69}]}"}- Example call: http://localhost:5135/zones/out
{"message":"","error":"","data":"{\u0022keepIn\u0022:true,\u0022coordinates\u0022:[{\u0022latitude\u0022:2,\u0022longitude\u0022:2},{\u0022latitude\u0022:2.5,\u0022longitude\u0022:1.69}]}"}- Example call: http://localhost:5135/zones/in
{
"keepIn": true,
"coordinates": [
{
"latitude": 1.0,
"longitude": 2.0
},
{
"latitude": 2.5,
"longitude": 1.69
}
]
}{"message":"Posted keepIn zone successfully.","error":"","data":""}- Example call: http://localhost:5135/zones/out
{
"keepIn": false,
"coordinates": [
{
"latitude": 2.0,
"longitude": 2.0
},
{
"latitude": 2.5,
"longitude": 1.69
}
]
}{"message":"Posted keepOut zone successfully.","error":"","data":""}