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 type | GET | /api/v{version}/animalColours?animalTypeId={typeId} |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "Id": 1, "Descriptor": "Black Brindle" } |