GET api/Email/GetEmailSent?associationId={associationId}&emailSubscriptionTypeId={emailSubscriptionTypeId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| associationId | integer |
Required |
|
| emailSubscriptionTypeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GetEmailSentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | Collection of CWEmailCompose |
None. |
|
| Code | ResponseCode |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseObject": [
{
"EmailComposeId": 1,
"CreateDate": "2025-12-15T18:05:19.8923347+00:00",
"SentDateTimeLocal": "2025-12-15T18:05:19.8923347+00:00",
"Subject": "sample string 3",
"RecipientCount": 4,
"CreatedBy": "sample string 5",
"HasAttachments": true,
"EmailSubscriptionTypeName": "sample string 7",
"EmailSubscriptionTypeId": 8,
"FromEmailAddress": "sample string 9",
"SentCount": 10,
"FailedCount": 11,
"BouncedCount": 12,
"OpenedCount": 13,
"PublishToCW": true,
"NewsTopicId": 1,
"NewsKeywords": "sample string 14",
"ThreadRemainingCount": 1,
"ThreadLastUpdateUTC": "2025-12-15T18:05:19.9079685+00:00",
"DefaultNewsArticleImageId": 1,
"ThumbnailImageUrl": "sample string 15"
},
{
"EmailComposeId": 1,
"CreateDate": "2025-12-15T18:05:19.8923347+00:00",
"SentDateTimeLocal": "2025-12-15T18:05:19.8923347+00:00",
"Subject": "sample string 3",
"RecipientCount": 4,
"CreatedBy": "sample string 5",
"HasAttachments": true,
"EmailSubscriptionTypeName": "sample string 7",
"EmailSubscriptionTypeId": 8,
"FromEmailAddress": "sample string 9",
"SentCount": 10,
"FailedCount": 11,
"BouncedCount": 12,
"OpenedCount": 13,
"PublishToCW": true,
"NewsTopicId": 1,
"NewsKeywords": "sample string 14",
"ThreadRemainingCount": 1,
"ThreadLastUpdateUTC": "2025-12-15T18:05:19.9079685+00:00",
"DefaultNewsArticleImageId": 1,
"ThumbnailImageUrl": "sample string 15"
}
],
"Code": 0,
"Message": "sample string 1"
}
application/xml, text/xml
Sample:
<GetEmailSentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DotGolf.CasualGolf.WebApi.Contracts">
<Code>None</Code>
<Message>sample string 1</Message>
<ResponseObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/DotGolf.Data">
<d2p1:CWEmailCompose>
<d2p1:BouncedCount>12</d2p1:BouncedCount>
<d2p1:CreateDate>2025-12-15T18:05:19.8923347+00:00</d2p1:CreateDate>
<d2p1:CreatedBy>sample string 5</d2p1:CreatedBy>
<d2p1:DefaultNewsArticleImageId>1</d2p1:DefaultNewsArticleImageId>
<d2p1:EmailComposeId>1</d2p1:EmailComposeId>
<d2p1:EmailSubscriptionTypeId>8</d2p1:EmailSubscriptionTypeId>
<d2p1:EmailSubscriptionTypeName>sample string 7</d2p1:EmailSubscriptionTypeName>
<d2p1:FailedCount>11</d2p1:FailedCount>
<d2p1:FromEmailAddress>sample string 9</d2p1:FromEmailAddress>
<d2p1:HasAttachments>true</d2p1:HasAttachments>
<d2p1:NewsKeywords>sample string 14</d2p1:NewsKeywords>
<d2p1:NewsTopicId>1</d2p1:NewsTopicId>
<d2p1:OpenedCount>13</d2p1:OpenedCount>
<d2p1:PublishToCW>true</d2p1:PublishToCW>
<d2p1:RecipientCount>4</d2p1:RecipientCount>
<d2p1:SentCount>10</d2p1:SentCount>
<d2p1:SentDateTimeLocal>2025-12-15T18:05:19.8923347+00:00</d2p1:SentDateTimeLocal>
<d2p1:Subject>sample string 3</d2p1:Subject>
<d2p1:ThreadLastUpdateUTC>2025-12-15T18:05:19.9079685+00:00</d2p1:ThreadLastUpdateUTC>
<d2p1:ThreadRemainingCount>1</d2p1:ThreadRemainingCount>
<d2p1:ThumbnailImageUrl>sample string 15</d2p1:ThumbnailImageUrl>
</d2p1:CWEmailCompose>
<d2p1:CWEmailCompose>
<d2p1:BouncedCount>12</d2p1:BouncedCount>
<d2p1:CreateDate>2025-12-15T18:05:19.8923347+00:00</d2p1:CreateDate>
<d2p1:CreatedBy>sample string 5</d2p1:CreatedBy>
<d2p1:DefaultNewsArticleImageId>1</d2p1:DefaultNewsArticleImageId>
<d2p1:EmailComposeId>1</d2p1:EmailComposeId>
<d2p1:EmailSubscriptionTypeId>8</d2p1:EmailSubscriptionTypeId>
<d2p1:EmailSubscriptionTypeName>sample string 7</d2p1:EmailSubscriptionTypeName>
<d2p1:FailedCount>11</d2p1:FailedCount>
<d2p1:FromEmailAddress>sample string 9</d2p1:FromEmailAddress>
<d2p1:HasAttachments>true</d2p1:HasAttachments>
<d2p1:NewsKeywords>sample string 14</d2p1:NewsKeywords>
<d2p1:NewsTopicId>1</d2p1:NewsTopicId>
<d2p1:OpenedCount>13</d2p1:OpenedCount>
<d2p1:PublishToCW>true</d2p1:PublishToCW>
<d2p1:RecipientCount>4</d2p1:RecipientCount>
<d2p1:SentCount>10</d2p1:SentCount>
<d2p1:SentDateTimeLocal>2025-12-15T18:05:19.8923347+00:00</d2p1:SentDateTimeLocal>
<d2p1:Subject>sample string 3</d2p1:Subject>
<d2p1:ThreadLastUpdateUTC>2025-12-15T18:05:19.9079685+00:00</d2p1:ThreadLastUpdateUTC>
<d2p1:ThreadRemainingCount>1</d2p1:ThreadRemainingCount>
<d2p1:ThumbnailImageUrl>sample string 15</d2p1:ThumbnailImageUrl>
</d2p1:CWEmailCompose>
</ResponseObject>
</GetEmailSentResponse>