Add Device to Business View API

 
Purpose: To add a device to a Business View in OpManager.
Prerequisite: Business View should have been already created.
Request URL: http://<opmanager-server:port>/api/xml/discovery/addDeviceToBV?apiKey=APIKEY&deviceName=DEVICE-NAME
&bvName=BUSINESSVIEW-NAME 

Request Parameters:

Parameter
Description
apiKey* API Key to access your OpManager server.
deviceName*
Name of the device to be added in business view.
bvName*
Name of the business view
* - Mandatory parameters

Sample Form (Post Method):
<form method="POST" action="http://opman-vm-win7-2/api/xml/discovery/addDeviceToBV?apiKey=[APIKEY]">
<input type="hidden" name="deviceName" value="[DEVICE-NAME]">
<input type="hidden" name="bvName" value="[BUSINESSVIEW-NAME]">
<input type="submit" value="Add Device to BV" name="submit">
</form>

Example:

Copyright © 2012, ZOHO Corp. All Rights Reserved.
Network Monitoring Software from ManageEngine