Worth noting that if you are looking to upgrade to TM1 10.2 and you use the tm1web url api then the syntax has chnaged. See here:
http://www-01.ibm.com/support/docview.wss?uid=swg27039576
Blog of IBM Cognos TM1, Cognos BI, Cognos Express, CDM and other related stuff.