Returned result, Example, Returned result example – HP Intelligent Management Center Licenses User Manual

Page 197

Advertising
background image

userAdditionalInfo sub-elements

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

Display pre-registered users or not.

showForPreRegisterUser

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

Option elements.

options

Element type. Required when fieldType is 5. No default value.

Option ID.

options/id

Long integer type. Required. No default value.

Option value.

options/optionsValue

String type. Required. No default value.

Returned Result

Status codes

204 (No Content): Success.

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

409 (Conflict): Failure. See

Error Codes

.”

Example

Modify the user additional information definition with ID 1.

Request

PUT http://imc_host:8080/imcrs/user/additionalInfo/1
accept: application/xml
...
<userAdditionalInfo>
<fieldName>job</fieldName>
<required>true</required>
<fieldType>3</fieldType>
<fieldLen>12</fieldLen>
<defaultValue>google</defaultValue>
<priority>2</priority>
<showForPreRegisterUser>false</showForPreRegisterUser>
</userAdditionalInfo>

Response

HTTP/1.1 204 No Content
...

Modify User Additional Information Definition

197

Advertising