POST api/Notification/SendMail

Request Information

URI Parameters

None.

Body Parameters

SendMail
NameDescriptionTypeAdditional information
Header

string

None.

MailObject

MailObject

None.

Request Formats

application/json, text/json

Sample:
{
  "Header": "sample string 1",
  "MailObject": {
    "ToName": "sample string 1",
    "ToEmail": "sample string 2",
    "Subject": "sample string 3",
    "MailBody": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<SendMail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject">
  <Header>sample string 1</Header>
  <MailObject>
    <MailBody>sample string 4</MailBody>
    <Subject>sample string 3</Subject>
    <ToEmail>sample string 2</ToEmail>
    <ToName>sample string 1</ToName>
  </MailObject>
</SendMail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ADResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ADResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tesla.FbnIntegrator.CustomObject">
  <Message>sample string 2</Message>
  <Success>true</Success>
</ADResponse>