GET api/Customer/GetMeterList?getLocation={getLocation}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
getLocation

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

ResultModelOfListOfMeterModel
NameDescriptionTypeAdditional information
Data

Collection of MeterModel

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "CaNo": "sample string 1",
      "PeaNo": "sample string 2",
      "AliasName": "sample string 3",
      "Address": "sample string 4",
      "Lat": 5.1,
      "Lng": 6.1,
      "ProvinceID": "sample string 7",
      "OfficeId": "sample string 8",
      "OfficeName": "sample string 9",
      "DueDate": "sample string 10"
    },
    {
      "CaNo": "sample string 1",
      "PeaNo": "sample string 2",
      "AliasName": "sample string 3",
      "Address": "sample string 4",
      "Lat": 5.1,
      "Lng": 6.1,
      "ProvinceID": "sample string 7",
      "OfficeId": "sample string 8",
      "OfficeName": "sample string 9",
      "DueDate": "sample string 10"
    }
  ],
  "Status": true,
  "ErrorMessage": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfArrayOfMeterModel8JTJZdSI 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.CustomerModels">
    <d2p1:MeterModel>
      <d2p1:Address>sample string 4</d2p1:Address>
      <d2p1:AliasName>sample string 3</d2p1:AliasName>
      <d2p1:CaNo>sample string 1</d2p1:CaNo>
      <d2p1:DueDate>sample string 10</d2p1:DueDate>
      <d2p1:Lat>5.1</d2p1:Lat>
      <d2p1:Lng>6.1</d2p1:Lng>
      <d2p1:OfficeId>sample string 8</d2p1:OfficeId>
      <d2p1:OfficeName>sample string 9</d2p1:OfficeName>
      <d2p1:PeaNo>sample string 2</d2p1:PeaNo>
      <d2p1:ProvinceID>sample string 7</d2p1:ProvinceID>
    </d2p1:MeterModel>
    <d2p1:MeterModel>
      <d2p1:Address>sample string 4</d2p1:Address>
      <d2p1:AliasName>sample string 3</d2p1:AliasName>
      <d2p1:CaNo>sample string 1</d2p1:CaNo>
      <d2p1:DueDate>sample string 10</d2p1:DueDate>
      <d2p1:Lat>5.1</d2p1:Lat>
      <d2p1:Lng>6.1</d2p1:Lng>
      <d2p1:OfficeId>sample string 8</d2p1:OfficeId>
      <d2p1:OfficeName>sample string 9</d2p1:OfficeName>
      <d2p1:PeaNo>sample string 2</d2p1:PeaNo>
      <d2p1:ProvinceID>sample string 7</d2p1:ProvinceID>
    </d2p1:MeterModel>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Message>sample string 3</Message>
  <Status>true</Status>
</ResultModelOfArrayOfMeterModel8JTJZdSI>