String url = APIUtil.contextualizeUrl(getApiBaseUrl(), getApiVersion(), "/user/" + fitbitUser.getId() + "/bp/date/" + DateTimeFormat.forPattern("yyyy-MM-dd").print(date), APIFormat.JSON);
Response res = httpGet(url, true);
throwExceptionIfError(res);
try {
return new Bp(res.asJSONObject());
} catch (JSONException e) {
throw new FitbitAPIException("Error retrieving blood pressure: " + e, e);
}
}