Example 2 – HP Intelligent Management Center Licenses User Manual
Page 195
Advertising

Example 2
Add a user additional information definition of the integer type.
Request
POST http://localhost:8080/imcrs/user/additionalInfo
accept: application/xml
Content-Type: application/xml; charset=UTF-8
...
<userAdditionalInfo>
<id>2</id>
<fieldName>age</fieldName>
<required>true</required>
<fieldType>1</fieldType>
<fieldMax>100</fieldMax>
<fieldMin>20</fieldMin>
<defaultValue>25</defaultValue>
<priority>2</priority>
<showForPreRegisterUser>false</showForPreRegisterUser>
</userAdditionalInfo>
Response
HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/user/additionalInfo/2
Add User Additional Information Definition 195
Advertising
This manual is related to the following products: