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?CountryIdcountryId={Id} |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "Id": 1, "Name": "VIC" "Country": { "Depiction": "Australia", "Uri": "/api/v1/countries/1" }, } |
...