POST api/TwoFactor/AddTwoFactorUserVerification
Request Information
URI Parameters
None.
Body Parameters
AddTwoFactorUserVerificationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| IsGsmVerified | boolean |
None. |
|
| IsTwoFactor | boolean |
None. |
|
| GsmVerifiedDate | date |
None. |
|
| GsmNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "e68daaf6-bffe-409e-adb1-d1401e072cf6",
"IsGsmVerified": true,
"IsTwoFactor": true,
"GsmVerifiedDate": "2025-10-30T21:00:48.0676828+03:00",
"GsmNumber": "sample string 4"
}
application/xml, text/xml
Sample:
<AddTwoFactorUserVerificationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto"> <GsmNumber>sample string 4</GsmNumber> <GsmVerifiedDate>2025-10-30T21:00:48.0676828+03:00</GsmVerifiedDate> <IsGsmVerified>true</IsGsmVerified> <IsTwoFactor>true</IsTwoFactor> <UserId>e68daaf6-bffe-409e-adb1-d1401e072cf6</UserId> </AddTwoFactorUserVerificationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddTwoFactorUserVerificationResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1
}
application/xml, text/xml
Sample:
<AddTwoFactorUserVerificationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response"> <Id>1</Id> </AddTwoFactorUserVerificationResponse>