Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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}

 

...

 

Code Block
languagejs
titleA sample JSON return of an animal note
linenumberstrue
{
    "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"
}