POST api/esim/auth/SendESimOtp
Request Information
URI Parameters
None.
Body Parameters
ESimOtpRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PhoneNumber | string |
None. |
|
| EmailAddress | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PhoneNumber": "sample string 1",
"EmailAddress": "sample string 2"
}
application/xml, text/xml
Sample:
<ESimOtpRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Controllers.ESim"> <EmailAddress>sample string 2</EmailAddress> <PhoneNumber>sample string 1</PhoneNumber> </ESimOtpRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ESimOtpResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<ESimOtpResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Controllers.ESim"> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> </ESimOtpResponseModel>