POST api/auth/SendOtpToExternalLogin
Request Information
URI Parameters
None.
Body Parameters
OtpRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PhoneOrEmail | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PhoneOrEmail": "sample string 1"
}
application/xml, text/xml
Sample:
<OtpRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Customer"> <PhoneOrEmail>sample string 1</PhoneOrEmail> </OtpRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OtpSentResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DoesExist | boolean |
None. |
|
| OtpSent | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"DoesExist": true,
"OtpSent": true,
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<OtpSentResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Customer"> <DoesExist>true</DoesExist> <Message>sample string 3</Message> <OtpSent>true</OtpSent> </OtpSentResponseModel>