GET api/RegistrationWebAPI/GenerateAndSendOTP?mobile_number={mobile_number}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
mobile_number | string |
Required |
Body Parameters
None.
Response Information
Resource Description
OTPResponseName | Description | Type | Additional information |
---|---|---|---|
OTPNumber | string |
None. |
|
MobileNumber | string |
None. |
|
SMSStatus | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "OTPNumber": "sample string 1", "MobileNumber": "sample string 2", "SMSStatus": true }
text/html
Sample:
{"OTPNumber":"sample string 1","MobileNumber":"sample string 2","SMSStatus":true}
application/xml, text/xml
Sample:
<OTPResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nishadi_DataLayer.ViewModel"> <MobileNumber>sample string 2</MobileNumber> <OTPNumber>sample string 1</OTPNumber> <SMSStatus>true</SMSStatus> </OTPResponse>