Get history list message
GET {{baseUrl}}/api/historyList/:messageId?objectType=report_definition
Get details of a message specified by message id from history list
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
objectType | string | (Required) Object type | |
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 | |
X-MSTR-ProjectID | string | Project ID (Sets the context of the request; project, or configuration. For project objects it must be supplied, and for configuration level objects it's omitted) | |
Accept | string |
RESPONSES
status: OK
{"messageId":"D90DC9A7054111CCBEF856856B0A3354","title":"Simple Report","stateId":-1,"saveStateId":0,"serverStateId":0,"messageType":"active","status":"new_message","sequenceNumber":1,"parentId":"00000000000000000000000000000000","clientType":"MicroStrategyLibrary","requestType":"report","requestStatus":"result","startTime":"12/20/22 10:11:21 PM","finishTime":"12/20/22 10:11:21 PM","targetInfo":{"creationTime":"12/20/22 10:11:21 PM","modificationTime":"12/20/22 10:11:21 PM","objectId":"E659E86811E58C918D6F0080EF453539","type":"report_definition","objectDesc":"","objectCreator":"Administrator","folderId":"13557B804DF35080B1704698620187E1","folderName":"Ad hoc Reporting"},"projectId":"B7CA92F04B9FAE8D941C3E9B7E0CD754","projectName":"MicroStrategy Tutorial","messageText":"User request is completed.","displayName":"Simple Report","ownerName":"Guest","locale":1033,"language":"English (United States)","jobStats":{"startTime":"12/20/22 10:11:21 PM","finishTime":"12/20/22 10:11:21 PM","totalRows":24,"totalColumns":2,"cacheUsed":true,"jobId":"57952612","sql":"Tables Accessed:\nTable2\t[L_REGION]:\tRegion, \t\tLOOKUP_TABLE\t\nTable9\t[F_MAIN_INDEX]:\tCountry, Year, Region, Quarter, Month of Year, Call Center, Manager, Employee, Month, \tDiscount %, Profit Forecast, Employee Headcount, Profit Margin, Profit per Employee, Discount, Revenue, Units Sold, Profit, Cost, Revenue Forecast, Revenue per Employee, \tFACT_TABLE\t\n\n\n\n\nselect\t[Region]@[REGION_ID],\n\t[Region]@[REGION_NAME],\n\t[Year]@[YEAR_ID],\n\tsum([[F_MAIN_INDEX].Cost])@{[Region],[Year]} as [Cost],\n\tsum([[F_MAIN_INDEX].Revenue])@{[Region],[Year]} as [Revenue]\nfrom\tIntelligent Cube - Geography\nwith Table Join Tree: \t[F_MAIN_INDEX]\n\n[Analytical engine calculation steps:\n\t1. Perform cross-tabbing\n]\n"},"messageStats":{"language":"English (United States)","owner":"Guest","creationTime":"12/20/22 10:11:21 PM","lastUpdateTime":"12/20/22 10:11:21 PM","status":"result","readStatus":"new_message","requestType":"report","application":"MicroStrategyLibrary","messageId":"D90DC9A7054111CCBEF856856B0A3354","messageText":"User request is completed."}}