POST v1/MFA/GenerateQRCode
Request Information
URI Parameters
None.
Body Parameters
TotpRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
None. |
|
| Code | string |
None. |
|
| 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": "ef4de84e-98cc-4e05-89b9-4e126b632d7a"
}
application/octet-stream
Sample:
{"Username":"sample string 1","Code":"sample string 2","Email":"sample string 3","Guid":"ef4de84e-98cc-4e05-89b9-4e126b632d7a"}
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>ef4de84e-98cc-4e05-89b9-4e126b632d7a</Guid> <Username>sample string 1</Username> </TotpRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TotpViewModel| Name | Description | Type | Additional 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>