POST api/Rss?isBodyHtml={isBodyHtml}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
isBodyHtml | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
NewsModelName | Description | Type | Additional information |
---|---|---|---|
Author | string |
None. |
|
ReleaseId | integer |
None. |
|
Title | string |
None. |
|
Body | string |
None. |
|
Summary | string |
None. |
|
Image | NewsImageModel |
None. |
|
PublishedDate | date |
None. |
|
UpdatedDate | date |
None. |
|
Categories | Collection of NewsCategoryModel |
None. |
|
__metadata | Metadata |
None. |
|
Url | string |
None. |
|
PermitirAdsense | boolean |
None. |
|
Quote | string |
None. |
|
VideoUrl | Video |
None. |
|
Place | string |
None. |
|
WebsiteUrl | string |
None. |
|
ExternalId | string |
None. |
|
Updated | boolean |
None. |
|
UpdateImage | boolean |
None. |
|
DeletePost | boolean |
None. |
|
Tags | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Author": "sample string 1", "ReleaseId": 2, "Title": "sample string 3", "Body": "sample string 4", "Summary": "sample string 5", "Image": { "$id": "2", "Id": "1b62e72e-445f-406c-9322-1f5cadd68a21", "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-11-21T06:27:06.5659095-03:00", "UpdatedDate": "2024-11-21T06:27:06.5659095-03:00", "Categories": [ { "$id": "3", "Name": "sample string 1", "Id": 2, "Slug": "sample string 3", "__metadata": { "$id": "4", "type": "sample string 1", "uri": "sample string 2" } }, { "$ref": "3" } ], "__metadata": { "$ref": "4" }, "Url": "sample string 8", "PermitirAdsense": true, "Quote": "sample string 10", "VideoUrl": { "$id": "5", "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" ] }
application/xml, text/xml
Sample:
<NewsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dino.API.Models"> <Author>sample string 1</Author> <Body>sample string 4</Body> <Categories> <NewsCategoryModel> <Id>2</Id> <Metadata> <Type>sample string 1</Type> <Uri>sample string 2</Uri> </Metadata> <Name>sample string 1</Name> <Slug>sample string 3</Slug> </NewsCategoryModel> <NewsCategoryModel> <Id>2</Id> <Metadata> <Type>sample string 1</Type> <Uri>sample string 2</Uri> </Metadata> <Name>sample string 1</Name> <Slug>sample string 3</Slug> </NewsCategoryModel> </Categories> <DeletePost>true</DeletePost> <ExternalId>sample string 13</ExternalId> <Image> <Alt>sample string 5</Alt> <Description>sample string 6</Description> <Id>1b62e72e-445f-406c-9322-1f5cadd68a21</Id> <MimeType>sample string 2</MimeType> <Source>sample string 7</Source> <Url>sample string 3</Url> <UrlDinoSocial>sample string 4</UrlDinoSocial> </Image> <Metadata> <Type>sample string 1</Type> <Uri>sample string 2</Uri> </Metadata> <PermitirAdsense>true</PermitirAdsense> <Place>sample string 11</Place> <PublishedDate>2024-11-21T06:27:06.5659095-03:00</PublishedDate> <Quote>sample string 10</Quote> <ReleaseId>2</ReleaseId> <Summary>sample string 5</Summary> <Tags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Tags> <Title>sample string 3</Title> <UpdateImage>true</UpdateImage> <Updated>true</Updated> <UpdatedDate>2024-11-21T06:27:06.5659095-03:00</UpdatedDate> <Url>sample string 8</Url> <VideoUrl xmlns:d2p1="http://schemas.datacontract.org/2004/07/Dino.Infrastructure.Contracts.Data"> <d2p1:Descricao>sample string 2</d2p1:Descricao> <d2p1:Url>sample string 1</d2p1:Url> </VideoUrl> <WebsiteUrl>sample string 12</WebsiteUrl> </NewsModel>