/
Animal Notes /api/animalNotes

Animal Notes /api/animalNotes

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}

 


 

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"
}