REST API Test Page
Operation
POST
on
/setup/localDevices
Create a new local device
Produces
: application/json
Parameters
Name
Type
Value
Description
(JSON)
Request Body
{ "label" : "a local device request label", "placeOID" : "a place OID", "model" : { "type" : "a OGPNode model type", "subType" : "a sub type", "features" : [ { "name" : "a OGPFeature name", "stateLess" : true, "authenticationRestrictedCommands" : [ "some authentication restricted commands" ] } ] }, "attributes" : { "some attributes" : "some attributes" }, "localDeviceData" : { "a local device data" : "a local device data" } }
*
The new local device to create
Result
HTTP Status :