GET v2/news?Find={Find}&Category={Category}&OnlyWithImage={OnlyWithImage}&OnlyTopRating={OnlyTopRating}&PageIndex={PageIndex}&PageSize={PageSize}&IsBodyHtml={IsBodyHtml}&HaveaImage={HaveaImage}&ForceCache={ForceCache}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Find | string |
None. |
|
Category | string |
None. |
|
OnlyWithImage | boolean |
None. |
|
OnlyTopRating | boolean |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
|
IsBodyHtml | boolean |
None. |
|
HaveaImage | boolean |
None. |
|
ForceCache | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
PagedListResultOfNewsModelName | Description | Type | Additional information |
---|---|---|---|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
|
Total | integer |
None. |
|
Items | Collection of NewsModel |
None. |
|
Success | boolean |
None. |
|
ErrorMessage | string |
None. |
|
Status | ResultStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "PageIndex": 1, "PageSize": 2, "Total": 3, "Items": [ { "$id": "2", "Author": "sample string 1", "ReleaseId": 2, "Title": "sample string 3", "Body": "sample string 4", "Summary": "sample string 5", "Image": { "$id": "3", "Id": "248c278a-4d1c-4071-bc23-fc2da6f19ec6", "MimeType": "sample string 2", "Url": "sample string 3", "UrlDinoSocial": "sample string 4", "Alt": "sample string 5", "Description": "sample string 6", "Source": "sample string 7" }, "PublishedDate": "2024-12-10T13:46:19.7012561-03:00", "UpdatedDate": "2024-12-10T13:46:19.7012561-03:00", "Categories": [ { "$id": "4", "Name": "sample string 1", "Id": 2, "Slug": "sample string 3", "__metadata": { "$id": "5", "type": "sample string 1", "uri": "sample string 2" } }, { "$ref": "4" } ], "__metadata": { "$ref": "5" }, "Url": "sample string 8", "PermitirAdsense": true, "Quote": "sample string 10", "VideoUrl": { "$id": "6", "Url": "sample string 1", "Descricao": "sample string 2" }, "Place": "sample string 11", "WebsiteUrl": "sample string 12", "ExternalId": "sample string 13", "Updated": true, "UpdateImage": true, "DeletePost": true, "Tags": [ "sample string 1", "sample string 2" ] }, { "$ref": "2" } ], "Success": true, "ErrorMessage": "sample string 5", "Status": 0 }
application/xml, text/xml
Sample:
<PagedListResultOfNewsModelBrRlwU_Pn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dino.Domain.Contracts.Services.Result"> <ErrorMessage>sample string 5</ErrorMessage> <Status>Success</Status> <Success>true</Success> <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Dino.API.Models"> <d2p1:NewsModel> <d2p1:Author>sample string 1</d2p1:Author> <d2p1:Body>sample string 4</d2p1:Body> <d2p1:Categories> <d2p1:NewsCategoryModel> <d2p1:Id>2</d2p1:Id> <d2p1:Metadata> <d2p1:Type>sample string 1</d2p1:Type> <d2p1:Uri>sample string 2</d2p1:Uri> </d2p1:Metadata> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Slug>sample string 3</d2p1:Slug> </d2p1:NewsCategoryModel> <d2p1:NewsCategoryModel> <d2p1:Id>2</d2p1:Id> <d2p1:Metadata> <d2p1:Type>sample string 1</d2p1:Type> <d2p1:Uri>sample string 2</d2p1:Uri> </d2p1:Metadata> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Slug>sample string 3</d2p1:Slug> </d2p1:NewsCategoryModel> </d2p1:Categories> <d2p1:DeletePost>true</d2p1:DeletePost> <d2p1:ExternalId>sample string 13</d2p1:ExternalId> <d2p1:Image> <d2p1:Alt>sample string 5</d2p1:Alt> <d2p1:Description>sample string 6</d2p1:Description> <d2p1:Id>248c278a-4d1c-4071-bc23-fc2da6f19ec6</d2p1:Id> <d2p1:MimeType>sample string 2</d2p1:MimeType> <d2p1:Source>sample string 7</d2p1:Source> <d2p1:Url>sample string 3</d2p1:Url> <d2p1:UrlDinoSocial>sample string 4</d2p1:UrlDinoSocial> </d2p1:Image> <d2p1:Metadata> <d2p1:Type>sample string 1</d2p1:Type> <d2p1:Uri>sample string 2</d2p1:Uri> </d2p1:Metadata> <d2p1:PermitirAdsense>true</d2p1:PermitirAdsense> <d2p1:Place>sample string 11</d2p1:Place> <d2p1:PublishedDate>2024-12-10T13:46:19.7012561-03:00</d2p1:PublishedDate> <d2p1:Quote>sample string 10</d2p1:Quote> <d2p1:ReleaseId>2</d2p1:ReleaseId> <d2p1:Summary>sample string 5</d2p1:Summary> <d2p1:Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:Tags> <d2p1:Title>sample string 3</d2p1:Title> <d2p1:UpdateImage>true</d2p1:UpdateImage> <d2p1:Updated>true</d2p1:Updated> <d2p1:UpdatedDate>2024-12-10T13:46:19.7012561-03:00</d2p1:UpdatedDate> <d2p1:Url>sample string 8</d2p1:Url> <d2p1:VideoUrl xmlns:d4p1="http://schemas.datacontract.org/2004/07/Dino.Infrastructure.Contracts.Data"> <d4p1:Descricao>sample string 2</d4p1:Descricao> <d4p1:Url>sample string 1</d4p1:Url> </d2p1:VideoUrl> <d2p1:WebsiteUrl>sample string 12</d2p1:WebsiteUrl> </d2p1:NewsModel> <d2p1:NewsModel> <d2p1:Author>sample string 1</d2p1:Author> <d2p1:Body>sample string 4</d2p1:Body> <d2p1:Categories> <d2p1:NewsCategoryModel> <d2p1:Id>2</d2p1:Id> <d2p1:Metadata> <d2p1:Type>sample string 1</d2p1:Type> <d2p1:Uri>sample string 2</d2p1:Uri> </d2p1:Metadata> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Slug>sample string 3</d2p1:Slug> </d2p1:NewsCategoryModel> <d2p1:NewsCategoryModel> <d2p1:Id>2</d2p1:Id> <d2p1:Metadata> <d2p1:Type>sample string 1</d2p1:Type> <d2p1:Uri>sample string 2</d2p1:Uri> </d2p1:Metadata> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Slug>sample string 3</d2p1:Slug> </d2p1:NewsCategoryModel> </d2p1:Categories> <d2p1:DeletePost>true</d2p1:DeletePost> <d2p1:ExternalId>sample string 13</d2p1:ExternalId> <d2p1:Image> <d2p1:Alt>sample string 5</d2p1:Alt> <d2p1:Description>sample string 6</d2p1:Description> <d2p1:Id>248c278a-4d1c-4071-bc23-fc2da6f19ec6</d2p1:Id> <d2p1:MimeType>sample string 2</d2p1:MimeType> <d2p1:Source>sample string 7</d2p1:Source> <d2p1:Url>sample string 3</d2p1:Url> <d2p1:UrlDinoSocial>sample string 4</d2p1:UrlDinoSocial> </d2p1:Image> <d2p1:Metadata> <d2p1:Type>sample string 1</d2p1:Type> <d2p1:Uri>sample string 2</d2p1:Uri> </d2p1:Metadata> <d2p1:PermitirAdsense>true</d2p1:PermitirAdsense> <d2p1:Place>sample string 11</d2p1:Place> <d2p1:PublishedDate>2024-12-10T13:46:19.7012561-03:00</d2p1:PublishedDate> <d2p1:Quote>sample string 10</d2p1:Quote> <d2p1:ReleaseId>2</d2p1:ReleaseId> <d2p1:Summary>sample string 5</d2p1:Summary> <d2p1:Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:Tags> <d2p1:Title>sample string 3</d2p1:Title> <d2p1:UpdateImage>true</d2p1:UpdateImage> <d2p1:Updated>true</d2p1:Updated> <d2p1:UpdatedDate>2024-12-10T13:46:19.7012561-03:00</d2p1:UpdatedDate> <d2p1:Url>sample string 8</d2p1:Url> <d2p1:VideoUrl xmlns:d4p1="http://schemas.datacontract.org/2004/07/Dino.Infrastructure.Contracts.Data"> <d4p1:Descricao>sample string 2</d4p1:Descricao> <d4p1:Url>sample string 1</d4p1:Url> </d2p1:VideoUrl> <d2p1:WebsiteUrl>sample string 12</d2p1:WebsiteUrl> </d2p1:NewsModel> </Items> <PageIndex>1</PageIndex> <PageSize>2</PageSize> <Total>3</Total> </PagedListResultOfNewsModelBrRlwU_Pn>