POST api/actualizarContrasena

Request Information

URI Parameters

None.

Body Parameters

ContrasenaRQT
NameDescriptionTypeAdditional information
IDUser

integer

None.

OldPass

string

None.

NewPass

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDUser": 1,
  "OldPass": "sample string 2",
  "NewPass": "sample string 3"
}

text/xml

Sample:
<ContrasenaRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <IDUser>1</IDUser>
  <NewPass>sample string 3</NewPass>
  <OldPass>sample string 2</OldPass>
</ContrasenaRQT>

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 'ContrasenaRQT'.

Response Information

Resource Description

MsjRPS
NameDescriptionTypeAdditional information
Cod

integer

None.

Msj

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Cod": 1,
  "Msj": "sample string 2"
}

text/xml

Sample:
<MsjRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Cod>1</Cod>
  <Msj>sample string 2</Msj>
</MsjRPS>