PUT UserAtionetProfileChangePassword/{id}
Updates the user.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the user. |
globally unique identifier |
Required |
Body Parameters
The new data of the user.
UserChangePasswordDtoName | Description | Type | Additional information |
---|---|---|---|
OldPassword | string |
None. |
|
NewPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "OldPassword": "sample string 1", "NewPassword": "sample string 2" }
application/xml, text/xml
Sample:
<UserChangePasswordDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <NewPassword>sample string 2</NewPassword> <OldPassword>sample string 1</OldPassword> </UserChangePasswordDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action.
UserAtionetProfileWidgetDtoName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
Widgets | Collection of UserAtionetWidgetDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "UserId": "c876eb70-4be8-440d-bf42-18f43bd36f78", "Widgets": [ { "Widget": 64, "Name": "sample string 2", "Selected": true }, { "Widget": 64, "Name": "sample string 2", "Selected": true } ] }
application/xml, text/xml
Sample:
<UserAtionetProfileWidgetDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <UserId>c876eb70-4be8-440d-bf42-18f43bd36f78</UserId> <Widgets> <UserAtionetWidgetDto> <Name>sample string 2</Name> <Selected>true</Selected> <Widget>64</Widget> </UserAtionetWidgetDto> <UserAtionetWidgetDto> <Name>sample string 2</Name> <Selected>true</Selected> <Widget>64</Widget> </UserAtionetWidgetDto> </Widgets> </UserAtionetProfileWidgetDto>