POST api/ForgotUsernameEmail

Request Information

URI Parameters

None.

Body Parameters

OtpModel
NameDescriptionTypeAdditional information
MobileNumber

integer

Matching regular expression pattern: ([0-9]{10})$

EmailID

string

Matching regular expression pattern: ([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$

Request Formats

application/json, text/json

Sample:
{
  "MobileNumber": 1,
  "EmailID": "sample string 1"
}

application/xml, text/xml

Sample:
<OtpModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models">
  <EmailID>sample string 1</EmailID>
  <MobileNumber>1</MobileNumber>
</OtpModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.