POST api/Donor/UpdateDonorEmailByOTP
this Api for Verify OTP To Change Email . header --> Key : This variable is confirmed by the access process
Request Information
URI Parameters
None.
Body Parameters
APIAuthOTPChangeEmailModels| Name | Description | Type | Additional information |
|---|---|---|---|
| VerificationCode | string |
None. |
|
| NewEmail | string |
None. |
Parameter Information
model
| Property | Description |
|---|---|
| VerificationCode (String) | |
| NewEmail (String) |
Request Formats
application/json, text/json
Sample:
{
"VerificationCode": "sample string 1",
"NewEmail": "sample string 2"
}
application/xml, text/xml
Sample:
<APIAuthOTPChangeEmailModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Services.Models"> <NewEmail>sample string 2</NewEmail> <VerificationCode>sample string 1</VerificationCode> </APIAuthOTPChangeEmailModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |
Parameter Information
model
| Property | Description |
|---|---|
| VerificationCode (String) | |
| NewEmail (String) |