GET api/Noticias/ListaNoticias

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of NoticiasModel
NameDescriptionTypeAdditional information
Data_Noticia

date

None.

Segmento

string

None.

Texto

string

None.

Titulo

string

None.

Id

integer

None.

IdNoticia

integer

None.

Post

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Data_Noticia": "2020-10-29T03:33:53.933549+00:00",
    "Segmento": "sample string 2",
    "Texto": "sample string 3",
    "Titulo": "sample string 4",
    "Id": 5,
    "IdNoticia": 6,
    "Post": "sample string 7"
  },
  {
    "Data_Noticia": "2020-10-29T03:33:53.933549+00:00",
    "Segmento": "sample string 2",
    "Texto": "sample string 3",
    "Titulo": "sample string 4",
    "Id": 5,
    "IdNoticia": 6,
    "Post": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNoticiasModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnimedApp.API.Models.UnimedServiceModels">
  <NoticiasModel>
    <Data_Noticia>2020-10-29T03:33:53.933549+00:00</Data_Noticia>
    <Id>5</Id>
    <IdNoticia>6</IdNoticia>
    <Post>sample string 7</Post>
    <Segmento>sample string 2</Segmento>
    <Texto>sample string 3</Texto>
    <Titulo>sample string 4</Titulo>
  </NoticiasModel>
  <NoticiasModel>
    <Data_Noticia>2020-10-29T03:33:53.933549+00:00</Data_Noticia>
    <Id>5</Id>
    <IdNoticia>6</IdNoticia>
    <Post>sample string 7</Post>
    <Segmento>sample string 2</Segmento>
    <Texto>sample string 3</Texto>
    <Titulo>sample string 4</Titulo>
  </NoticiasModel>
</ArrayOfNoticiasModel>