GET api/PowerOutage/GetLatLngByCaNo?CaNo={CaNo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CaNo

string

Required

Body Parameters

None.

Response Information

Resource Description

ResultModelOfLocalOffice
NameDescriptionTypeAdditional information
Data

LocalOffice

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "LocalOfficeName": "sample string 1",
    "CaNo": "sample string 2",
    "Lat": "sample string 3",
    "Long": "sample string 4"
  },
  "Status": true,
  "ErrorMessage": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfLocalOfficep_SF8EHFt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PowerOutageModels">
    <d2p1:CaNo>sample string 2</d2p1:CaNo>
    <d2p1:Lat>sample string 3</d2p1:Lat>
    <d2p1:LocalOfficeName>sample string 1</d2p1:LocalOfficeName>
    <d2p1:Long>sample string 4</d2p1:Long>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Message>sample string 3</Message>
  <Status>true</Status>
</ResultModelOfLocalOfficep_SF8EHFt>