POST api/KbsGeneric/TestEmail

Request Information

URI Parameters

None.

Body Parameters

KbsTestEmail
NameDescriptionTypeAdditional information
to

string

None.

subject

string

None.

body

string

None.

Request Formats

application/json, text/json

Sample:
{
  "to": "sample string 1",
  "subject": "sample string 2",
  "body": "sample string 3"
}

application/xml, text/xml

Sample:
<KbsTestEmail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kbs385.Data">
  <body>sample string 3</body>
  <subject>sample string 2</subject>
  <to>sample string 1</to>
</KbsTestEmail>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.