POST api/OGA/SendOTPEmail

Request Information

URI Parameters

None.

Body Parameters

OTPDTO
NameDescriptionTypeAdditional information
Username

string

None.

OTP

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "OTP": "sample string 2"
}

application/xml, text/xml

Sample:
<OTPDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Controllers">
  <OTP>sample string 2</OTP>
  <Username>sample string 1</Username>
</OTPDTO>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>