Example, Request, Response – HP Intelligent Management Center Licenses User Manual

Page 182

Advertising
background image

user sub-elements

Telephone number.

phone

String type.

Email address.

email

String type.

Activate self-service account or not. 1 for active. 2 for inactive.

ssType

Integer type.

Example

Query information about the user with ID 1.

Request

GET http://imc_host:8080/imcrs/user/1
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<user>
<id>1</id>
<userName>zhangsan</userName>
<certification>zhangsan001</certification>
<address>Bejing</address>
<phone>01088101023</phone>
<email>[email protected]</email>
<ssType>2</ssType>
</user>

182

User Management

Advertising