Get All Readings For List Of Custom Meters
curl --request POST \
--url https://realtime.replace-me.example.com/meterreadings/custommeters \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"meterIds": [
1
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({meterIds: [1]})
};
fetch('https://realtime.replace-me.example.com/meterreadings/custommeters', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://realtime.replace-me.example.com/meterreadings/custommeters"
payload = { "meterIds": [1] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)RealTime API - Meter Readings
Get All Readings For List Of Custom Meters
A POST request will find all meter readings for the list of custom meters.
POST
/
meterreadings
/
custommeters
Get All Readings For List Of Custom Meters
curl --request POST \
--url https://realtime.replace-me.example.com/meterreadings/custommeters \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"meterIds": [
1
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({meterIds: [1]})
};
fetch('https://realtime.replace-me.example.com/meterreadings/custommeters', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://realtime.replace-me.example.com/meterreadings/custommeters"
payload = { "meterIds": [1] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
