POST api/Guider/RegistInfo/Edit

编辑注册信息,只能编辑未处于“审核通过”状态的导游信息

Request Information

URI Parameters

None.

Body Parameters

GuiderRegistParm
NameDescriptionTypeAdditional information
guidernumber

导游证号。

string

Required

Max length: 20

guidername

导游姓名。

string

Required

Max length: 20

Min length: 2

mobile

手机号码。

string

Required

Max length: 20

verifycode

验证码

string

Required

Max length: 6

pwd

输入的密码,请使用upper_Md5(密码的明文)

string

Required

Max length: 64

identitycode

身份证号

string

Max length: 20

photodir

导游图片的路径

string

None.

openidtype

开放ID的类型,1表示微信OPENID,2表示微信UNIONID ,3表示阿里OPENID,4表示阿里UNIONID

string

Required

Max length: 1

Min length: 1

openidcontent

开放ID的内容。

string

Required

Max length: 64

Request Formats

application/json, text/json

Sample:
{
  "guidernumber": "sample string 1",
  "guidername": "sample string 2",
  "mobile": "sample string 3",
  "verifycode": "sample string 4",
  "pwd": "sample string 5",
  "identitycode": "sample string 6",
  "photodir": "sample string 7",
  "openidtype": "sample string 8",
  "openidcontent": "sample string 9"
}

application/xml, text/xml

Sample:
<GuiderRegistParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.WebInterface">
  <guidername>sample string 2</guidername>
  <guidernumber>sample string 1</guidernumber>
  <identitycode>sample string 6</identitycode>
  <mobile>sample string 3</mobile>
  <openidcontent>sample string 9</openidcontent>
  <openidtype>sample string 8</openidtype>
  <photodir>sample string 7</photodir>
  <pwd>sample string 5</pwd>
  <verifycode>sample string 4</verifycode>
</GuiderRegistParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

编辑注册信息,只能编辑未处于“审核通过”状态的导游信息

CommonOperationResult
NameDescriptionTypeAdditional information
errcode

错误代码,通常0表示成功,其他值表示错误。

integer

None.

errmsg

错误描述,当errcode不为零时,此值可以用于呈现给用户。

string

None.

tag

操作同时,服务器端需要返回的其他值。

string

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": "sample string 3"
}

application/xml, text/xml

Sample:
<CommonOperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <tag>sample string 3</tag>
</CommonOperationResult>