<< Click to Display Table of Contents >> Delete portalcell folder |
![]() ![]() ![]() |
Supported version: 8.5.1 and later
Request address |
http://ip:port/bi/api?action=delPortalCellFolder&token=xxxx |
|
Request message |
Request parameter |
required parameter : xmlData(required) <?xml version="1.0" encoding="UTF-8"?> <info> <path>test2</path> <type>portalCellFolder</type> </info> |
parametric description |
Parameter is node information: 1)path(required): The path of the portalcell folder. 2)type(required): The type of the portalcell folder that you added does not need to be modified. |
|
Sample |
function delPortalCellFolder() { var xml = getXml(); $.post("http://" + ip + ":" + port + "/" + project + "/api?action=delPortalCellFolder&token=xxxx", {xmlData : xml}, function(result) { writeXml(result); }); } |
|
Response message |
Response result |
1)Successful operation <?xml version="1.0" encoding="UTF-8"?> <results> <result> <level>1</level> <message>Delete successfully.</message> </result> </results> 2)Operation failure <?xml version="1.0" encoding="UTF-8"?> <results> <result> <level>6</level> <message>Asset not found: test2.</message> </result> </results> |
Result description |
The response result information is xml, direct parse. Level return type, different values represent different return status, 1 indicates success, 6 indicates failure. |