GET api/PowerOutage/GetLatLngByCaNoList

Request Information

URI Parameters

None.

Body Parameters

RequestMeterModel
NameDescriptionTypeAdditional information
CaNo

string

None.

PeaNo

string

None.

AliasName

string

None.

AllowSentNotification

boolean

None.

RateSentNotification

string

None.

Amount

integer

None.

ItemPerPage

integer

None.

PageNo

integer

None.

caNoList

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "CaNo": "sample string 1",
  "PeaNo": "sample string 2",
  "AliasName": "sample string 3",
  "AllowSentNotification": true,
  "RateSentNotification": "sample string 4",
  "Amount": 5,
  "ItemPerPage": 6,
  "PageNo": 7,
  "caNoList": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<RequestMeterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.CustomerModels">
  <AliasName>sample string 3</AliasName>
  <AllowSentNotification>true</AllowSentNotification>
  <Amount>5</Amount>
  <CaNo>sample string 1</CaNo>
  <ItemPerPage>6</ItemPerPage>
  <PageNo>7</PageNo>
  <PeaNo>sample string 2</PeaNo>
  <RateSentNotification>sample string 4</RateSentNotification>
  <caNoList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </caNoList>
</RequestMeterModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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>