GET api/esferas

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EsferaDTO
NameDescriptionTypeAdditional information
IdEsfera

Identificador da esfera.

integer

None.

DescEsfera

Nome da esfera.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdEsfera": 1,
    "DescEsfera": "sample string 2"
  },
  {
    "IdEsfera": 1,
    "DescEsfera": "sample string 2"
  }
]

text/html

Sample:
[{"IdEsfera":1,"DescEsfera":"sample string 2"},{"IdEsfera":1,"DescEsfera":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfEsferaDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ouvidorias.Api.Models.DTO">
  <EsferaDTO>
    <DescEsfera>sample string 2</DescEsfera>
    <IdEsfera>1</IdEsfera>
  </EsferaDTO>
  <EsferaDTO>
    <DescEsfera>sample string 2</DescEsfera>
    <IdEsfera>1</IdEsfera>
  </EsferaDTO>
</ArrayOfEsferaDTO>