POST api/EmailTester

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
emailTest
Documentation for 'emailTest'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "to": "sample string 1",
  "from": "sample string 2",
  "subject": "sample string 3",
  "message": "sample string 4"
}

text/html

Sample:
{"to":"sample string 1","from":"sample string 2","subject":"sample string 3","message":"sample string 4"}

application/xml, text/xml

Sample:
<EmailTest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Amity.Api.Models">
  <from>sample string 2</from>
  <message>sample string 4</message>
  <subject>sample string 3</subject>
  <to>sample string 1</to>
</EmailTest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

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