POST api/RssPadrao?isBodyHtml={isBodyHtml}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
isBodyHtml

boolean

Required

Body Parameters

None.

Response Information

Resource Description

NewsModel
NameDescriptionTypeAdditional 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.

IsAlterado

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": "ca950ab0-8a4d-45d6-b9c5-0cb40be7ceaa",
    "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": "2022-06-25T20:52:12.4656444-03:00",
  "UpdatedDate": "2022-06-25T20:52:12.4656444-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",
  "IsAlterado": 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>
  <ExternalId>sample string 13</ExternalId>
  <Image>
    <Alt>sample string 5</Alt>
    <Description>sample string 6</Description>
    <Id>ca950ab0-8a4d-45d6-b9c5-0cb40be7ceaa</Id>
    <MimeType>sample string 2</MimeType>
    <Source>sample string 7</Source>
    <Url>sample string 3</Url>
    <UrlDinoSocial>sample string 4</UrlDinoSocial>
  </Image>
  <IsAlterado>true</IsAlterado>
  <Metadata>
    <Type>sample string 1</Type>
    <Uri>sample string 2</Uri>
  </Metadata>
  <PermitirAdsense>true</PermitirAdsense>
  <Place>sample string 11</Place>
  <PublishedDate>2022-06-25T20:52:12.4656444-03:00</PublishedDate>
  <Quote>sample string 10</Quote>
  <ReleaseId>2</ReleaseId>
  <Summary>sample string 5</Summary>
  <Title>sample string 3</Title>
  <UpdatedDate>2022-06-25T20:52:12.4656444-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>
  <deletePost>true</deletePost>
  <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>
</NewsModel>