Jump to: navigation, search

Assign Device to Place

This operation is part of the Place Management API section of the Web Services API.

Overview

Assigns a device to a place.

Request URL /api/v2/places/{id}/devices
HTTP Method POST
Required Features api-provisioning-write

Parameters

Parameter Value
path The path of the device to assign.

Samples

Request

POST /api/v2/places/15f4b6e7-f8f7-4039-b2f0-23ee146a7e8b/devices
{
    "path": "/devices/690cb3ce-a11a-431c-8ff8-ed1de32219a0"
}

HTTP Response

{  
   "statusCode":0,
   "paths":[  
      "/devices/690cb3ce-a11a-431c-8ff8-ed1de32219a0"
   ],
   "uris":[  
      "http://hpe-voicevm-70.genesyslab.com:8090/api/v2/devices/690cb3ce-a11a-431c-8ff8-ed1de32219a0"
   ]
}

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on January 22, 2016, at 11:56.