POST api/News/ReturnNewsList
Request Information
URI Parameters
None.
Body Parameters
GetNewsListRequestName | Description | Type | Additional information |
---|---|---|---|
EventId | string |
None. |
|
string |
None. |
||
LastUpdateDateTime | date |
None. |
|
ClientVersion | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EventId": "sample string 1", "Email": "sample string 2", "LastUpdateDateTime": "2025-04-04T04:55:07.7054797+02:00", "ClientVersion": "sample string 4" }
application/xml, text/xml
Sample:
<GetNewsListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models"> <ClientVersion>sample string 4</ClientVersion> <Email>sample string 2</Email> <LastUpdateDateTime>2025-04-04T04:55:07.7054797+02:00</LastUpdateDateTime> <EventId>sample string 1</EventId> </GetNewsListRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetNewsListResponseName | Description | Type | Additional information |
---|---|---|---|
News | Collection of NewsDTO |
None. |
|
ResponseDateTime | date |
None. |
|
ErrorMessage | string |
None. |
|
IsValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "News": [ { "Id": "sample string 1", "Description": "sample string 2", "Title": "sample string 3", "Url": "sample string 4", "CreateOn": "2025-04-04T04:55:07.7054797+02:00", "TitleEx": "04 Apr sample string 3" }, { "Id": "sample string 1", "Description": "sample string 2", "Title": "sample string 3", "Url": "sample string 4", "CreateOn": "2025-04-04T04:55:07.7054797+02:00", "TitleEx": "04 Apr sample string 3" } ], "ResponseDateTime": "2025-04-04T04:55:07.7054797+02:00", "ErrorMessage": "sample string 2", "IsValid": true }
application/xml, text/xml
Sample:
<GetNewsListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsValid>true</IsValid> <ResponseDateTime>2025-04-04T04:55:07.7054797+02:00</ResponseDateTime> <News> <NewsDTO> <CreateOn>2025-04-04T04:55:07.7054797+02:00</CreateOn> <Description>sample string 2</Description> <Id>sample string 1</Id> <Title>sample string 3</Title> <Url>sample string 4</Url> </NewsDTO> <NewsDTO> <CreateOn>2025-04-04T04:55:07.7054797+02:00</CreateOn> <Description>sample string 2</Description> <Id>sample string 1</Id> <Title>sample string 3</Title> <Url>sample string 4</Url> </NewsDTO> </News> </GetNewsListResponse>