GET api/Proposicao/Comentarios/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ComentarioSimple
NameDescriptionTypeAdditional information
ID

integer

None.

Comentario

string

None.

UserId

integer

None.

ALProposicaoID

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,
    "ALProposicaoID": 4,
    "DataComentario": "2019-04-25T16:56:53.2719345-04:00",
    "UserName": "sample string 6",
    "UserUrlFoto": "sample string 7"
  },
  {
    "ID": 1,
    "Comentario": "sample string 2",
    "UserId": 3,
    "ALProposicaoID": 4,
    "DataComentario": "2019-04-25T16:56:53.2719345-04:00",
    "UserName": "sample string 6",
    "UserUrlFoto": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfComentarioSimple xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.DTO">
  <ComentarioSimple>
    <ALProposicaoID>4</ALProposicaoID>
    <Comentario>sample string 2</Comentario>
    <DataComentario>2019-04-25T16:56:53.2719345-04:00</DataComentario>
    <ID>1</ID>
    <UserId>3</UserId>
    <UserName>sample string 6</UserName>
    <UserUrlFoto>sample string 7</UserUrlFoto>
  </ComentarioSimple>
  <ComentarioSimple>
    <ALProposicaoID>4</ALProposicaoID>
    <Comentario>sample string 2</Comentario>
    <DataComentario>2019-04-25T16:56:53.2719345-04:00</DataComentario>
    <ID>1</ID>
    <UserId>3</UserId>
    <UserName>sample string 6</UserName>
    <UserUrlFoto>sample string 7</UserUrlFoto>
  </ComentarioSimple>
</ArrayOfComentarioSimple>