/
States /api/states

States /api/states

This set of resources is used to expose the states.


Table 22. Shelter resources

URI Description

Method

Relative URI

Get all

GET

/api/v{version}/states

Get by ID.

GET

/api/v{version}/states/{id}

Get by Country ID.GET/api/v{version}/states?countryId={Id}

 


 

A sample JSON return of a shelter
{
	"Id": 1,
	"Name": "VIC"
    "Country": {
        "Depiction": "Australia",
        "Uri": "/api/v1/countries/1"
    },
}