Logo
MicroStrategy REST API API Documentation

Get list of smart attributes.

GET {{baseUrl}}/api/model/attributes/:attributeId/smartAttributes

Return a list of references to all smart attributes derived from the base attribute indicated by attributeId

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required) Authorization Token
X-MSTR-ProjectID
string Project ID
X-MSTR-MS-Changeset
string Changeset ID
Accept
string




RESPONSES

status OK

{ "smartAttributes": [ { "objectId": "2DC16948570A45AFBFED5898F4044799", "subType": "attribute_smart", "name": "Day (15 min interval)", "definition": { "smartAttributeType": "15_min_interval", "parameters": [], "ascending": true } } ] }

Curl
curl -X GET 'baseUrl/api/model/attributes/:attributeId/smartAttributes' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-ProjectID: projectId' -H 'X-MSTR-MS-Changeset: rd_changesetId' -H 'Accept: application/json'

ENDPOINTS