我正在尝试从 Cloud API 加载数据,但我不知道从何时开始我的请求。在设备 API 中有“createdDate”键,但它从未填充过。
有没有办法在不询问用户的情况下从 API 中找到这些信息?
最佳答案
当我查询 Profile API 时,我看到“createdTime”在我的个人资料中正确显示。
要求:
GET https://api.microsofthealth.net/v1/me/Profile
回复:
{
"firstName":"John",
"lastName":"",
"birthdate":"",
"postalCode":"",
"gender":"Male",
"height":19055,
"weight":549575,
"preferredLocale":"en-US",
"lastUpdateTime":"2016-06-04T00:07:58.950+00:00",
"createdTime":"2015-10-09T18:26:53.498+00:00"
}
关于microsoft-band - 微软健康 API : Getting Account Creation Date,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35499484/