HTTP POST for /device/create/device_name/Vendor/Type/Model/OS
When the NSM client user requests the
/device/create/device_name/vendor/type/model/OS/?fqname=existing_realm_path
URI using the POST
method, a device is created.
Input parameters
device_name
vendor
type
model
OS
existing_realm_path: use an existing realm. The Create Device operation does not create the realm.
The REST API returns the DeviceID when the operation is successful. The new device is created in a staged state.
The create device operation does not validate the Vendor, Type, Model and OS values provided.
The create device operation does not create a UOW.
Available HTTP Headers
Accept: application/json
Sample request
http://www.example.com:16310/nsm/device/create/cisco_device_ASR9_6/Cisco/Router/ASR9001/6.*/?fqname=ITNCM/realm1
Sample response
The response gives the device ID of the newly created network resource. For example:
801