GET api/orgaos-siorg

Consulta e listagem dos órgãos (SIORG)

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of OrgaoDTO
NameDescriptionTypeAdditional information
IdOrgaoSiorg

Código do órgão no SIORG

integer

None.

NomeOrgao

Nome do órgão

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdOrgaoSiorg": 1,
    "NomeOrgao": "sample string 2"
  },
  {
    "IdOrgaoSiorg": 1,
    "NomeOrgao": "sample string 2"
  }
]

text/html

Sample:
[{"IdOrgaoSiorg":1,"NomeOrgao":"sample string 2"},{"IdOrgaoSiorg":1,"NomeOrgao":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfOrgaoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ouvidorias.Api.Models.DTO">
  <OrgaoDTO>
    <IdOrgaoSiorg>1</IdOrgaoSiorg>
    <NomeOrgao>sample string 2</NomeOrgao>
  </OrgaoDTO>
  <OrgaoDTO>
    <IdOrgaoSiorg>1</IdOrgaoSiorg>
    <NomeOrgao>sample string 2</NomeOrgao>
  </OrgaoDTO>
</ArrayOfOrgaoDTO>