POST api/EmailWithTemplate/SendMail
Request Information
URI Parameters
None.
Body Parameters
CustomEmail| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderID | globally unique identifier |
None. |
|
| EmailType | integer |
None. |
|
| Recipient | string |
None. |
|
| to | Collection of Recipient |
None. |
|
| attachments | Collection of string |
None. |
|
| SenderEmail | string |
None. |
|
| CommercialID | globally unique identifier |
None. |
|
| Sender | string |
None. |
|
| Comment | string |
None. |
|
| CallbackType | integer |
None. |
|
| NumberOfDaysExtraWork | integer |
None. |
|
| CashAmountReceived | decimal number |
None. |
|
| ChangeInfoMessage | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderID": "c68753e5-2081-4f03-967f-2e7140acf1c8",
"EmailType": 2,
"Recipient": "sample string 3",
"to": [
{
"$id": "2",
"Email": "sample string 1",
"Password": "sample string 2",
"TypeRecipient": 3,
"Login": "sample string 4",
"UserID": "cb8e9a55-54ed-4fdc-a383-2064627c98a0"
},
{
"$ref": "2"
}
],
"attachments": [
"sample string 1",
"sample string 2"
],
"SenderEmail": "sample string 4",
"CommercialID": "270d4d44-354b-430b-b414-c2c46f678395",
"Sender": "sample string 6",
"Comment": "sample string 7",
"CallbackType": 8,
"NumberOfDaysExtraWork": 9,
"CashAmountReceived": 10.0,
"ChangeInfoMessage": "sample string 11"
}
text/html
Sample:
{"$id":"1","OrderID":"c68753e5-2081-4f03-967f-2e7140acf1c8","EmailType":2,"Recipient":"sample string 3","to":[{"$id":"2","Email":"sample string 1","Password":"sample string 2","TypeRecipient":3,"Login":"sample string 4","UserID":"cb8e9a55-54ed-4fdc-a383-2064627c98a0"},{"$ref":"2"}],"attachments":["sample string 1","sample string 2"],"SenderEmail":"sample string 4","CommercialID":"270d4d44-354b-430b-b414-c2c46f678395","Sender":"sample string 6","Comment":"sample string 7","CallbackType":8,"NumberOfDaysExtraWork":9,"CashAmountReceived":10.0,"ChangeInfoMessage":"sample string 11"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.