/api/reports/views/:id/table/leftHeader
This method returns left header in form of HTML.
Resource Information
Resource URL | https://service.belladati.com/api/reports/views/:id/table/leftHeader |
HTTP Method |
|
Request Parameters
Parameters | Detail | Example | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID of the table. This ID is part of the | 123 | ||||||||||||
| (Optional) Filter applied to the table, with following structure:
| { "drilldown": { "L_COUNTRY_OR_AREA": { "op": "EQ", "value": "Slovakia" }, "L_TYPE": { "op": "IN", "values": [ "Type 1", "Type 2", "Type 3" ] }, "L_DATE": { "op": "NOT_NULL" }, "L_PRODUCT":{ "op":"COUNT", "countOp":"LTE", "value":"816" } } } | ||||||||||||
| (Optional) Rows from. | 10 | ||||||||||||
| (Optional) Rows to. | 15 |
When parameters rowsFrom and rowsTo are not specified, only one row is returned.
Sample request/response
Using curl
:
curl -H "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/views/1234/table/leftHeader
The JSON format response:
{ "content":"<tr><th class=\"hasAfter\">Revenue<\/th><th ddlevel=\"0\" data-tooltip=\"Country\" class=\"drillCell ddlevel0\">Canada<\/th><\/tr>" }
Next steps
Overview
Content Tools