POST api/actualizarContrasena
Request Information
URI Parameters
None.
Body Parameters
ContrasenaRQTName | Description | Type | Additional 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:
Response Information
Resource Description
MsjRPSName | Description | Type | Additional 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>