Access User View - Access User Management

Modify User

Modify information about a user with the specified ID.

Interface URI

/uam/acmBasicUser/{id}

Access Method

HTTP
PUT
Parameters
Path parameters
id User ID.
Long integer type. Required. No default value.
Message body
<user>
<userName>wanger</userName>
<certification>wanger001</certification>
<address>Shanghai</address>
<phone>02088784567</phone>
<email>wanger@xxx.com</email>
</user>
Element description
user sub-elements
userName User name.
String type. Optional. If the element does not exist, the value is not changed. If the element exists, the value cannot be null.
certification Identity number.
String type. Optional. If the element does not exist, the value is not changed. If the element exists, the value cannot be null.
address Contact address.
String type. Optional. If the element does not exist, the value is not changed. If the element exists, the value cannot be null.
phone Telephone number.
String type. Optional. If the element does not exist, the value is not changed. If the element exists, the value cannot be null.
email Email address.
String type. Optional. If the element does not exist, the value is not changed. If the element exists, the value cannot be null.

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 information about the user with ID 2.

Request
PUT http://inc_host:8080/imcrs/uam/acmBasicUser/2
accept: application/xml
...
<user>
<userName>wanger</userName>
<certification>wanger001</certification>
<address>Shanghai</address>
<phone>02088784567</phone>
<email>wanger@xxx.com</email>
<groupId>1</groupId>
</user>
Response
HTTP/1.1 204 No Content

...