POST api/2fa/send-otp
h1>
Request Information
URI Parameters
None.
Body Parameters
DtoSendOtpRequest
Name Description Type Additional information
UserId
integer
None.
Method
string
None.
IsEnable
integer
None.
ContactValue
string
None.
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"Method": "sample string 2",
"IsEnable": 3,
"ContactValue": "sample string 4"
}
application/xml, text/xml
Sample:
<DtoSendOtpRequest 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 4</ContactValue>
<IsEnable>3</IsEnable>
<Method>sample string 2</Method>
<UserId>1</UserId>
</DtoSendOtpRequest>
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
DtoSendOtpRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| Method | string |
None. |
|
| IsEnable | integer |
None. |
|
| ContactValue | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"Method": "sample string 2",
"IsEnable": 3,
"ContactValue": "sample string 4"
}
application/xml, text/xml
Sample:
<DtoSendOtpRequest 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 4</ContactValue> <IsEnable>3</IsEnable> <Method>sample string 2</Method> <UserId>1</UserId> </DtoSendOtpRequest>
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.