Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Current »

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 IDGET/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"
    },
}


  • No labels