POST api/Environment/SendEmailAsync_V1

Request Information

URI Parameters

None.

Body Parameters

SendEmailRequest
NameDescriptionTypeAdditional information
ToEmail

string

None.

Subject

string

None.

Message

string

None.

IsHtml

boolean

None.

EmailType

EmailTypes

None.

Request Formats

application/json, text/json

Sample:
{
  "ToEmail": "sample string 1",
  "Subject": "sample string 2",
  "Message": "sample string 3",
  "IsHtml": true,
  "EmailType": 0
}

application/xml, text/xml

Sample:
<SendEmailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Objects.Business.Common">
  <EmailType>OneTimePassword</EmailType>
  <IsHtml>true</IsHtml>
  <Message>sample string 3</Message>
  <Subject>sample string 2</Subject>
  <ToEmail>sample string 1</ToEmail>
</SendEmailRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>