UDenwebCustomrOrderService


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

SaveCustomerNew3

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

测试

若要使用 HTTP POST 协议对操作进行测试,请单击“调用”按钮。
参数
dbkey:
customerId:
ManufacturersId:
parentId:
cusotmerName:
customerCode:
privce:
city:
areaValue:
address:
attributionAreaId:
companyPhone:
email:
fax:
remark:
levelId:
staffCommissionerId:
staffId:
signStarDate:
signendDate:
linkManName:
position:
linkManPhone:
QQ:
Account:
pwd:
IsMult:
bankAccountName:
bankName:
bankAccount:
inviceTitle:
taxpayerCode:
sysUserId:
isCoo:
mainBusiness:
LableIds:
StaffDeliveryId:

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/SaveCustomerNew3"

<?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>
    <SaveCustomerNew3 xmlns="http://tempuri.org/">
      <dbkey>string</dbkey>
      <customerId>string</customerId>
      <ManufacturersId>string</ManufacturersId>
      <parentId>string</parentId>
      <cusotmerName>string</cusotmerName>
      <customerCode>string</customerCode>
      <privce>string</privce>
      <city>string</city>
      <areaValue>string</areaValue>
      <address>string</address>
      <attributionAreaId>string</attributionAreaId>
      <companyPhone>string</companyPhone>
      <email>string</email>
      <fax>string</fax>
      <remark>string</remark>
      <levelId>string</levelId>
      <staffCommissionerId>string</staffCommissionerId>
      <staffId>string</staffId>
      <signStarDate>string</signStarDate>
      <signendDate>string</signendDate>
      <linkManName>string</linkManName>
      <position>string</position>
      <linkManPhone>string</linkManPhone>
      <QQ>string</QQ>
      <Account>string</Account>
      <pwd>string</pwd>
      <IsMult>boolean</IsMult>
      <bankAccountName>string</bankAccountName>
      <bankName>string</bankName>
      <bankAccount>string</bankAccount>
      <inviceTitle>string</inviceTitle>
      <taxpayerCode>string</taxpayerCode>
      <sysUserId>string</sysUserId>
      <isCoo>boolean</isCoo>
      <mainBusiness>string</mainBusiness>
      <LableIds>string</LableIds>
      <StaffDeliveryId>string</StaffDeliveryId>
    </SaveCustomerNew3>
  </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>
    <SaveCustomerNew3Response 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>
    <SaveCustomerNew3 xmlns="http://tempuri.org/">
      <dbkey>string</dbkey>
      <customerId>string</customerId>
      <ManufacturersId>string</ManufacturersId>
      <parentId>string</parentId>
      <cusotmerName>string</cusotmerName>
      <customerCode>string</customerCode>
      <privce>string</privce>
      <city>string</city>
      <areaValue>string</areaValue>
      <address>string</address>
      <attributionAreaId>string</attributionAreaId>
      <companyPhone>string</companyPhone>
      <email>string</email>
      <fax>string</fax>
      <remark>string</remark>
      <levelId>string</levelId>
      <staffCommissionerId>string</staffCommissionerId>
      <staffId>string</staffId>
      <signStarDate>string</signStarDate>
      <signendDate>string</signendDate>
      <linkManName>string</linkManName>
      <position>string</position>
      <linkManPhone>string</linkManPhone>
      <QQ>string</QQ>
      <Account>string</Account>
      <pwd>string</pwd>
      <IsMult>boolean</IsMult>
      <bankAccountName>string</bankAccountName>
      <bankName>string</bankName>
      <bankAccount>string</bankAccount>
      <inviceTitle>string</inviceTitle>
      <taxpayerCode>string</taxpayerCode>
      <sysUserId>string</sysUserId>
      <isCoo>boolean</isCoo>
      <mainBusiness>string</mainBusiness>
      <LableIds>string</LableIds>
      <StaffDeliveryId>string</StaffDeliveryId>
    </SaveCustomerNew3>
  </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>
    <SaveCustomerNew3Response xmlns="http://tempuri.org/" />
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

GET /UDenwebCustomrOrderService.asmx/SaveCustomerNew3?dbkey=string&customerId=string&ManufacturersId=string&parentId=string&cusotmerName=string&customerCode=string&privce=string&city=string&areaValue=string&address=string&attributionAreaId=string&companyPhone=string&email=string&fax=string&remark=string&levelId=string&staffCommissionerId=string&staffId=string&signStarDate=string&signendDate=string&linkManName=string&position=string&linkManPhone=string&QQ=string&Account=string&pwd=string&IsMult=string&bankAccountName=string&bankName=string&bankAccount=string&inviceTitle=string&taxpayerCode=string&sysUserId=string&isCoo=string&mainBusiness=string&LableIds=string&StaffDeliveryId=string HTTP/1.1
Host: dhbsmallapi.dinghuovip.com
HTTP/1.1 200 OK

HTTP POST

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

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

dbkey=string&customerId=string&ManufacturersId=string&parentId=string&cusotmerName=string&customerCode=string&privce=string&city=string&areaValue=string&address=string&attributionAreaId=string&companyPhone=string&email=string&fax=string&remark=string&levelId=string&staffCommissionerId=string&staffId=string&signStarDate=string&signendDate=string&linkManName=string&position=string&linkManPhone=string&QQ=string&Account=string&pwd=string&IsMult=string&bankAccountName=string&bankName=string&bankAccount=string&inviceTitle=string&taxpayerCode=string&sysUserId=string&isCoo=string&mainBusiness=string&LableIds=string&StaffDeliveryId=string
HTTP/1.1 200 OK