POST api/v1/authenticatorv1/PreAuthenticator

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GetPreModifyAuthenticatorResultDto
NameDescriptionTypeAdditional information
Status

integer

None.

CodeInfo

GoogleAuthenticatorDataDto

None.

Message

string

None.

Response Formats

application/json

Sample:

Sample not available.

application/xml

Sample:
<GetPreModifyAuthenticatorResultDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Status>1</Status>
  <CodeInfo>
    <Secret>sample string 1</Secret>
    <TotpUrl>sample string 2</TotpUrl>
  </CodeInfo>
  <Message>sample string 2</Message>
</GetPreModifyAuthenticatorResultDto>

text/json

Sample:
{
  "Status": 1,
  "CodeInfo": {
    "Secret": "sample string 1",
    "TotpUrl": "sample string 2"
  },
  "Message": "sample string 2"
}

text/xml

Sample:
<GetPreModifyAuthenticatorResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Others.GoogleAuthenticator">
  <CodeInfo>
    <Secret>sample string 1</Secret>
    <TotpUrl>sample string 2</TotpUrl>
  </CodeInfo>
  <Message>sample string 2</Message>
  <Status>1</Status>
</GetPreModifyAuthenticatorResultDto>