GET api/Proposicoes/{proposicaoID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
proposicaoID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Proposicao
NameDescriptionTypeAdditional information
IsUserSeguindo

boolean

None.

IsUserCurtindo

boolean

None.

IsUserNaoCurtindo

boolean

None.

Autor

string

None.

Titulo

string

None.

Descricao

string

None.

UrlDownload

string

None.

Ano

string

None.

Numero

string

None.

TotalCurtir

integer

None.

TotalNaoCurtir

integer

None.

TotalComentario

integer

None.

ALProposicaoId

integer

None.

DeputadoID

integer

None.

Comentarios

Collection of ComentarioProposicao

None.

Tramitacoes

Collection of Tramitacao

None.

Response Formats

application/json, text/json

Sample:
{
  "IsUserSeguindo": true,
  "IsUserCurtindo": true,
  "IsUserNaoCurtindo": true,
  "Autor": "sample string 4",
  "Titulo": "sample string 5",
  "Descricao": "sample string 6",
  "UrlDownload": "sample string 7",
  "Ano": "sample string 8",
  "Numero": "sample string 9",
  "TotalCurtir": 10,
  "TotalNaoCurtir": 11,
  "TotalComentario": 12,
  "ALProposicaoId": 13,
  "DeputadoID": 14,
  "Comentarios": [
    {
      "Comentario": "sample string 1",
      "UserId": 2,
      "ALProposicaoID": 3,
      "DataComentario": "2019-04-25T16:52:58.4431899-04:00",
      "ID": 5
    },
    {
      "Comentario": "sample string 1",
      "UserId": 2,
      "ALProposicaoID": 3,
      "DataComentario": "2019-04-25T16:52:58.4431899-04:00",
      "ID": 5
    }
  ],
  "Tramitacoes": [
    {
      "Titulo": "sample string 1",
      "Descricao": "sample string 2",
      "Data": "2019-04-25T16:52:58.4431899-04:00",
      "Status": "sample string 4",
      "ProposicaoID": 5
    },
    {
      "Titulo": "sample string 1",
      "Descricao": "sample string 2",
      "Data": "2019-04-25T16:52:58.4431899-04:00",
      "Status": "sample string 4",
      "ProposicaoID": 5
    }
  ]
}

application/xml, text/xml

Sample:
<Proposicao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.DTO">
  <ALProposicaoId>13</ALProposicaoId>
  <Ano>sample string 8</Ano>
  <Autor>sample string 4</Autor>
  <Comentarios xmlns:d2p1="http://schemas.datacontract.org/2004/07/ChatFidelity.Models">
    <d2p1:ComentarioProposicao>
      <d2p1:ID>5</d2p1:ID>
      <d2p1:ALProposicaoID>3</d2p1:ALProposicaoID>
      <d2p1:Comentario>sample string 1</d2p1:Comentario>
      <d2p1:DataComentario>2019-04-25T16:52:58.4431899-04:00</d2p1:DataComentario>
      <d2p1:UserId>2</d2p1:UserId>
    </d2p1:ComentarioProposicao>
    <d2p1:ComentarioProposicao>
      <d2p1:ID>5</d2p1:ID>
      <d2p1:ALProposicaoID>3</d2p1:ALProposicaoID>
      <d2p1:Comentario>sample string 1</d2p1:Comentario>
      <d2p1:DataComentario>2019-04-25T16:52:58.4431899-04:00</d2p1:DataComentario>
      <d2p1:UserId>2</d2p1:UserId>
    </d2p1:ComentarioProposicao>
  </Comentarios>
  <DeputadoID>14</DeputadoID>
  <Descricao>sample string 6</Descricao>
  <IsUserCurtindo>true</IsUserCurtindo>
  <IsUserNaoCurtindo>true</IsUserNaoCurtindo>
  <IsUserSeguindo>true</IsUserSeguindo>
  <Numero>sample string 9</Numero>
  <Titulo>sample string 5</Titulo>
  <TotalComentario>12</TotalComentario>
  <TotalCurtir>10</TotalCurtir>
  <TotalNaoCurtir>11</TotalNaoCurtir>
  <Tramitacoes>
    <Tramitacao>
      <Data>2019-04-25T16:52:58.4431899-04:00</Data>
      <Descricao>sample string 2</Descricao>
      <ProposicaoID>5</ProposicaoID>
      <Status>sample string 4</Status>
      <Titulo>sample string 1</Titulo>
    </Tramitacao>
    <Tramitacao>
      <Data>2019-04-25T16:52:58.4431899-04:00</Data>
      <Descricao>sample string 2</Descricao>
      <ProposicaoID>5</ProposicaoID>
      <Status>sample string 4</Status>
      <Titulo>sample string 1</Titulo>
    </Tramitacao>
  </Tramitacoes>
  <UrlDownload>sample string 7</UrlDownload>
</Proposicao>