GET api/Alert/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ViewAlert
NameDescriptionTypeAdditional information
AlertID

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Description

string

None.

DepartmentID

integer

None.

PostedOn

string

None.

Username

string

None.

ProfileName

string

None.

Address

string

None.

ProfileImage

string

None.

NearbyPlace

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AlertID": 1,
  "Latitude": 2.0,
  "Longitude": 3.0,
  "Description": "sample string 4",
  "DepartmentID": 5,
  "PostedOn": "sample string 6",
  "Username": "sample string 7",
  "ProfileName": "sample string 8",
  "Address": "sample string 9",
  "ProfileImage": "sample string 10",
  "NearbyPlace": "sample string 11"
}

application/xml, text/xml

Sample:
<ViewAlert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mPigeonAPI.Models">
  <Address>sample string 9</Address>
  <AlertID>1</AlertID>
  <DepartmentID>5</DepartmentID>
  <Description>sample string 4</Description>
  <Latitude>2</Latitude>
  <Longitude>3</Longitude>
  <NearbyPlace>sample string 11</NearbyPlace>
  <PostedOn>sample string 6</PostedOn>
  <ProfileImage>sample string 10</ProfileImage>
  <ProfileName>sample string 8</ProfileName>
  <Username>sample string 7</Username>
</ViewAlert>