POST api/v2/validateotp

This Api is for validate the OTP which has sent to the given Email

Request Information

URI Parameters

None.

Body Parameters

mFAOtpCode

ValidateMfaOtpRequestModelInfo
NameDescriptionTypeAdditional information
OTP

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OTP": "sample string 1"
}

application/xml, text/xml

Sample:
<ValidateMfaOtpRequestModelInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2Domain.MFA">
  <OTP>sample string 1</OTP>
</ValidateMfaOtpRequestModelInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OtpValidateResponseModel
NameDescriptionTypeAdditional information
Attempts

integer

None.

ResultCode

integer

None.

ResultData

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Attempts": 1,
  "ResultCode": 2,
  "ResultData": "sample string 3"
}

application/xml, text/xml

Sample:
<OtpValidateResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TC2Domain.MFA">
  <ResultCode>2</ResultCode>
  <ResultData>sample string 3</ResultData>
  <Attempts>1</Attempts>
</OtpValidateResponseModel>