Logo
MicroStrategy REST API API Documentation

Get formatting settings for specific language

GET {{baseUrl}}/api/languages/:id/formattingSettings

Retrieves the formatting settings for a Language based on the Language ID

 

Body PARAM

Key Datatype Required Description 
fields
null Comma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model.



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required) Authorization token




RESPONSES

status OK

{ "formattingSettings": { "timeInterval": { "minutes15": "H:mm", "minutes30": "H:mm", "hour": "H:mm", "day": "dd/MM", "week": "dd/MM", "hourOfDay": "H:mm", "month": "MMM", "quarter": "qqq", "year": "yyyy" } } }



Curl
curl -X GET 'baseUrl/api/languages/:id/formattingSettings?fields=' -H 'X-MSTR-AuthToken: authToken'

ENDPOINTS