POST api/Masters/VerifyAadhaarOtp

Request Information

URI Parameters

None.

Body Parameters

VerifyOtpRequest
NameDescriptionTypeAdditional information
Otp

string

None.

TxnId

string

None.

Mobile

string

None.

authData

AuthData

None.

Request Formats

application/json, text/json

Sample:
{
  "Otp": "sample string 1",
  "TxnId": "sample string 2",
  "Mobile": "sample string 3",
  "authData": {
    "authMethods": [
      "sample string 1",
      "sample string 2"
    ],
    "otp": {
      "timeStamp": "sample string 1",
      "txnId": "sample string 2",
      "otpValue": "sample string 3"
    }
  }
}

application/xml, text/xml

Sample:
<MastersController.VerifyOtpRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/akwiecommApi.Controllers">
  <Mobile>sample string 3</Mobile>
  <Otp>sample string 1</Otp>
  <TxnId>sample string 2</TxnId>
  <authData>
    <authMethods xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </authMethods>
    <otp>
      <otpValue>sample string 3</otpValue>
      <timeStamp>sample string 1</timeStamp>
      <txnId>sample string 2</txnId>
    </otp>
  </authData>
</MastersController.VerifyOtpRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VerifyOtpRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.