Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This set of resources is used to expose the animal colours.

 
Table 10 Animal colour resources

...

URI Description

Method

Relative URI

Get all

GET

/api/v{version}/animalColours

Get by ID

GET

/api/v{version}/animalColours/{id}

Get by animal ID

GET

/api/v{version}/animalColours/?animalId={Id}

...

Get by animal typeGET/api/v{version}/animalColours?animalTypeId={typeId}

 

...

 

...

Code Block
languagejs
titleA sample JSON return of an animal colour

...

linenumberstrue
{
    "Id": 1,

...


    "Descriptor": "Black Brindle"
}