paraworld.map.UpdateWorld
Description
修改指定的World。只有该World的所有者和Paraworld的管理者有权限执行此功能。
Parameters
Required |
Name |
Type |
Description |
required |
worldID |
int |
被修改的World的ID |
optional |
ageGroup |
int |
指定新的适应年龄人群。1:儿童;2:青少年;3:成人;4:大众 |
optional |
price |
int |
指定新的售价 |
optional |
type |
int |
指定新的类别 |
required |
sessionKey |
string |
用户凭证。 |
optional |
name |
string |
指定新的名称 |
optional |
desc |
string |
指定新的描述 |
optional |
preview |
string |
指定新的截图的URL |
optional |
location |
string |
指定新的地理位置 |
Example Return XML
<msg xmlns="">
<isSuccess type="boolean">True</isSuccess>
</msg>
Error Codes
当发生异常时,返回数据中会有一个“errorCode”节点,该节点记录了错误码。0:无异常 500:未知错误 499:提供的数据不完整 498:非法的访问 497:数据不存在或已被删除 496:未登录
Test Cases
case 1
Input:
{
["desc"]="new desc",
["name"]="new name",
["worldID"]="3",
["sessionKey"]="6ea1ce24-bdf7-4893-a053-eb5fd2a74281",
}
Result:
{
["isSuccess"]=true,
}
Topic revision: r3 - 2008-09-25
- CaoYF