POST api/Usuario/CambiarClave

Request Information

URI Parameters

None.

Body Parameters

CambiarClaveRequestVM
NameDescriptionTypeAdditional information
ClaveAnterior

string

None.

NuevaClave

string

None.

EntityID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ClaveAnterior": "sample string 1",
  "NuevaClave": "sample string 2",
  "EntityID": 3
}

application/xml, text/xml

Sample:
<CambiarClaveRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KITS.Arci.ViewModels.ViewModels">
  <EntityID xmlns="http://schemas.datacontract.org/2004/07/KITS.Arci.ViewModels">3</EntityID>
  <ClaveAnterior>sample string 1</ClaveAnterior>
  <NuevaClave>sample string 2</NuevaClave>
</CambiarClaveRequestVM>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CambiarClaveRequestVM'.

Response Information

Resource Description

AdapterResponseVMOfCambiarClaveResponseVM
NameDescriptionTypeAdditional information
Alerts

Collection of Object

None.

ResponseVM

CambiarClaveResponseVM

None.

Response Formats

application/json, text/json

Sample:
{
  "Alerts": null,
  "ResponseVM": {
    "Resultado": true,
    "EntityID": 2
  }
}

application/xml, text/xml

Sample:
<AdapterResponseVMOfCambiarClaveResponseVM5phF_SRiQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FwKits.Core.Presentation.Adapter.Base">
  <Alerts xmlns:d2p1="http://schemas.datacontract.org/2004/07/FwKits.Common.Validations" i:nil="true" />
  <ResponseVM xmlns:d2p1="http://schemas.datacontract.org/2004/07/KITS.Arci.ViewModels.ViewModels">
    <EntityID xmlns="http://schemas.datacontract.org/2004/07/KITS.Arci.ViewModels">2</EntityID>
    <d2p1:Resultado>true</d2p1:Resultado>
  </ResponseVM>
</AdapterResponseVMOfCambiarClaveResponseVM5phF_SRiQ>