ValuesInPastMultipleInterpolated

Gets multiple interpolated values of a device. This call needs a smart-me professional licence.

get/ValuesInPastMultipleInterpolated/{id}

Request

  • Base URL: https://api.smart-me.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.smart-me.com/ValuesInPastMultipleInterpolated/{id}
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token; client credentials, token URL /oauth/token)
    • HTTP basic

Path parameters

idstring uuid required

The ID of the device

Query parameters

startDatestring date-time required

The date when the first value should start

endDatestring date-time required

The date when the last value should start

thresholdSecondsinteger

The threshold in seconds around which the interpolation will accept a real value.

interval15 | 1440
<p>Members: </p><ul><li><i>15</i> - FifteenMinutes</li><li><i>1440</i> - Day</li></ul>

The interval to interpolate values. Can be either 15min or 1 day (1440min)

Response

OK

interpolationQualitynumber double

The quality of the interpolation (# interpolated samples) / (# sample points). A measure of how many points have to interpolated between two real values.

fractionOfInterpolatedResultsnumber double

The fraction of interpolated results as (total # interpolated results) / (total # results)

isCompleteboolean
lastAvailablestring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.