GET v1/News/List?EventGuid={EventGuid}&MaxPublishedDT={MaxPublishedDT}&OrderByType={OrderByType}&Skip={Skip}&Take={Take}&SearchString={SearchString}&SortDirection={SortDirection}&SortName={SortName}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
EventGuid | globally unique identifier |
None. |
|
MaxPublishedDT | date |
None. |
|
OrderByType | NewsOrderByType |
None. |
|
Skip | integer |
None. |
|
Take | integer |
None. |
|
SearchString | string |
None. |
|
SortDirection | SortDirection |
None. |
|
SortName | ListSortName |
None. |
Body Parameters
None.
Response Information
Resource Description
NewsListViewModelName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of NewsListItemViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ { "Guid": "e2c5cc3d-6b03-413f-bfc6-d76a36490d99", "Title": "sample string 2", "Intro": "sample string 3", "Contents": "sample string 4", "Url": "sample string 5", "PublicationDT": "2023-03-22T12:24:55.0381455+00:00", "PictureGuid": "78530eb0-c41d-401a-b84a-b723e7e1d112", "EventDomain": "sample string 6", "Script": "sample string 7", "PopupLayoutType": 0, "EventTheme": { "Name": "sample string 1", "Color": "sample string 2", "FontColor": "sample string 3", "EventGuid": "496b1201-c1b0-4d41-b59c-be37d0e1be93", "ThemeType": 0, "Guid": "0733e1b7-17ff-4655-a2b6-4e376d7f80ae", "Created": "2023-03-22T12:24:55.0381455+00:00", "Modified": "2023-03-22T12:24:55.0381455+00:00", "Deleted": "2023-03-22T12:24:55.0381455+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false } }, { "Guid": "e2c5cc3d-6b03-413f-bfc6-d76a36490d99", "Title": "sample string 2", "Intro": "sample string 3", "Contents": "sample string 4", "Url": "sample string 5", "PublicationDT": "2023-03-22T12:24:55.0381455+00:00", "PictureGuid": "78530eb0-c41d-401a-b84a-b723e7e1d112", "EventDomain": "sample string 6", "Script": "sample string 7", "PopupLayoutType": 0, "EventTheme": { "Name": "sample string 1", "Color": "sample string 2", "FontColor": "sample string 3", "EventGuid": "496b1201-c1b0-4d41-b59c-be37d0e1be93", "ThemeType": 0, "Guid": "0733e1b7-17ff-4655-a2b6-4e376d7f80ae", "Created": "2023-03-22T12:24:55.0381455+00:00", "Modified": "2023-03-22T12:24:55.0381455+00:00", "Deleted": "2023-03-22T12:24:55.0381455+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false } } ] }
application/octet-stream
Sample:
{"Items":[{"Guid":"e2c5cc3d-6b03-413f-bfc6-d76a36490d99","Title":"sample string 2","Intro":"sample string 3","Contents":"sample string 4","Url":"sample string 5","PublicationDT":"2023-03-22T12:24:55.0381455+00:00","PictureGuid":"78530eb0-c41d-401a-b84a-b723e7e1d112","EventDomain":"sample string 6","Script":"sample string 7","PopupLayoutType":0,"EventTheme":{"Name":"sample string 1","Color":"sample string 2","FontColor":"sample string 3","EventGuid":"496b1201-c1b0-4d41-b59c-be37d0e1be93","ThemeType":0,"Guid":"0733e1b7-17ff-4655-a2b6-4e376d7f80ae","Created":"2023-03-22T12:24:55.0381455+00:00","Modified":"2023-03-22T12:24:55.0381455+00:00","Deleted":"2023-03-22T12:24:55.0381455+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}},{"Guid":"e2c5cc3d-6b03-413f-bfc6-d76a36490d99","Title":"sample string 2","Intro":"sample string 3","Contents":"sample string 4","Url":"sample string 5","PublicationDT":"2023-03-22T12:24:55.0381455+00:00","PictureGuid":"78530eb0-c41d-401a-b84a-b723e7e1d112","EventDomain":"sample string 6","Script":"sample string 7","PopupLayoutType":0,"EventTheme":{"Name":"sample string 1","Color":"sample string 2","FontColor":"sample string 3","EventGuid":"496b1201-c1b0-4d41-b59c-be37d0e1be93","ThemeType":0,"Guid":"0733e1b7-17ff-4655-a2b6-4e376d7f80ae","Created":"2023-03-22T12:24:55.0381455+00:00","Modified":"2023-03-22T12:24:55.0381455+00:00","Deleted":"2023-03-22T12:24:55.0381455+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}}]}
application/xml, text/xml
Sample:
<NewsListViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List"> <Items> <NewsListItemViewModel> <Contents>sample string 4</Contents> <EventDomain>sample string 6</EventDomain> <EventTheme xmlns:d4p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:KeyValueOfstringstring> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>sample string 4</d5p1:Value> </d5p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T12:24:55.0381455+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T12:24:55.0381455+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">0733e1b7-17ff-4655-a2b6-4e376d7f80ae</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T12:24:55.0381455+00:00</Modified> <d4p1:Color>sample string 2</d4p1:Color> <d4p1:EventGuid>496b1201-c1b0-4d41-b59c-be37d0e1be93</d4p1:EventGuid> <d4p1:FontColor>sample string 3</d4p1:FontColor> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:ThemeType>Unassigned</d4p1:ThemeType> </EventTheme> <Guid>e2c5cc3d-6b03-413f-bfc6-d76a36490d99</Guid> <Intro>sample string 3</Intro> <PictureGuid>78530eb0-c41d-401a-b84a-b723e7e1d112</PictureGuid> <PopupLayoutType>Unassigned</PopupLayoutType> <PublicationDT>2023-03-22T12:24:55.0381455+00:00</PublicationDT> <Script>sample string 7</Script> <Title>sample string 2</Title> <Url>sample string 5</Url> </NewsListItemViewModel> <NewsListItemViewModel> <Contents>sample string 4</Contents> <EventDomain>sample string 6</EventDomain> <EventTheme xmlns:d4p1="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 1</d5p1:Key> <d5p1:Value>sample string 2</d5p1:Value> </d5p1:KeyValueOfstringstring> <d5p1:KeyValueOfstringstring> <d5p1:Key>sample string 3</d5p1:Key> <d5p1:Value>sample string 4</d5p1:Value> </d5p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T12:24:55.0381455+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T12:24:55.0381455+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">0733e1b7-17ff-4655-a2b6-4e376d7f80ae</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-03-22T12:24:55.0381455+00:00</Modified> <d4p1:Color>sample string 2</d4p1:Color> <d4p1:EventGuid>496b1201-c1b0-4d41-b59c-be37d0e1be93</d4p1:EventGuid> <d4p1:FontColor>sample string 3</d4p1:FontColor> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:ThemeType>Unassigned</d4p1:ThemeType> </EventTheme> <Guid>e2c5cc3d-6b03-413f-bfc6-d76a36490d99</Guid> <Intro>sample string 3</Intro> <PictureGuid>78530eb0-c41d-401a-b84a-b723e7e1d112</PictureGuid> <PopupLayoutType>Unassigned</PopupLayoutType> <PublicationDT>2023-03-22T12:24:55.0381455+00:00</PublicationDT> <Script>sample string 7</Script> <Title>sample string 2</Title> <Url>sample string 5</Url> </NewsListItemViewModel> </Items> </NewsListViewModel>