HP Intelligent Management Center Extended API User Guide

Add VLAN
Add a VLAN on the device.
Interface URI
/vlan
Access Method
HTTP
POST
Message body
<vlan>
<vlanId>1111</vlanId>
<vlanName>VLAN 1111</vlanName>
</vlan>
Parameters
VLAN sub-elements
Device type ID.devId
Integer type. Required. No default value.
VLAN ID.vlanId
Integer type. Required. No default value.
VLAN name.vlanName
String type. Required. No default value.
Returned Result
Status codes
201 (Created): Success.
409 (Conflict): Failure. See Error Codes.
Message header
If the operation succeeds, the Location field gives the URI of the new resource. The message body
is empty.
HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/vlan?devId=13
Add VLAN 371