/api/dataSets/:id/attributes/:code/customMembers/:cmid

Shows detailed information about the custom members with the specified ID.

Resource Information

Resource URL

https://service.belladati.com/api/dataSets/:id/attributes/:code/customMembers/:cmid

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

cmid

ID of the custom member

xqocuMnZuO

Response Structure

JSON response contains one JSON object with following elements:


namename of the custom member
aliasalias of the custom member (optional)
formulaformula of the custom member (optional)
idid of the custom member


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/customMembers/xqocuMnZuO

The JSON format response:


{
    "name""CM1",
    "alias""custom_member_RAPI12",
    "formula""return 10000",
    "id""xqocuMnZuO"
}


  • No labels