GET api/Areas/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Area
NameDescriptionTypeAdditional information
id

integer

None.

DateCreated

date

None.

LastModified

date

None.

Suburb

string

None.

City

string

None.

Province

integer

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

Radius

decimal number

None.

ZoneName

string

None.

Active

boolean

None.

SecurityOwnerId

integer

None.

UserId

string

None.

Address

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "DateCreated": "2025-12-09T04:06:50.9528947+02:00",
  "LastModified": "2025-12-09T04:06:50.9528947+02:00",
  "Suburb": "sample string 4",
  "City": "sample string 5",
  "Province": 1,
  "Longitude": 1.1,
  "Latitude": 1.1,
  "Radius": 6.1,
  "ZoneName": "sample string 7",
  "Active": true,
  "SecurityOwnerId": 1,
  "UserId": "sample string 9",
  "Address": "sample string 10"
}

application/xml, text/xml

Sample:
<Area xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PanicSAAPI.Database">
  <Active>true</Active>
  <Address>sample string 10</Address>
  <City>sample string 5</City>
  <DateCreated>2025-12-09T04:06:50.9528947+02:00</DateCreated>
  <LastModified>2025-12-09T04:06:50.9528947+02:00</LastModified>
  <Latitude>1.1</Latitude>
  <Longitude>1.1</Longitude>
  <Province>1</Province>
  <Radius>6.1</Radius>
  <SecurityOwnerId>1</SecurityOwnerId>
  <Suburb>sample string 4</Suburb>
  <UserId>sample string 9</UserId>
  <ZoneName>sample string 7</ZoneName>
  <id>1</id>
</Area>