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": "5d4bad6a-86e5-4706-96ab-319cc44678eb",
"template-id": "59f91fe9-c2dd-4b2e-9899-886f0ed579fd",
"customer-id": "dac7aa60-22cb-4ad4-a77b-99f66b006acb",
"super-affiliate-id": "33b964ad-7fb9-4f92-8a91-e04bc85dc09a",
"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>dac7aa60-22cb-4ad4-a77b-99f66b006acb</CustomerId> <DataJson>sample string 7</DataJson> <EmailAddress>sample string 4</EmailAddress> <Id>5d4bad6a-86e5-4706-96ab-319cc44678eb</Id> <Status>3</Status> <SuperAffiliateId>33b964ad-7fb9-4f92-8a91-e04bc85dc09a</SuperAffiliateId> <TemplateId>59f91fe9-c2dd-4b2e-9899-886f0ed579fd</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. |