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

Get Area

Gets an area by its ID. A summary of its scheme and detailed information about its current stage will be provided, if set.

GET
/v1/areas/{areaId}

Gets an area by its ID. A summary of its scheme and detailed information about its current stage will be provided, if set.

Path Parameters

areaId*string
Formatuuid

Query Parameters

includeBoundary?boolean
Defaultfalse

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/areas/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "boundary": null,
  "scheme": null,
  "currentStageAssignment": null,
  "organisations": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "websiteUrl": null
    }
  ],
  "timeZoneId": "string",
  "sources": [
    {
      "url": "string",
      "description": "string"
    }
  ],
  "trackingStatus": "tracked"
}
{
  "type": null,
  "title": null,
  "status": null,
  "detail": null,
  "instance": null
}
{
  "type": null,
  "title": null,
  "status": null,
  "detail": null,
  "instance": null
}
{
  "type": null,
  "title": null,
  "status": null,
  "detail": null,
  "instance": null
}