POST Authentication/PasswordRecovery

Request Information

URI Parameters

None.

Body Parameters

PasswordRecoveryRequest
NameDescriptionTypeAdditional information
PhonePrefix

string

None.

Phone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PhonePrefix": "sample string 1",
  "Phone": "sample string 2"
}

application/xml, text/xml

Sample:
<AuthenticationViewModel.PasswordRecoveryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HizirYetisAPI.ViewModels">
  <Phone>sample string 2</Phone>
  <PhonePrefix>sample string 1</PhonePrefix>
</AuthenticationViewModel.PasswordRecoveryRequest>

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

Response Information

Resource Description

GeneralResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HizirYetisAPI.ViewModels">
  <Message>sample string 2</Message>
  <Success>true</Success>
</GeneralResponse>