GET api/ServiceOutages

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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-04-05T19:10:49.7706922+00:00",
    "OutageEnd": "2024-04-05T19:10:49.7706922+00:00",
    "OutageReportedBy": 5,
    "OutageClearedBy": 1,
    "PropertyName": "sample string 6"
  },
  {
    "RecordId": 1,
    "PropertyId": 2,
    "UtilityId": 3,
    "OutageStart": "2024-04-05T19:10:49.7706922+00:00",
    "OutageEnd": "2024-04-05T19:10:49.7706922+00:00",
    "OutageReportedBy": 5,
    "OutageClearedBy": 1,
    "PropertyName": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfServiceOutage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <ServiceOutage>
    <OutageClearedBy>1</OutageClearedBy>
    <OutageEnd>2024-04-05T19:10:49.7706922+00:00</OutageEnd>
    <OutageReportedBy>5</OutageReportedBy>
    <OutageStart>2024-04-05T19:10:49.7706922+00:00</OutageStart>
    <PropertyId>2</PropertyId>
    <PropertyName>sample string 6</PropertyName>
    <RecordId>1</RecordId>
    <UtilityId>3</UtilityId>
  </ServiceOutage>
  <ServiceOutage>
    <OutageClearedBy>1</OutageClearedBy>
    <OutageEnd>2024-04-05T19:10:49.7706922+00:00</OutageEnd>
    <OutageReportedBy>5</OutageReportedBy>
    <OutageStart>2024-04-05T19:10:49.7706922+00:00</OutageStart>
    <PropertyId>2</PropertyId>
    <PropertyName>sample string 6</PropertyName>
    <RecordId>1</RecordId>
    <UtilityId>3</UtilityId>
  </ServiceOutage>
</ArrayOfServiceOutage>