Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

/api/reports/views/:id/table/drilldownConfig

This method returns the drill-down configuration of the table.

Resource Information

Resource URL

https://service.belladati.com/api/reports/views/:id/table/drilldownConfig

HTTP Method

GET

Request Parameters

Parameters

Detail

Example

id

ID of the table. This ID is part of the /api/reports/:id response.

123

Response Structure

Code Block
{ 
  "horizontal" : [
	{
		 ...
	},
	{
		...
	}
  ],
 "vertical" : [
	{
		 ...
	},
	{
		...
	}
  ]
 
}

JSON response contains two arrays, one for horizontal header and one for vertical header. Each contains multiple objects with the following definition:

NameDescription
dataSetDrilldownAttributeCode of the attribute (e.g. L_CITY)
dataSetDrilldownAttributeSubset(Optional) ID of the used subset

Sample request/response

Using curl:

Code Block
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/drilldownConfig

The JSON format response:

Code Block
{
    "horizontal": [
        {
            "dataSetDrilldownAttribute": "L_MARKET"
        }
    ],
    "vertical": [
        {
            "dataSetDrilldownAttribute": "L_PRODUCT_TYPE",
            "dataSetDrilldownAttributeSubset": "a1TtUo017G"
        },
        {
            "dataSetDrilldownAttribute": "L_MARKET"
        }
    ]
}

Next steps

List siblings

...