Add user, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual
Page 183: Returned result, Interface uri access method returned result
Add User
Add a user with specified information.
Interface URI
/user
Access Method
HTTP
POST
Message body
Shanghai
Element description
user sub-elements
User name.
userName
String type. Required. No default value.
Identity number.
certification
String type. Required. No default value.
Contact address.
address
String type. Optional. The default value is empty.
Telephone number.
phone
String type. Optional. The default value is empty.
Email address.
String type. Optional. The default value is empty.
Returned Result
Status codes
•
201 (Created): Success.
•
409 (Conflict): Failure. See “
.”
Message header
If the operation succeeds, the Location field gives the URI of the new resource. No message body
is included.
HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/user/4
Add User 183