POST api/v2/generateotp
This Api Generate an OTP and send to the given Email
Request Information
URI Parameters
None.
Body Parameters
mFARequestModelInfo
MFARequestModelInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| UserEmailID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserEmailID": 1
}
application/xml, text/xml
Sample:
<MFARequestModelInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2Domain.MFA"> <UserEmailID>1</UserEmailID> </MFARequestModelInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OtpGenerateResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResultCode | integer |
None. |
|
| ResultData | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResultCode": 1,
"ResultData": "sample string 2"
}
application/xml, text/xml
Sample:
<OtpGenerateResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2Domain.MFA"> <ResultCode>1</ResultCode> <ResultData>sample string 2</ResultData> </OtpGenerateResponseModel>