/api/reports/reportId
This method performs loading of report details specified by the id
parameter.
Request structure
URL |
|
---|---|
Method |
|
URL parameters |
|
Header parameters |
|
Sample request/response
Using the curl
:
curl --header "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/reports/reportId
The JSON format response:
{ "id" : 7741, "views" : [ { "id" : 24530, "name" : "Overview of selected runs", "type" : "table" }, { "id" : 24531, "name" : "Duration in months", "type" : "chart" }, { "id" : 24532, "name" : "Distances in months", "type" : "chart" }, { "id" : 24533, "name" : "Distances of selected runs", "type" : "chart" }, { "id" : 24534, "name" : "Calories in months", "type" : "chart" }, { "id" : 24535, "name" : "Differences between months", "type" : "chart" } ], "name" : "Run analysis", "owner" : "Lubomír Micko", "dataSet" : { "drilldownAttributes" : [ { "name" : "description", "code" : "L_DESCRIPTION" }, { "name" : "equipmentType", "code" : "L_EQUIPMENTTYPE" }, { "name" : "name", "code" : "L_NAME" } ] }, "lastChange" : "Tue, 22 May 2012 17:16:31 GMT" }
Next steps
- Get charts and tables as an image
- Load and add comments to the report
Overview
Content Tools