POST api/sendmail

Request Information

URI Parameters

None.

Body Parameters

SendMailReq
NameDescriptionTypeAdditional information
From

string

None.

SenderName

string

None.

Subject

string

None.

Body

string

None.

Request Formats

application/json, text/json

Sample:
{
  "From": "sample string 1",
  "SenderName": "sample string 2",
  "Subject": "sample string 3",
  "Body": "sample string 4"
}

application/xml, text/xml

Sample:
<SendMailReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetraAPI.Controllers">
  <Body>sample string 4</Body>
  <From>sample string 1</From>
  <SenderName>sample string 2</SenderName>
  <Subject>sample string 3</Subject>
</SendMailReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.