paraworld.file.GetChildDirectory
Description
获取某个文件夹下所有的第一级子目录文件夹的数据
Parameters
Example Return XML
<msg xmlns="">
<directories>
<param index="1">
<id type="double">11</id>
<parentID type="double">5</parentID>
<name type="string">Child1</name>
<createDate type="datetime">2008-5-7 15:54:13</createDate>
</param>
<param index="2">
<id type="double">12</id>
<parentID type="double">5</parentID>
<name type="string">Child2</name>
<createDate type="datetime">2008-5-7 15:54:47</createDate>
</param>
</directories>
</msg>
Error Codes
当发生异常时,返回数据中会有一个“errorCode”节点,该节点记录了错误码。0:无异常 500:未知错误 499:提供的数据不完整 498:非法的访问 497:数据不存在或已被删除 496:未登录
Test Cases
case 1
Input:
{
["id"]=5,
["sessionKey"]="dec79cec-a151-476f-954f-027ef8ddac2a",
}
Result:
{
["directories"]={
[1]={
["id"]=11,
["name"]="Child1",
["parentID"]=5,
["createDate"]="2008-5-7 15:54:13",
},
[2]={
["id"]=12,
["name"]="Child2",
["parentID"]=5,
["createDate"]="2008-5-7 15:54:47"
},
},
}
Topic revision: r3 - 2008-05-10
- LiXizhi