Zum Hauptinhalt springen
POST
cURL

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

The new MeasurementValue resource

quantity
any
erforderlich

The new value

Beispiel:

"10.239"

measuredAt
any
erforderlich

The date the value was measured. If none is given, the current date is used

Beispiel:

"2021-01-01T00:00:00Z"

subscription
any

The subscription id, or the subscription number. Only necessary if you provide only the measurement code.

Beispiel:

"1QEHKTJY9097X91J78YRJEA9E8"

subscriptionItem
string | null

Either the subscription item or the measurement code must be provided.

Beispiel:

"1QEHKTJY9097X91J78YRJEA9E8"

measurementCode
string | null

Either the subscription item or the measurement code must be provided. If the subscription contains multiple items with the same measurement (code), all their values will be updated.

Beispiel:

"used_traffic"

Antwort

MeasurementValue resource created