Logo
MicroStrategy REST API API Documentation

Create a new custom calendar object

POST {{baseUrl}}/api/model/calendars

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
X-MSTR-AuthToken
string (Required)
X-MSTR-MS-Changeset
string (Required)




RESPONSES

status





Curl
curl -X POST 'baseUrl/api/model/calendars' -H 'X-MSTR-AuthToken: authToken' -H 'X-MSTR-MS-Changeset: rd_changesetId' -d '{"information":{"name":"new custom calendar"},"baseCalendar":{"objectId":"1414DF67F20B4E4F910E418C8DCE7274"},"tablePrefix":"MSTR_","calendarBegin":{"dynamicYearOffset":-5},"calendarEnd":{"staticYear":"2022"},"weekStartDay":"Sunday"}'

ENDPOINTS