---+!! =paraworld.map.GetMapMarkOfPage= <div style="float: right; margin: 5px; width: 250px; color: #4e5155; background-color: #f0eded; border: #ccc 1px solid; padding: 5px"> *Contents* %TOC% </div> ---++ Description 取得某用户的某种类型的MapMark中某一页的数据 ---++ Parameters |*Required*|*Name*|*Type*|*Description*| |<font color="#4682b4">required</font>|ownerUserID|%BLUE%string%ENDCOLOR%|所有者用户ID| |^|markType|%BLUE%int%ENDCOLOR%|Mark类型,若为0,则不计| |^|pageSize|%BLUE%int%ENDCOLOR%|每页的数据量| |^|pageIndex|%BLUE%int%ENDCOLOR%|第几页,从0开始计| ---++ Example Return XML <verbatim> <msg> <pageCount type="double">1</pageCount> <marks> <param index="1"> <markID type="double">4</markID> <markType type="double">1</markType> <markTitle type="string">Test Mark1</markTitle> <markStyle type="double">2</markStyle> <x type="double">3.0517578125E-05</x> <y type="double">3.0517578125E-05</y> <isApproved type="boolean">True</isApproved> </param> <param index="2"> <markID type="double">3</markID> <markType type="double">1</markType> <markTitle type="string">Test Mark2</markTitle> <markStyle type="double">2</markStyle> <x type="double">0</x> <y type="double">3.0517578125E-05</y> <isApproved type="boolean">True</isApproved> </param> </marks> </msg> </verbatim> ---++ Error Codes 当发生异常时,返回数据中会有一个“errorCode”节点,该节点记录了错误码。0:无异常 500:未知错误 499:提供的数据不完整 498:非法的访问 497:数据不存在或已被删除 496:未登录 ---++ Test Cases ---+++!! case 1 Input: <verbatim> { ["markType"]=0, ["pageIndex"]=0, ["pageSize"]=5, ["ownerUserID"]="fae5feb1-9d4f-4a78-843a-1710992d4e70", } </verbatim> _Result_: <verbatim> { ["pageCount"]=1, ["marks"]={ [1]={ ["markTitle"]="Test Mark1", ["x"]=0.38818359375, ["isApproved"]=true, ["markType"]=1, ["markStyle"]=22, ["markID"]=9, ["y"]=0.7001953125, }, [2]={ ["markTitle"]="Test Mark2", ["x"]=8.392333984375e-005, ["isApproved"]=true, ["markType"]=1, ["markStyle"]=21, ["markID"]=7, ["y"]=6.103515625e-005, }, }, } </verbatim>
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2008-06-10
-
CaoYF
Home
Site map
CCWeb web
HaqiTeen web
Main web
ParaEngine web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
导航页WebTopMenu
Preferences
开发指南
Getting Started
ParacraftSDK
NPL
MCML
NPL Reference Manual
美术Mod
Account
Log In
English
简体中文
簡體中文
E
dit
A
ttach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback