Versions Compared

Key

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

This set of resources is used to expose the shelters. 


Table 22. Shelter resources

URI Description

Method

Relative URI

Get all

GET

/api/v{version}/shelters

Get by ID.

GET

/api/v{version}/shelters/{id}

 

...

 

Confluence
Code Block
theme
languagejs
titleSample A sample JSON return of a shelter
linenumberstrue
{
	"Id": 1,
	"Name": "RSPCA QLD",
	"Address": "1 Test Road, Wacol, QLD, 4818",
	"Email": "rspcaqld@rspca.org.au",
	"ExtraDetails": "This is some extra detail",
	"Fax": "(07) 4774 5266",
	"LostFoundEmail": "lostfound@rspca.org.au",
	"Phone": "(07) 4774 5130",
	"PostalAddress": "PO Box 7709, Wacol, 4818",
	"Postcode": "4818",
	"State": {        
		"Depiction": "QLD",
        "Uri": "/api/v1/states/1"
    }
 }