GET api/segmentos-servico

Consulta e listagem dos itens de segmento dos servi├žos de acordo com o Portal de Servi├žos

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SegmentoServicoDTO
NameDescriptionTypeAdditional information
IdItemSegmentoServio

ID do Item Segmento no Portal de Serviços

integer

None.

NomeItemSegmentoServio

Nome do Item Segmento

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdItemSegmentoServio": 1,
    "NomeItemSegmentoServio": "sample string 2"
  },
  {
    "IdItemSegmentoServio": 1,
    "NomeItemSegmentoServio": "sample string 2"
  }
]

text/html

Sample:
[{"IdItemSegmentoServio":1,"NomeItemSegmentoServio":"sample string 2"},{"IdItemSegmentoServio":1,"NomeItemSegmentoServio":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfSegmentoServicoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ouvidorias.Api.Models.DTO">
  <SegmentoServicoDTO>
    <IdItemSegmentoServio>1</IdItemSegmentoServio>
    <NomeItemSegmentoServio>sample string 2</NomeItemSegmentoServio>
  </SegmentoServicoDTO>
  <SegmentoServicoDTO>
    <IdItemSegmentoServio>1</IdItemSegmentoServio>
    <NomeItemSegmentoServio>sample string 2</NomeItemSegmentoServio>
  </SegmentoServicoDTO>
</ArrayOfSegmentoServicoDTO>