Modify system information, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

Advertising
background image

Modify System Information

Modify the system information for a device based on device ID.

Interface URI

/plat/res/device/{id}/updateSysGrpAttr

Access Method

HTTP

PUT

Parameters

Path parameter

Device ID.

id

Long integer type. Required. No default value.

Message body

<device>
<sysName>H3C</sysName>
<contact>Hangzhou H3C Technologies Co., Ltd.</contact>
<location>Hangzhou, China</location>
</device>

Element description

device sub-elements

System name.

sysName

String type. Optional. If the element does not exist, the value is not changed. If the element exists,
the value cannot be null.

Contact.

contact

String type. Optional. If the element does not exist, the value is not changed. If the element exists,
the value cannot be null.

Location.

location

String type. Optional. If the element does not exist, the value is not changed. If the element exists,
the value cannot be null.

Returned Result

Status codes

204 (No Content): Success.

404 (Not Found): No data is found with the ID.

409 (Conflict): Failure. See

Error Codes

.”

Message header

HTTP/1.1 204 No Content
...

90

Network Resource Management

Advertising