POST v1/MFA/GenerateQRCode

Request Information

URI Parameters

None.

Body Parameters

TotpRequestModel
NameDescriptionTypeAdditional information
Username

string

None.

Code

string

None.

Email

string

None.

Guid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Code": "sample string 2",
  "Email": "sample string 3",
  "Guid": "4eb1a845-9f30-4b2f-8228-ad628ecfdfd9"
}

application/octet-stream

Sample:
{"Username":"sample string 1","Code":"sample string 2","Email":"sample string 3","Guid":"4eb1a845-9f30-4b2f-8228-ad628ecfdfd9"}

application/xml, text/xml

Sample:
<TotpRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Security">
  <Code>sample string 2</Code>
  <Email>sample string 3</Email>
  <Guid>4eb1a845-9f30-4b2f-8228-ad628ecfdfd9</Guid>
  <Username>sample string 1</Username>
</TotpRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TotpViewModel
NameDescriptionTypeAdditional information
IsValid

boolean

None.

Code

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsValid": true,
  "Code": "sample string 2"
}

application/octet-stream

Sample:
{"IsValid":true,"Code":"sample string 2"}

application/xml, text/xml

Sample:
<TotpViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Security">
  <Code>sample string 2</Code>
  <IsValid>true</IsValid>
</TotpViewModel>