Welcome to Water Restrictions, your go-to source for up-to-date information on water restrictions in your area.Water Restrictions LogoWater Restrictions
EndpointsWater management sub areas

Get Water Management Sub-Areas

Gets a page of the water management sub-areas the platform holds, optionally narrowed by provider and by the area they are stated within, with each sub-area's provider facts, the declared provider's name, and the facts of the area it is stated within. The page is ordered by the parent area's own number and then the sub-area's own number rather than by row order, so the page a caller reads is stable across re-fetches that restate a sub-area in place.

GET
/v1/water-management-sub-areas

Gets a page of the water management sub-areas the platform holds, optionally narrowed by provider and by the area they are stated within, with each sub-area's provider facts, the declared provider's name, and the facts of the area it is stated within. The page is ordered by the parent area's own number and then the sub-area's own number rather than by row order, so the page a caller reads is stable across re-fetches that restate a sub-area in place.

Query Parameters

providerKey?string
waterManagementAreaId?string
Formatuuid
pageNumber?|
Match^-?(?:0|[1-9]\d*)$
Formatint32
Default1
pageSize?|
Match^-?(?:0|[1-9]\d*)$
Formatint32
Default10

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/water-management-sub-areas"
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "providerKey": "string",      "providerName": null,      "groupNumber": "string",      "name": "string",      "waterManagementAreaId": "83ee38e1-f4c6-4576-8230-e057518a984b",      "waterManagementAreaNumber": "string",      "waterManagementAreaName": "string"    }  ],  "pageNumber": 0,  "pageSize": 0,  "totalCount": 0,  "totalPages": 0,  "hasPreviousPage": true,  "hasNextPage": true}