PUT UserAtionetProfileChangePassword/{id}

Updates the user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the user.

globally unique identifier

Required

Body Parameters

The new data of the user.

UserChangePasswordDto
NameDescriptionTypeAdditional 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.

UserAtionetProfileWidgetDto
NameDescriptionTypeAdditional 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>