GET api/Noticia/Comentarios/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ComentarioSimpleNoticia
NameDescriptionTypeAdditional information
ID

integer

None.

Comentario

string

None.

UserId

integer

None.

ALNoticiaID

integer

None.

DataComentario

date

None.

UserName

string

None.

UserUrlFoto

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Comentario": "sample string 2",
    "UserId": 3,
    "ALNoticiaID": 4,
    "DataComentario": "2019-05-19T21:34:52.1997063-04:00",
    "UserName": "sample string 6",
    "UserUrlFoto": "sample string 7"
  },
  {
    "ID": 1,
    "Comentario": "sample string 2",
    "UserId": 3,
    "ALNoticiaID": 4,
    "DataComentario": "2019-05-19T21:34:52.1997063-04:00",
    "UserName": "sample string 6",
    "UserUrlFoto": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfComentarioSimpleNoticia xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.DTO">
  <ComentarioSimpleNoticia>
    <ALNoticiaID>4</ALNoticiaID>
    <Comentario>sample string 2</Comentario>
    <DataComentario>2019-05-19T21:34:52.1997063-04:00</DataComentario>
    <ID>1</ID>
    <UserId>3</UserId>
    <UserName>sample string 6</UserName>
    <UserUrlFoto>sample string 7</UserUrlFoto>
  </ComentarioSimpleNoticia>
  <ComentarioSimpleNoticia>
    <ALNoticiaID>4</ALNoticiaID>
    <Comentario>sample string 2</Comentario>
    <DataComentario>2019-05-19T21:34:52.1997063-04:00</DataComentario>
    <ID>1</ID>
    <UserId>3</UserId>
    <UserName>sample string 6</UserName>
    <UserUrlFoto>sample string 7</UserUrlFoto>
  </ComentarioSimpleNoticia>
</ArrayOfComentarioSimpleNoticia>