Modify information about a user with the specified ID.
/uam/acmBasicUser/{id}
Path parameters | |
---|---|
id |
User ID.
Long integer type. Required. No default value. |
<user>
<userName>wanger</userName>
<certification>wanger001</certification>
<address>Shanghai</address>
<phone>02088784567</phone>
<email>wanger@xxx.com</email>
</user>
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 address.
String type. Optional. If the element does not exist, the value is not changed. If the element exists, the value cannot be null. |
Modify information about the user with ID 2.
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>
HTTP/1.1 204 No Content ...