GET api/segmentos
Consulta e listagem dos segmentos das entidades públicas
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SegmentoDTOName | Description | Type | Additional information |
---|---|---|---|
IdSegmento |
ID do Segmento |
integer |
None. |
DescSegmento |
Nome do Segmento |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "IdSegmento": 1, "DescSegmento": "sample string 2" }, { "IdSegmento": 1, "DescSegmento": "sample string 2" } ]
text/html
Sample:
[{"IdSegmento":1,"DescSegmento":"sample string 2"},{"IdSegmento":1,"DescSegmento":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfSegmentoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ouvidorias.Api.Models.DTO"> <SegmentoDTO> <DescSegmento>sample string 2</DescSegmento> <IdSegmento>1</IdSegmento> </SegmentoDTO> <SegmentoDTO> <DescSegmento>sample string 2</DescSegmento> <IdSegmento>1</IdSegmento> </SegmentoDTO> </ArrayOfSegmentoDTO>