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}


Anchor
_Ref361760854
_Ref361760854
Figure 11 A sample JSON return of an animal colour
{   "Id": 1,  "Descriptor": "Black Brindle"}