POST api/v1/Usuario/AlterarSenha

Request Information

URI Parameters

None.

Body Parameters

AlterarSenhaModel
NameDescriptionTypeAdditional information
IdUsuario

integer

None.

SenhaAtual

string

None.

NovaSenha

string

None.

ConfirmacaoSenha

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdUsuario": 1,
  "SenhaAtual": "sample string 2",
  "NovaSenha": "sample string 3",
  "ConfirmacaoSenha": "sample string 4"
}

application/xml, text/xml

Sample:
<AlterarSenhaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CDS.Mobile.Model">
  <ConfirmacaoSenha>sample string 4</ConfirmacaoSenha>
  <IdUsuario>1</IdUsuario>
  <NovaSenha>sample string 3</NovaSenha>
  <SenhaAtual>sample string 2</SenhaAtual>
</AlterarSenhaModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>