POST api/ResetPassword/getresetpassword

Request Information

URI Parameters

None.

Body Parameters

GetResetPasswordReceivedDataModels
NameDescriptionTypeAdditional information
handphone

string

None.

mobile_token

string

None.

old_password

string

None.

new_password

string

None.

confirm_password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "handphone": "sample string 1",
  "mobile_token": "sample string 2",
  "old_password": "sample string 3",
  "new_password": "sample string 4",
  "confirm_password": "sample string 5"
}

application/xml, text/xml

Sample:
<GetResetPasswordReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ResetPasswordIntegrator.ReceivedDataModels">
  <confirm_password>sample string 5</confirm_password>
  <handphone>sample string 1</handphone>
  <mobile_token>sample string 2</mobile_token>
  <new_password>sample string 4</new_password>
  <old_password>sample string 3</old_password>
</GetResetPasswordReceivedDataModels>

multipart/form-data

Sample:
<GetResetPasswordReceivedDataModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ResetPasswordIntegrator.ReceivedDataModels"><confirm_password>sample string 5</confirm_password><handphone>sample string 1</handphone><mobile_token>sample string 2</mobile_token><new_password>sample string 4</new_password><old_password>sample string 3</old_password></GetResetPasswordReceivedDataModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetResetPasswordBaseTreeModels
NameDescriptionTypeAdditional information
message

string

None.

success

boolean

None.

data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "success": true,
  "data": "sample string 3"
}

application/xml, text/xml

Sample:
<GetResetPasswordBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ResetPasswordIntegrator.BaseTreeModels">
  <data>sample string 3</data>
  <message>sample string 1</message>
  <success>true</success>
</GetResetPasswordBaseTreeModels>

multipart/form-data

Sample:
<GetResetPasswordBaseTreeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FarmerPublicAPI.Models.ResetPasswordIntegrator.BaseTreeModels"><data>sample string 3</data><message>sample string 1</message><success>true</success></GetResetPasswordBaseTreeModels>