GET api/ufs
Consulta e listagem de Ufs
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of UfDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| SigUf |
Sigla da UF. Dois caracteres. |
string |
None. |
| DescUf |
Nome completo da unidade federativa. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SigUf": "sample string 1",
"DescUf": "sample string 2"
},
{
"SigUf": "sample string 1",
"DescUf": "sample string 2"
}
]
text/html
Sample:
[{"SigUf":"sample string 1","DescUf":"sample string 2"},{"SigUf":"sample string 1","DescUf":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfUfDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ouvidorias.Api.Models.DTO">
<UfDTO>
<DescUf>sample string 2</DescUf>
<SigUf>sample string 1</SigUf>
</UfDTO>
<UfDTO>
<DescUf>sample string 2</DescUf>
<SigUf>sample string 1</SigUf>
</UfDTO>
</ArrayOfUfDTO>