POST api/BOS/AadhaarSendOtp

Request Information

URI Parameters

None.

Body Parameters

SendOTPRequestModel
NameDescriptionTypeAdditional information
aadhaarNumber

string

None.

latitude

string

None.

longitude

string

None.

consent

string

None.

RegistrationID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "aadhaarNumber": "sample string 1",
  "latitude": "sample string 2",
  "longitude": "sample string 3",
  "consent": "sample string 4",
  "RegistrationID": "sample string 5"
}

text/xml

Sample:
<SendOTPRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOSApiIntegration.Models">
  <RegistrationID>sample string 5</RegistrationID>
  <aadhaarNumber>sample string 1</aadhaarNumber>
  <consent>sample string 4</consent>
  <latitude>sample string 2</latitude>
  <longitude>sample string 3</longitude>
</SendOTPRequestModel>

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 'SendOTPRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.