GET api/ServiceOutages/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ServiceOutage
NameDescriptionTypeAdditional information
RecordId

integer

None.

PropertyId

integer

None.

UtilityId

integer

None.

OutageStart

date

None.

OutageEnd

date

None.

OutageReportedBy

integer

None.

OutageClearedBy

integer

None.

PropertyName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "PropertyId": 2,
  "UtilityId": 3,
  "OutageStart": "2024-03-27T16:24:47.2435474+00:00",
  "OutageEnd": "2024-03-27T16:24:47.2435474+00:00",
  "OutageReportedBy": 5,
  "OutageClearedBy": 1,
  "PropertyName": "sample string 6"
}

application/xml, text/xml

Sample:
<ServiceOutage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <OutageClearedBy>1</OutageClearedBy>
  <OutageEnd>2024-03-27T16:24:47.2435474+00:00</OutageEnd>
  <OutageReportedBy>5</OutageReportedBy>
  <OutageStart>2024-03-27T16:24:47.2435474+00:00</OutageStart>
  <PropertyId>2</PropertyId>
  <PropertyName>sample string 6</PropertyName>
  <RecordId>1</RecordId>
  <UtilityId>3</UtilityId>
</ServiceOutage>