| << Click to Display Table of Contents >> 1.48 获取所有组合报告和组合报告文件夹列表 |     | 
| 请求地址 | http://ip:port/bi/api?action=updatePortalCellTree&token=xxxx | |
| 请求消息 | 请求参数 | 请求参数:xmlData(必填) <?xml version="1.0" encoding="UTF-8"?> <info> <user>admin</user> </info> | 
| 参数描述 | 参数为节点信息: user(非必填):user为想要查看的目标用户。 | |
| 示例 | function updatePortalCellTree() { var xml = getXml(); $.post("http://" + ip + ":" + port + "/" + project + "/api?action= updatePortalCellTree", {xmlData:xml}, function(result) { writeXml(result); }); } | |
| 响应消息 | 响应结果 | 1)操作成功 <?xml version="1.0" encoding="UTF-8"?> <results> <assetref> <name>webapiFolder</name> <type>portalCellFolder</type> <path>webapiFolder</path> </assetref> <assetref> <name>portalcell1</name> <type>portalcell</type> <path>portalcell1</path> </assetref> </results> 
 2)操作失败 <?xml version="1.0" encoding="UTF-8"?> <results> <result> <level>6</level> <message>用户“user1”不存在。</message> </result> </results> | 
| 结果描述 | 响应结果信息为xml,直接parse即可。 1)level 返回类型,不同数值代表不同返回状态,1表示成功, 6表 示失败。 | |