POST api/TwoFactor/AddTwoFactorUserVerification

Request Information

URI Parameters

None.

Body Parameters

AddTwoFactorUserVerificationRequest
NameDescriptionTypeAdditional 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": "69e41d1b-2aa2-45e5-8541-57857e3202db",
  "IsGsmVerified": true,
  "IsTwoFactor": true,
  "GsmVerifiedDate": "2025-05-23T20:40:33.8141738+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-05-23T20:40:33.8141738+03:00</GsmVerifiedDate>
  <IsGsmVerified>true</IsGsmVerified>
  <IsTwoFactor>true</IsTwoFactor>
  <UserId>69e41d1b-2aa2-45e5-8541-57857e3202db</UserId>
</AddTwoFactorUserVerificationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddTwoFactorUserVerificationResponse
NameDescriptionTypeAdditional 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>