GET api/Newsletter/SentMessage
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SentMessageInfoName | Type | Additional information | Description |
---|---|---|---|
Id | integer |
None. |
|
NewsId | integer |
None. |
|
CoopId | integer |
None. |
|
string |
None. |
||
SendDate | date |
None. |
|
IsReaded | boolean |
None. |
|
News | News |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "NewsId": 2, "CoopId": 3, "Email": "sample string 4", "SendDate": "2025-01-09T09:09:22.8766914+01:00", "IsReaded": true, "News": { "Id": 1, "Name": "sample string 2", "Date": "2025-01-09T09:09:22.8766914+01:00", "Footer": "sample string 4", "Header": "sample string 5", "MailFooter": "sample string 6", "MailHeader": "sample string 7", "Important": true } }, { "Id": 1, "NewsId": 2, "CoopId": 3, "Email": "sample string 4", "SendDate": "2025-01-09T09:09:22.8766914+01:00", "IsReaded": true, "News": { "Id": 1, "Name": "sample string 2", "Date": "2025-01-09T09:09:22.8766914+01:00", "Footer": "sample string 4", "Header": "sample string 5", "MailFooter": "sample string 6", "MailHeader": "sample string 7", "Important": true } } ]
text/html
Sample:
[{"Id":1,"NewsId":2,"CoopId":3,"Email":"sample string 4","SendDate":"2025-01-09T09:09:22.8766914+01:00","IsReaded":true,"News":{"Id":1,"Name":"sample string 2","Date":"2025-01-09T09:09:22.8766914+01:00","Footer":"sample string 4","Header":"sample string 5","MailFooter":"sample string 6","MailHeader":"sample string 7","Important":true}},{"Id":1,"NewsId":2,"CoopId":3,"Email":"sample string 4","SendDate":"2025-01-09T09:09:22.8766914+01:00","IsReaded":true,"News":{"Id":1,"Name":"sample string 2","Date":"2025-01-09T09:09:22.8766914+01:00","Footer":"sample string 4","Header":"sample string 5","MailFooter":"sample string 6","MailHeader":"sample string 7","Important":true}}]
application/xml, text/xml
Sample:
<ArrayOfSentMessageInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EnergyProject.Domain"> <SentMessageInfo> <CoopId>3</CoopId> <Email>sample string 4</Email> <Id>1</Id> <IsReaded>true</IsReaded> <News> <Date>2025-01-09T09:09:22.8766914+01:00</Date> <Footer>sample string 4</Footer> <Header>sample string 5</Header> <Id>1</Id> <Important>true</Important> <MailFooter>sample string 6</MailFooter> <MailHeader>sample string 7</MailHeader> <Name>sample string 2</Name> </News> <NewsId>2</NewsId> <SendDate>2025-01-09T09:09:22.8766914+01:00</SendDate> </SentMessageInfo> <SentMessageInfo> <CoopId>3</CoopId> <Email>sample string 4</Email> <Id>1</Id> <IsReaded>true</IsReaded> <News> <Date>2025-01-09T09:09:22.8766914+01:00</Date> <Footer>sample string 4</Footer> <Header>sample string 5</Header> <Id>1</Id> <Important>true</Important> <MailFooter>sample string 6</MailFooter> <MailHeader>sample string 7</MailHeader> <Name>sample string 2</Name> </News> <NewsId>2</NewsId> <SendDate>2025-01-09T09:09:22.8766914+01:00</SendDate> </SentMessageInfo> </ArrayOfSentMessageInfo>