Where is the documentation for the TM1 Rest API? e.g. for method "ExecuteMDX"?
You should be able to find it on IBM sites. Here is one:
It may also be helpful to set up swagger-ui and go through $metadata document