rawdata

Rawdata v2 - Activate

This service allows to activate Raw Data collection on a given device that is already set up, and set the date at which the raw data collection will stop (enddate). The raw data capture will be activated as soon as the watch is able to sync with the Withings app following the API call. The capture will stop automatically at the enddate provided in the API call.

posthttps://wbsapi.withings.net/v2/rawdata

Request

  • Base URL
    https://wbsapi.withings.net
  • Auth
    none declared. Required headers: Authorization

Query parameters

actionstring required

Service action name. Must take the string value activate.

hash_deviceidstring required

Public device id. For any device installed on a user account, can be found by calling the User v2 - Get webservice.

rawdata_typeinteger required

The type of raw data you want to act upon. Set to 1 for accelerometer, set to 2 for optical sensor.

enddateinteger

Data end date as a unix timestamp.

Headers

Authorizationstring required

Used to pass your access token. Must take value: Bearer {your access_token} Replace {your access_token} with the access_token

Response

(Click to unfold)

statusinteger

Response status. See <a href='#tag/response_status'>Status</a> section for details.

bodyobject

Response data.

Changes

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