create(…)

Create new zone.

required subuser rights: zone_update

parameters:

name description type
zone zone JSON-object without “id” field zone
points Array of new points for this zone. Must contain at least 3 elements. MUST be omitted if zone does not support points (e.g. circle) point[]

zone.color is optional here.

return:

{
    "success": true,
    "id": ${int} // id of the created zone
}

errors:

  • 202 (Too many points in zone) – max allowed points count for zone is 100 for polygon or 1024 for sausage
  • 230 (Not supported for this entity type) – if “points” were specified, but zone cannot have any points associated with it (e.g. if zone is circle)

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 223 0427

Log in

Login

[clean-login]

CLOSE
Register

[clean-login-register]

CLOSE
Loading...