Skip to main content

Get collection status for a metering point

GET 

/api/v1/meas/:mpid/status

Returns whether an EAN is ready to collect. Grootverbruik uses the MV catalog; kleinverbruik uses live P4 state. Same canCollect rule for both.

Authentication Required: This endpoint requires a valid Bearer token with meas2.api scope.

Status values:

  • WachtOpMv: the EAN is yours but is not listed yet (MV catalog or P4). Expected right after you add the connection.
  • NietGekoppeldDoorMv: we collected before, but the EAN is no longer listed.
  • Ok / canCollect: true: recent data is available; pull measurements.
  • NoData / canCollect: true: the EAN is listed; pull measurements, but days may be empty, stale, or rejected. On kleinverbruik, rejectionCode / rejectionText explain the latest completed P4 day when it was rejected (e.g. 040).
  • Paused, Stopped: collection is not running; do not pull.

rejectionCode and rejectionText are always present and null when unused (all grootverbruik, or kleinverbruik with no rejection).

An EAN that is not associated with your adviser is forbidden (same as the measurements GET).

Request

Responses

OK