POST LoginController/TwoFactorAuthenticate

Request Information

URI Parameters

None.

Body Parameters

TwoFactorAuthenticationRequest
NameDescriptionTypeAdditional information
PolicyNumber

string

None.

MobileNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyNumber": "sample string 1",
  "MobileNumber": "sample string 2"
}

application/xml, text/xml

Sample:
<TwoFactorAuthenticationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mobile.oneplan.co.za.Models.Request.V2">
  <MobileNumber>sample string 2</MobileNumber>
  <PolicyNumber>sample string 1</PolicyNumber>
</TwoFactorAuthenticationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfTwoFactorAuthenticationResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Entity

TwoFactorAuthenticationResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Entity": {
    "MemberAccountId": "sample string 1",
    "IdNumber": "sample string 2",
    "AuthenticationCode": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<ResponseOfTwoFactorAuthenticationResponsexuc_PTRct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OnePlan.Core">
  <Entity xmlns:d2p1="http://schemas.datacontract.org/2004/07/mobile.oneplan.co.za.Models.Response">
    <d2p1:AuthenticationCode>sample string 3</d2p1:AuthenticationCode>
    <d2p1:IdNumber>sample string 2</d2p1:IdNumber>
    <d2p1:MemberAccountId>sample string 1</d2p1:MemberAccountId>
  </Entity>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ResponseOfTwoFactorAuthenticationResponsexuc_PTRct>