POST Email
Request Information
URI Parameters
None.
Body Parameters
EmailTemplateName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
FromAddress | string |
None. |
|
ToAddress | string |
None. |
|
Subject | string |
None. |
|
IsBodyHtml | boolean |
None. |
|
BodyHeader | string |
None. |
|
Body | string |
None. |
|
BodyFooter | string |
None. |
|
Bcc | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "FromAddress": "sample string 2", "ToAddress": "sample string 3", "Subject": "sample string 4", "IsBodyHtml": true, "BodyHeader": "sample string 6", "Body": "sample string 7", "BodyFooter": "sample string 8", "Bcc": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<EmailTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VHCSAPIModels.Models"> <Bcc xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Bcc> <Body>sample string 7</Body> <BodyFooter>sample string 8</BodyFooter> <BodyHeader>sample string 6</BodyHeader> <FromAddress>sample string 2</FromAddress> <ID>1</ID> <IsBodyHtml>true</IsBodyHtml> <Subject>sample string 4</Subject> <ToAddress>sample string 3</ToAddress> </EmailTemplate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.