Versions Compared

Key

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

This set of resources is used to expose the animal symbols.

 
Table 17 Animal symbol resources

URI Description

Method

Relative URI

Get all

GET

/api/v{version}/animalSymbols

Get by ID

GET

/api/v{version}/animalSymbols/{id}

Get by animal ID

GET

/api/v{version}/animalSymbols/?animalId={Id}

...

Code Block
languagejs
titleA sample JSON return of an animal symbol
linenumberstrue
{

...


    "Id": 1,

...


    "Image": "/images/icons/dog.gif",

...


    "Description": "Doesnt Like Dogs",

...


    "ShelterBuddyDescription": "No Dogs",

...


    "HelpDescription": ""
}

...

Code Block
languagejs
titleA sample JSON return of an animal symbol
linenumberstrue
{

...


    "Id": 2,

...


    "Image": "/images/icons/heart.gif",

...


    "Description": "Special Needs",

...


    "ShelterBuddyDescription": "Special Needs",

...


    "HelpDescription": "Special needs are animals that will require special or additional assistance in life or just adapting to their normal life."
}