Search code examples
apicloudmicrosoft-band

Get summary through Microsoft Health Cloud API on minute basis


I am developing a health related application on windows 8.1, and I am using the sample code here to extract the data through Microsoft Health Cloud API.

I am just wondering if I can get the summary on minute basis by replacing the period property with Minute in the Resource URL below:

<version>/me/Summaries/{period}?startTime={StartTime}&endTime={endTime}&deviceIds={deviceIds}&maxPagesize={maxPagesize}

Any help is appreciated!


Solution

  • While you can get minute-ly summaries for individual activities, summaries for date/time ranges can only be retrieved on an hourly or daily basis.