GET
/
v1
/
suppliers
/
businesses
/
{businessId}
/
accountsSitesMeters
Get sites and meters for a business
curl --request GET \
  --url https://api.voltview.co.uk/v1/suppliers/businesses/{businessId}/accountsSitesMeters \
  --header 'Authorization: Bearer <token>'
{
  "businessId": "<string>",
  "accounts": [
    {
      "id": "<string>",
      "supplier": "<string>",
      "sites": [
        {
          "id": "<string>",
          "accountId": "<string>",
          "referenceId": "<string>",
          "name": "<string>",
          "address": "<string>",
          "supplyTypes": [
            "electricity"
          ],
          "meters": [
            {
              "mpanMprn": "<string>",
              "meterSerialNumber": "<string>",
              "utilityType": "electricity"
            }
          ]
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token obtained from /v1/requestToken endpoint

Path Parameters

businessId
string
required

Business ID

Query Parameters

supplier
string

Filter to accounts from a specific supplier (SupplierType id or name).

Response

200
application/json

Accounts with sites and meters retrieved successfully

The response is of type object.