POST api/EnviarEmail

Request Information

URI Parameters

None.

Body Parameters

Email
NameDescriptionTypeAdditional information
TO

string

None.

From

string

None.

Assunto

string

None.

Body

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TO": "sample string 1",
  "From": "sample string 2",
  "Assunto": "sample string 3",
  "Body": "sample string 4"
}

application/xml, text/xml

Sample:
<Email xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.DTO">
  <Assunto>sample string 3</Assunto>
  <Body>sample string 4</Body>
  <From>sample string 2</From>
  <TO>sample string 1</TO>
</Email>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

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