POST api/TwoFactor/AddTwoFactorUserVerification
Request Information
URI Parameters
None.
Body Parameters
AddTwoFactorUserVerificationRequestName | 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": "7f2b4d4d-bb39-406e-9fce-51a78fd21201", "IsGsmVerified": true, "IsTwoFactor": true, "GsmVerifiedDate": "2025-09-14T21:26:37.1806751+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-09-14T21:26:37.1806751+03:00</GsmVerifiedDate> <IsGsmVerified>true</IsGsmVerified> <IsTwoFactor>true</IsTwoFactor> <UserId>7f2b4d4d-bb39-406e-9fce-51a78fd21201</UserId> </AddTwoFactorUserVerificationRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddTwoFactorUserVerificationResponseName | 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>