beautypg.com

Add user, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

background image

Add User

Add a user with specified information.

Interface URI

/user

Access Method

HTTP

POST

Message body


wanger
wanger001

Shanghai

02088784567
[email protected]
1
1

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.

email

String type. Optional. The default value is empty.

Returned Result

Status codes

201 (Created): Success.

409 (Conflict): Failure. See

Error Codes

.”

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