/api/dataSets/:id/attributes/:code/subsets/:sid/value/:svid

Returns detailed information about the selected subset value for the given data set ID, attribute code and subset ID.

Resource Information

Resource URL

https://service.belladati.com/api/dataSets/:id/attributes/:code/subsets/:sid/value/:svid

HTTP Method

GET

Request Parameters

idData Set identifier. You can find the ID in the response to  /api/dataSets .123
codeAttribute code. You can find the code in the response to  /api/dataSets/:id .L_STATE
sidID of the subsetxELCQrxs09
svidID of the subset valueTr9YXLMtiy

Response Structure

JSON response contains an object with the following definition:


valueThe value can be an attribute member or custom member
idid of the subset
negativeValueBoolean parameter defining if a negative value should be used when calculating the value of parent in a nested subset.
drillDownDisabledBoolean parameter defining if the drill-down functionality is enabled or disabled in a nested subset.


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/dataSets/123/attributes/L_STATE/subsets/xELCQrxs09/value/T9yI2XwdWV

The JSON format response:

{
    "drillDownDisabled": "true",
    "negativeValue": "false",
    "id": "T9yI2XwdWV",
    "value": "Coffee"
}



  • No labels