GET api/Testing/SendVerificationOTPAsync/{countryISOCode}/{phoneNumber}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| countryISOCode | string |
Required |
|
| phoneNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
SendOTPResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ReferenceId | string |
None. |
|
| VerificationId | string |
None. |
|
| CountryISOCode | string |
None. |
|
| PhoneNumber | string |
None. |
|
| Template | string |
None. |
|
| Timeout | integer |
None. |
|
| StatusUrl | string |
None. |
|
| ReportUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ReferenceId": "sample string 1",
"VerificationId": "sample string 2",
"CountryISOCode": "sample string 3",
"PhoneNumber": "sample string 4",
"Template": "sample string 5",
"Timeout": 6,
"StatusUrl": "sample string 7",
"ReportUrl": "sample string 8"
}
application/xml, text/xml
Sample:
<SendOTPResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Plugin.SmsSender"> <CountryISOCode>sample string 3</CountryISOCode> <PhoneNumber>sample string 4</PhoneNumber> <ReferenceId>sample string 1</ReferenceId> <ReportUrl>sample string 8</ReportUrl> <StatusUrl>sample string 7</StatusUrl> <Template>sample string 5</Template> <Timeout>6</Timeout> <VerificationId>sample string 2</VerificationId> </SendOTPResponse>