---+!! =paraword.profile.SetMCML= <div style="float: right; margin: 5px; width: 350px; color: #4e5155; background-color: #f0eded; border: #ccc 1px solid; padding: 5px"> *Contents* %TOC% </div> ---++ Description 修改某个用户的MCML ---++ Parameters |*Required*|*Name*|*Type*|*Description*| |<font color="#4682b4">required</font>|appKey|%BLUE%string%ENDCOLOR%|PE分配给您的应用程序标识键| |^|sessionKey|%BLUE%string%ENDCOLOR%|用户必须登录才能修改数据,并且暂时只修改自己的Profile| |^|profile|%BLUE%string%ENDCOLOR%|某个用户更新后的Profile的MCML表示形式| |<font color="#4682b4">optional</font>|format|%BLUE%int%ENDCOLOR%|要求返回数据的格式(0:XML 1:JSON),默认值为0| ---++ Example Return XML <verbatim> <msg> <isSuccess>true</isSuccess> </msg> </verbatim> ---++ Example Return JSON <verbatim> {"isSuccess":"true"} </verbatim> ---++ Error Codes 当发生异常时,返回数据中会有一个“info”节点,该节点记录了异常信息。 ---++ Test Cases ---+++ case 1 _case_: paraworld.profile.SetMCML Input: <verbatim> { ["profile"] = "<pe:profile uid=\"6ea1ce24-bdf7-4893-a053-eb5fd2a74281\" xmlns:pe=\"http://www.paraengine.com/\"><app1 xmlns=\"\">HELLO WORLD</app1></pe:profile>", ["sessionKey"] = "e03b3286-2e42-49d6-8a74-736223bfedca", ["appKey"] = "fae5feb1-9d4f-4a78-843a-1710992d4e00", } </verbatim> _Result_: <verbatim> Plug-in loaded: NPLWebServiceClient.dll </verbatim> { ["isSuccess"] = true, }
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r5 - 2008-12-08
-
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