REST API Test Page
Operation
PUT
on
/setup/zones/{zoneOID}
Update zone
Produces
: application/json
Parameters
Name
Type
Value
Description
zoneOID
Path Variable
*
(JSON)
Request Body
{ "label" : "a zone label", "type" : 0, "items" : [ { "itemType" : "device", "deviceOID" : "a device OID", "deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])" } ], "externalOID" : "an external OID", "metadata" : "some metadata", "oid" : "the zone UUID" }
*
Json description of desired zone to update
Result
HTTP Status :