POST api/Setting/KH_WEBZH_JD/Update
更新一个互联网账户的京东文旅对接配置。
Request Information
URI Parameters
None.
Body Parameters
JDWebAccountConfigItemName | Description | Type | Additional information |
---|---|---|---|
DWLX |
客户类型。1-地接社,2组团社,3-协议单位,4-地接部门,5-组团部门,7导游员。 |
string |
Required Max length: 1 |
DWID |
客户的ID。 |
string |
Required Max length: 36 |
JDAppId |
当前客户对应的京东APPID . |
string |
Required Max length: 100 |
JDSecrect |
以密文的形式传输,加密方式TripleDes,加密密钥,当前HAWK认证密钥。 |
string |
Required Max length: 200 |
NotifyUrl |
回调地址。 |
string |
Max length: 200 |
NeedNotify |
是否需要回调。1表示是,0表示否。 |
string |
Required Max length: 1 |
Reserve1 |
保留一 |
string |
Max length: 50 |
Reserve2 |
保留二 |
string |
Max length: 50 |
Reserve3 |
保留三 |
string |
Max length: 50 |
EnabledStatus |
启用状态,1表示启用,0表示禁用。 |
string |
Required Max length: 1 |
ShopName |
门店名称。 |
string |
Max length: 25 |
ManagerName |
运营联系人名。 |
string |
Max length: 15 |
ManagerMobile |
运营联系人手机 |
string |
Max length: 11 |
ManagerPhone |
运营联系人电话 |
string |
Max length: 20 |
ManagerEmail |
运营联系人邮箱。 |
string |
Max length: 50 |
Request Formats
application/json, text/json
Sample:
{ "DWLX": "sample string 1", "DWID": "sample string 2", "JDAppId": "sample string 3", "JDSecrect": "sample string 4", "NotifyUrl": "sample string 5", "NeedNotify": "sample string 6", "Reserve1": "sample string 7", "Reserve2": "sample string 8", "Reserve3": "sample string 9", "EnabledStatus": "sample string 10", "ShopName": "sample string 11", "ManagerName": "sample string 12", "ManagerMobile": "sample string 13", "ManagerPhone": "sample string 14", "ManagerEmail": "sample string 15" }
application/xml, text/xml
Sample:
<JDWebAccountConfigItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Setting"> <DWID>sample string 2</DWID> <DWLX>sample string 1</DWLX> <EnabledStatus>sample string 10</EnabledStatus> <JDAppId>sample string 3</JDAppId> <JDSecrect>sample string 4</JDSecrect> <ManagerEmail>sample string 15</ManagerEmail> <ManagerMobile>sample string 13</ManagerMobile> <ManagerName>sample string 12</ManagerName> <ManagerPhone>sample string 14</ManagerPhone> <NeedNotify>sample string 6</NeedNotify> <NotifyUrl>sample string 5</NotifyUrl> <Reserve1>sample string 7</Reserve1> <Reserve2>sample string 8</Reserve2> <Reserve3>sample string 9</Reserve3> <ShopName>sample string 11</ShopName> </JDWebAccountConfigItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
更新一个互联网账户的京东文旅对接配置。
CommonOperationResultName | Description | Type | Additional 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>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.