GET api/GetSite/{corporateId}/{applicationId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
corporateId

string

Required

applicationId

string

Required

Body Parameters

None.

Response Information

Resource Description

Site
NameDescriptionTypeAdditional information
ID

integer

None.

BuildingID

string

None.

Checklist

integer

None.

AssessorChecklist

integer

None.

RatingChecklist

integer

None.

Name

string

None.

LastThresholdHit

date

None.

Type

integer

None.

Serial

string

None.

LastGasThresholdHit

date

None.

GasSensor

boolean

None.

SensorID

integer

None.

TrafficAlert

boolean

None.

ShowAStarTraffic

boolean

None.

GasAlertIntervalTime

integer

None.

RatingPanel

boolean

None.

RTU_ID

integer

None.

Status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "BuildingID": "sample string 2",
  "Checklist": 3,
  "AssessorChecklist": 4,
  "RatingChecklist": 5,
  "Name": "sample string 6",
  "LastThresholdHit": "2026-05-20T23:50:01.5293621+08:00",
  "Type": 1,
  "Serial": "sample string 8",
  "LastGasThresholdHit": "2026-05-20T23:50:01.5293621+08:00",
  "GasSensor": true,
  "SensorID": 1,
  "TrafficAlert": true,
  "ShowAStarTraffic": true,
  "GasAlertIntervalTime": 9,
  "RatingPanel": true,
  "RTU_ID": 1,
  "Status": "sample string 11"
}

application/xml, text/xml

Sample:
<Site xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2senseWebApiProject">
  <AssessorChecklist>4</AssessorChecklist>
  <BuildingID>sample string 2</BuildingID>
  <Checklist>3</Checklist>
  <GasAlertIntervalTime>9</GasAlertIntervalTime>
  <GasSensor>true</GasSensor>
  <ID>1</ID>
  <LastGasThresholdHit>2026-05-20T23:50:01.5293621+08:00</LastGasThresholdHit>
  <LastThresholdHit>2026-05-20T23:50:01.5293621+08:00</LastThresholdHit>
  <Name>sample string 6</Name>
  <RTU_ID>1</RTU_ID>
  <RatingChecklist>5</RatingChecklist>
  <RatingPanel>true</RatingPanel>
  <SensorID>1</SensorID>
  <Serial>sample string 8</Serial>
  <ShowAStarTraffic>true</ShowAStarTraffic>
  <Status>sample string 11</Status>
  <TrafficAlert>true</TrafficAlert>
  <Type>1</Type>
</Site>