POST api/Volunteer/SendOTP

Request Information

URI Parameters

None.

Body Parameters

OTPViewModel
NameDescriptionTypeAdditional information
MobileNumber

string

Required

Data type: PhoneNumber

Matching regular expression pattern: ^[6-9]{1}[0-9]{9}$

OTP

string

Required

Matching regular expression pattern: ^[0-9]{6}$

Name

string

Required

Request Formats

application/json, text/json, application/problem+json

Sample:
{
  "MobileNumber": "sample string 1",
  "OTP": "sample string 2",
  "Name": "sample string 3"
}

application/xml, text/xml

Sample:
<OTPViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALProject.ViewModel.Learner">
  <MobileNumber>sample string 1</MobileNumber>
  <Name>sample string 3</Name>
  <OTP>sample string 2</OTP>
</OTPViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.