GET api/CustomerMeter/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerMeter| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| PaymentCode | string |
None. |
|
| MeterNumber | string |
None. |
|
| Description | string |
None. |
|
| Status | integer |
None. |
|
| ReceiverId | integer |
None. |
|
| TimeStamp | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "0498b094-726c-4383-b023-784317caef3f",
"customer-id": "42b0d181-46ba-48d0-82dd-5817107d9fd0",
"payment-code": "sample string 3",
"meter-number": "sample string 4",
"description": "sample string 5",
"status": 6,
"receiver-id": 7,
"time-stamp": "QEA="
}
application/xml, text/xml
Sample:
<CustomerMeter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caprica.Models"> <CustomerId>42b0d181-46ba-48d0-82dd-5817107d9fd0</CustomerId> <Description>sample string 5</Description> <Id>0498b094-726c-4383-b023-784317caef3f</Id> <MeterNumber>sample string 4</MeterNumber> <PaymentCode>sample string 3</PaymentCode> <ReceiverId>7</ReceiverId> <Status>6</Status> <TimeStamp>QEA=</TimeStamp> </CustomerMeter>