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} |
Figure 11 A sample JSON return of an animal colour
{ "Id": 1, "Descriptor": "Black Brindle"}