GET api/PowerOutage?IdentityId={IdentityId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IdentityId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TB_MOB_POWER_FAILURE
NameDescriptionTypeAdditional information
Id

string

None.

IdentityId

string

None.

PowerFailureTypeId

string

None.

Title

string

None.

Detail

string

None.

CA

string

None.

Lat

decimal number

None.

Long

decimal number

None.

CreatedDate

date

None.

Address

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "IdentityId": "sample string 2",
    "PowerFailureTypeId": "sample string 3",
    "Title": "sample string 4",
    "Detail": "sample string 5",
    "CA": "sample string 6",
    "Lat": 1.0,
    "Long": 1.0,
    "CreatedDate": "2024-11-17T19:19:48.4879752+07:00",
    "Address": "sample string 7"
  },
  {
    "Id": "sample string 1",
    "IdentityId": "sample string 2",
    "PowerFailureTypeId": "sample string 3",
    "Title": "sample string 4",
    "Detail": "sample string 5",
    "CA": "sample string 6",
    "Lat": 1.0,
    "Long": 1.0,
    "CreatedDate": "2024-11-17T19:19:48.4879752+07:00",
    "Address": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTB_MOB_POWER_FAILURE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.Lib.DBEntities">
  <TB_MOB_POWER_FAILURE>
    <Address>sample string 7</Address>
    <CA>sample string 6</CA>
    <CreatedDate>2024-11-17T19:19:48.4879752+07:00</CreatedDate>
    <Detail>sample string 5</Detail>
    <Id>sample string 1</Id>
    <IdentityId>sample string 2</IdentityId>
    <Lat>1</Lat>
    <Long>1</Long>
    <PowerFailureTypeId>sample string 3</PowerFailureTypeId>
    <Title>sample string 4</Title>
  </TB_MOB_POWER_FAILURE>
  <TB_MOB_POWER_FAILURE>
    <Address>sample string 7</Address>
    <CA>sample string 6</CA>
    <CreatedDate>2024-11-17T19:19:48.4879752+07:00</CreatedDate>
    <Detail>sample string 5</Detail>
    <Id>sample string 1</Id>
    <IdentityId>sample string 2</IdentityId>
    <Lat>1</Lat>
    <Long>1</Long>
    <PowerFailureTypeId>sample string 3</PowerFailureTypeId>
    <Title>sample string 4</Title>
  </TB_MOB_POWER_FAILURE>
</ArrayOfTB_MOB_POWER_FAILURE>