UDenwebCustomrOrderService


单击此处,获取完整的操作列表。

SaveCustomerJson

接口说明:新增或修改客户信息(供货端)
dbkey: 数据库名称
customerid: 客户Id 修改时该参数必填
ManufacturersId: 所属的经销商/厂家Id 必填
cusotmerName: 客户名称必填
customerCode: 客户编码
privce: 省份(数据保存对应的Int值) 必填
city: 城市 必填
area: 区 必填
address: 详情地址 必填
attributionAreaId:所属区域 必填
companyPhone: 公司电话
email: 邮箱
fax: 传真
remark: 备注
levelId: 客户等级(等级Id) 必填
staffId: 业务员(Id),多业务员非标开启后传默认业务员Id
signStarDate:签约开始时间
signendDate: 签约结束时间
linkManName: 联系人 必填
linkManPhone: 联系人电话 必填
QQ:QQ
Account: 账号 必填
password: 密码 必填(修改时可以为空)
IsMult: 是否开通多级(bool类型 true 或 false) 必填
bankAccountName: 开户银行名称
bankName:银行名称
bankAccount:银行账号
inviceTitle: 发票抬头
taxpayerCode:纳税人识别号
BirthDay:生日
IsExclusive:是否专属
mulStaffIds:多选业务员

测试

若要使用 HTTP POST 协议对操作进行测试,请单击“调用”按钮。
参数
paramJson:

SOAP 1.1

以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。

POST /UDenwebCustomrOrderService.asmx HTTP/1.1
Host: dhbsmallapi.dinghuovip.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SaveCustomerJson"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SaveCustomerJson xmlns="http://tempuri.org/">
      <paramJson>string</paramJson>
    </SaveCustomerJson>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SaveCustomerJsonResponse xmlns="http://tempuri.org/" />
  </soap:Body>
</soap:Envelope>

SOAP 1.2

以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。

POST /UDenwebCustomrOrderService.asmx HTTP/1.1
Host: dhbsmallapi.dinghuovip.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SaveCustomerJson xmlns="http://tempuri.org/">
      <paramJson>string</paramJson>
    </SaveCustomerJson>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SaveCustomerJsonResponse xmlns="http://tempuri.org/" />
  </soap12:Body>
</soap12:Envelope>

HTTP GET

以下是 HTTP GET 请求和响应示例。所显示的占位符需替换为实际值。

GET /UDenwebCustomrOrderService.asmx/SaveCustomerJson?paramJson=string HTTP/1.1
Host: dhbsmallapi.dinghuovip.com
HTTP/1.1 200 OK

HTTP POST

以下是 HTTP POST 请求和响应示例。所显示的占位符需替换为实际值。

POST /UDenwebCustomrOrderService.asmx/SaveCustomerJson HTTP/1.1
Host: dhbsmallapi.dinghuovip.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

paramJson=string
HTTP/1.1 200 OK