This set of resources is used to expose the animal notes.
Table 19 Animal note resources
URI Description | Method | Relative URI |
Get all | GET | /api/v{version}/animalNotes |
Get by ID | GET | /api/v{version}/animalNotes/{id} |
Get by animal ID | GET | /api/v{version}/animalNotes/?animalId={id} |
Get by animal ID and animal note type ID | GET | /api/v{version}/animalNotes/?animalId={id}&animalNoteTypeId={Id} |
Table 21
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ |
...
"Id": 1, |
...
"NoteType": |
...
{ "Depiction": "Distinguishing Features", |
...
"Uri": "/api/v1/animalNoteTypes/1" |
...
}, |
...
"Body": "Blue eyes. Ginger tabby points. Has a ginger tabby tail. Very lean but has big belly. Photo Available" } |