POST api/Aadhar/GetOtp?Token={Token}&id_number={id_number}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Token

string

Required

id_number

string

Required

Body Parameters

None.

Response Information

Resource Description

AadharOtpResponse
NameDescriptionTypeAdditional information
statuscode

integer

None.

status

string

None.

message

string

None.

data

AadharOtpData

None.

Response Formats

application/json, text/json

Sample:
{
  "statuscode": 1,
  "status": "sample string 2",
  "message": "sample string 3",
  "data": {
    "client_id": "sample string 1",
    "otp_sent": true,
    "if_number": true,
    "valid_aadhaar": true,
    "status": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<AadharController.AadharOtpResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Wwsoapi.Controllers">
  <data>
    <client_id>sample string 1</client_id>
    <if_number>true</if_number>
    <otp_sent>true</otp_sent>
    <status>sample string 5</status>
    <valid_aadhaar>true</valid_aadhaar>
  </data>
  <message>sample string 3</message>
  <status>sample string 2</status>
  <statuscode>1</statuscode>
</AadharController.AadharOtpResponse>