BellaDati Technical Documentation : GET Filter attribute values

/api/reports/:id/filter/drilldownAttributeValues

Lists members for provided attribute.

Resource Information

Parameters

Parameters

Detail

id

ID of the report to fetch. You can find the ID in the response to /api/reports
Example: 123

filter
(optional)

If set, the result only contains attribute values that contain the filter text.
Example: Sales

code

The code of the attribute
Example: L_CITY

selectedValues
(optional)

List of already selected values

Example: Prague, London, Seoul, Chicago

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/report/1/filter/drilldownAttributes?filter=Pr&code=L_CITY

The JSON format response:

{
  "values" : [
    {
      "value" : "Prague",
      "caption" : "Prague",
    }
  ],
}