Creating a Polyfence (POST)
https://core.rock7.com/API3/Polyfence/Create
Parameter | Type | Description | Example/Possible Values |
---|---|---|---|
QUERY PARAMS | |||
name | string | required Name of the Polyfence | Polyfence XYZ |
Example with Parameters
curl --request POST \
--url 'https://core.rock7.com/API3/Polyfence/Create?name=Polyfence%20XYZ&username=myUsername&password=myPassword' \
--header 'accept: application/json'
Response
{
"polyfence": {
"created": "2024-07-12T16:14:21.937Z",
"geofences": [],
"name": "Polyfence XYZ",
"id": "OVdRorbmlwqkNBpaZynJYPZvxaXpzjLg",
"type": "polyfence",
"locked": false
}
}