Meters
Create Meter
Toegang
Lid van de organisatie met dit recht:
meters:write
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
POST
Creates a new meter with the provided data.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
name*stringLength
1 <= length <= 255type*stringValue in
"ELECTRICITY""WATER""GAS"customFields?provider*unknownOK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//meters' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "type": "ELECTRICITY", "provider": "MANUAL"}'Example Response
nullList Meters GET
Lists meters with pagination, filtering, and sorting. Supports filtering by type, provider, terrain, and search. Can include relations like terrain (with nested occupations and customer), lastReading, alarms, and metadata. Use 'customer' or 'occupation' in include to fetch nested data through terrain.
Get Meter GET
Gets a meter by its ID. Supports virtual fields: customer, occupation (same as list endpoint). Use include parameter to include relations like terrain, lastReading.