POST api/2fa/verify-otp
h1>
Request Information
URI Parameters
None.
Body Parameters
DtoVerifyOtpRequest
Name Description Type Additional information
UserId
integer
None.
ContactValue
string
None.
OtpCode
string
None.
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"ContactValue": "sample string 2",
"OtpCode": "sample string 3"
}
application/xml, text/xml
Sample:
<DtoVerifyOtpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.UserManagement.Services.Interfaces.Request.Dto.TwoFactor">
<ContactValue>sample string 2</ContactValue>
<OtpCode>sample string 3</OtpCode>
<UserId>1</UserId>
</DtoVerifyOtpRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResult None.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.
Request Information
URI Parameters
None.
Body Parameters
DtoVerifyOtpRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| ContactValue | string |
None. |
|
| OtpCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"ContactValue": "sample string 2",
"OtpCode": "sample string 3"
}
application/xml, text/xml
Sample:
<DtoVerifyOtpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.UserManagement.Services.Interfaces.Request.Dto.TwoFactor"> <ContactValue>sample string 2</ContactValue> <OtpCode>sample string 3</OtpCode> <UserId>1</UserId> </DtoVerifyOtpRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.