beautypg.com

Add vlan, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 371: Returned result, Interface uri access method returned result

background image

Add VLAN

Add a VLAN on the device.

Interface URI

/vlan

Access Method

HTTP

POST

Message body


1111
VLAN 1111

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