GET api/cores-racas

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RacaCorDTO
NameDescriptionTypeAdditional information
IdRacaCor

Identificador raça/cor

integer

None.

DescRacaCor

Descrição da raça/cor

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdRacaCor": 1,
    "DescRacaCor": "sample string 2"
  },
  {
    "IdRacaCor": 1,
    "DescRacaCor": "sample string 2"
  }
]

text/html

Sample:
[{"IdRacaCor":1,"DescRacaCor":"sample string 2"},{"IdRacaCor":1,"DescRacaCor":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfRacaCorDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ouvidorias.Api.Models.DTO">
  <RacaCorDTO>
    <DescRacaCor>sample string 2</DescRacaCor>
    <IdRacaCor>1</IdRacaCor>
  </RacaCorDTO>
  <RacaCorDTO>
    <DescRacaCor>sample string 2</DescRacaCor>
    <IdRacaCor>1</IdRacaCor>
  </RacaCorDTO>
</ArrayOfRacaCorDTO>