POST api/SendEmailRequest
Request Information
URI Parameters
None.
Body Parameters
SendEmailRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| TemplateId | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| SuperAffiliateId | globally unique identifier |
None. |
|
| Status | integer |
None. |
|
| EmailAddress | string |
None. |
|
| Title | string |
None. |
|
| Body | string |
None. |
|
| DataJson | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "b0ca2728-4838-4d58-afbc-5102716204f3",
"template-id": "668789db-3b16-44bf-ad68-1ddf4b267519",
"customer-id": "ca9a7e50-1ed3-45fe-a106-ee22cb807d04",
"super-affiliate-id": "5abde66c-ec80-4003-b920-80c72fef0b67",
"status": 3,
"email-address": "sample string 4",
"title": "sample string 5",
"body": "sample string 6",
"data-json": "sample string 7"
}
application/xml, text/xml
Sample:
<SendEmailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caprica.Models"> <Body>sample string 6</Body> <CustomerId>ca9a7e50-1ed3-45fe-a106-ee22cb807d04</CustomerId> <DataJson>sample string 7</DataJson> <EmailAddress>sample string 4</EmailAddress> <Id>b0ca2728-4838-4d58-afbc-5102716204f3</Id> <Status>3</Status> <SuperAffiliateId>5abde66c-ec80-4003-b920-80c72fef0b67</SuperAffiliateId> <TemplateId>668789db-3b16-44bf-ad68-1ddf4b267519</TemplateId> <Title>sample string 5</Title> </SendEmailRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |