Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

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 A sample JSON return of an animal note
{   "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"}

  • No labels