POST api/SendMail

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objSendMail
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "StudentName": "sample string 1",
  "MobileNo": "sample string 2",
  "Email": "sample string 3",
  "Address": "sample string 4",
  "Course": "sample string 5",
  "Query": "sample string 6"
}

text/html

Sample:
{"StudentName":"sample string 1","MobileNo":"sample string 2","Email":"sample string 3","Address":"sample string 4","Course":"sample string 5","Query":"sample string 6"}

application/xml, text/xml

Sample:
<SendMailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Settings">
  <Address>sample string 4</Address>
  <Course>sample string 5</Course>
  <Email>sample string 3</Email>
  <MobileNo>sample string 2</MobileNo>
  <Query>sample string 6</Query>
  <StudentName>sample string 1</StudentName>
</SendMailViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SendMailViewModel'.