POST api/NewsLetter/GetAll
Request Information
URI Parameters
None.
Body Parameters
NewsLetterListerName | Description | Type | Additional information |
---|---|---|---|
NewsLetters | Collection of NewsLetter |
None. |
|
SearchCriteria | NewsLetter |
None. |
|
Pager | Pager |
None. |
Request Formats
application/json, text/json
Sample:
{ "NewsLetters": [ { "Id": 1, "Subject": "sample string 2", "Message": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:28:48.6838286+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:28:48.6838286+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:28:48.6838286+00:00", "NewsLetterUserId": 8 }, { "Id": 1, "Subject": "sample string 2", "Message": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:28:48.6838286+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:28:48.6838286+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:28:48.6838286+00:00", "NewsLetterUserId": 8 } ], "SearchCriteria": { "Id": 1, "Subject": "sample string 2", "Message": "sample string 3", "CreatedBy": 4, "CreatedDate": "2025-08-29T20:28:48.6838286+00:00", "LastModifiedBy": 6, "LastModifiedDate": "2025-08-29T20:28:48.6838286+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:28:48.6838286+00:00", "NewsLetterUserId": 8 }, "Pager": { "PageSize": 1, "Take": 2, "Skip": 3, "CurrentPage": 4.0, "TotalPage": "sample string 5", "TotalRecord": 6.0 } }
application/xml, text/xml
Sample:
<NewsLetterLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <NewsLetters> <NewsLetter> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:28:48.6838286+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:28:48.6838286+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:28:48.6838286+00:00</LastModifiedDate> <Message>sample string 3</Message> <NewsLetterUserId>8</NewsLetterUserId> <Subject>sample string 2</Subject> </NewsLetter> <NewsLetter> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:28:48.6838286+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:28:48.6838286+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:28:48.6838286+00:00</LastModifiedDate> <Message>sample string 3</Message> <NewsLetterUserId>8</NewsLetterUserId> <Subject>sample string 2</Subject> </NewsLetter> </NewsLetters> <Pager> <CurrentPage>4</CurrentPage> <PageSize>1</PageSize> <Skip>3</Skip> <Take>2</Take> <TotalPage>sample string 5</TotalPage> <TotalRecord>6</TotalRecord> </Pager> <SearchCriteria> <CreatedBy>4</CreatedBy> <CreatedDate>2025-08-29T20:28:48.6838286+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:28:48.6838286+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>6</LastModifiedBy> <LastModifiedDate>2025-08-29T20:28:48.6838286+00:00</LastModifiedDate> <Message>sample string 3</Message> <NewsLetterUserId>8</NewsLetterUserId> <Subject>sample string 2</Subject> </SearchCriteria> </NewsLetterLister>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.