POST api/WebPortal/sendEmail

Request Information

URI Parameters

None.

Body Parameters

WebPortalSendMailDto
NameDescriptionTypeAdditional information
StudentName

string

None.

Mobile

string

None.

Email

string

None.

Remarks

string

None.

BranchKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentName": "sample string 1",
  "Mobile": "sample string 2",
  "Email": "sample string 3",
  "Remarks": "sample string 4",
  "BranchKey": "sample string 5"
}

application/xml, text/xml

Sample:
<WebPortalSendMailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <BranchKey>sample string 5</BranchKey>
  <Email>sample string 3</Email>
  <Mobile>sample string 2</Mobile>
  <Remarks>sample string 4</Remarks>
  <StudentName>sample string 1</StudentName>
</WebPortalSendMailDto>

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 'WebPortalSendMailDto'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>