Skip to main content

Creating a Polyfence (POST)

https://core.rock7.com/API3/Polyfence/Create
ParameterTypeDescriptionExample/Possible Values
QUERY PARAMS
namestringrequired
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
}
}