BaseType
根据par_id字典表http://[customer-site]/WebApi/Handler/1.0/CRM/BaseType/GetBaseType.ashx 功能:
根据par_id字典表
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/BaseType/GetBaseType.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 par_id True String 标识 Json返回结果:
{"value": value_content(参考字典表List(BaseType)对象)}
关于错误返回值与错误代码,参见 错误代码说明
ContactHistory
根据联系历史id获取联系历史记录http://[customer-site]/WebApi/Handler/1.0/CRM/ContactHistory/Get.ashx 功能:
根据联系历史id获取联系历史记录
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/ContactHistory/Get.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 id True Int32 历史记录id Json返回结果:
{"value": value_content(参考联系历史记录ContactHistory对象)}
关于错误返回值与错误代码,参见 错误代码说明
添加联系记录http://[customer-site]/WebApi/Handler/1.0/CRM/ContactHistory/Add.ashx 功能:
添加联系记录
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/ContactHistory/Add.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 customer_id True Int32 客户id type_id True Int32 联系类别 route_id True Int32 联系方式 link_man_id True Int32 客户联系人ID title True String 标题 content True String 备注 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
ContactPlan
执行联系计划http://[customer-site]/WebApi/Handler/1.0/CRM/ContactPlan/SaveContactPlan.ashx 功能:
执行联系计划
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/ContactPlan/SaveContactPlan.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 plan_id True Int32 计划id customer_id True Int32 客户id type_id True Int32 联系类别(1:销售联系2:客户关怀3:售后回访4:投诉回访5:服务支持6:维修维护7:实施培训) route_id True Int32 联系方式(1:电话2:信函3:邮件4:上门) link_man_id True Int32 客户联系人ID title True String 标题 content True String 备注 next_time True DateTime 计划联系时间,精确到秒。如:2013-05-05 10:25:30 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
根据id获取客户联系计划信息http://[customer-site]/WebApi/Handler/1.0/CRM/ContactPlan/GetContactPlan.ashx 功能:
根据id获取客户联系计划信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/ContactPlan/GetContactPlan.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 id True Int32 计划id Json返回结果:
{"value": value_content(参考客户联系计划CustomerContactPlan对象)}
关于错误返回值与错误代码,参见 错误代码说明
获取客户联系计划数量http://[customer-site]/WebApi/Handler/1.0/CRM/ContactPlan/GetContactPlanCount.ashx 功能:
获取客户联系计划数量
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/ContactPlan/GetContactPlanCount.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": count (数量)}
关于错误返回值与错误代码,参见 错误代码说明
新增联系计划http://[customer-site]/WebApi/Handler/1.0/CRM/ContactPlan/InsertContactPlan.ashx 功能:
新增联系计划
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/ContactPlan/InsertContactPlan.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 plan_id True Int32 计划id title True String 标题 customer_id True Int32 客户ID type_id True Int32 联系类别(1:销售联系2:客户关怀3:售后回访4:投诉回访5:服务支持6:维修维护7:实施培训) route_id True Int32 联系方式(1:电话2:信函3:邮件4:上门) link_man_id True Int32 客户联系人ID history_id True Int32 联系记录ID next_time True DateTime 计划联系时间,精确到秒。如:2013-05-05 10:25:30 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
Contract
商务-合同订单-根据id审核样品赠品订单http://[customer-site]/WebApi/Handler/1.0/CRM/Contract/SampleGiftAuditById.ashx 功能:
商务-合同订单-根据id审核样品赠品订单
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Contract/SampleGiftAuditById.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 orderID True String 订单单号 Json返回结果:
{"value": count (受影响的行数)}
关于错误返回值与错误代码,参见 错误代码说明
商务-合同订单-根据id反审核样品赠品订单http://[customer-site]/WebApi/Handler/1.0/CRM/Contract/SampleGiftUnAuditById.ashx 功能:
商务-合同订单-根据id反审核样品赠品订单
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Contract/SampleGiftUnAuditById.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 orderID True String 订单单号 Json返回结果:
{"value": count (受影响的行数)}
关于错误返回值与错误代码,参见 错误代码说明
根据id审核合同订单http://[customer-site]/WebApi/Handler/1.0/CRM/Contract/ContractAudit.ashx 功能:
根据id审核合同订单
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Contract/ContractAudit.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 id True Int32 合同订单id Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
根据id反审核合同订单http://[customer-site]/WebApi/Handler/1.0/CRM/Contract/ContractUnAudit.ashx 功能:
根据id反审核合同订单
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Contract/ContractUnAudit.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 id True Int32 合同订单id Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
根据id终止合同http://[customer-site]/WebApi/Handler/1.0/CRM/Contract/StopContract.ashx 功能:
根据id终止合同
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Contract/StopContract.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 id True Int32 合同id Json返回结果:
{"value": value (成功:1;失败:-1)}
关于错误返回值与错误代码,参见 错误代码说明
Customer
取消共享http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/CancelShare.ashx 功能:
取消共享
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/CancelShare.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 strIds True String 客户Id Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
取消收藏http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/RemoveCollection.ashx 功能:
取消收藏
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/RemoveCollection.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 userId True Int32 用户id custIdString True String 客户id字符串例如111,222 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
设置客户收藏标识http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/SetCustIdentity.ashx 功能:
设置客户收藏标识
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/SetCustIdentity.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 identityId True Int32 收藏标识id custId True Int32 客户id Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
获取客户信息http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/GetAllList.ashx 功能:
获取客户信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/GetAllList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 pageIndex True Int32 指定当前的页码 pageSize True Int32 指定要返回的记录条数,默认10,最大值100 Json返回结果:
{"value": value_content(参考客户List(Customer)对象)}
关于错误返回值与错误代码,参见 错误代码说明
新增通话历史记录http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/AddCallHistory.ashx 功能:
新增通话历史记录
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/AddCallHistory.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 callState True Int32 通话状态:1 已接 ,0 未接 tel True String 通话号码 userID True Int32 用户ID remark False String 备注 callType True Int32 通话类型 1:来电 2:去电 startTime True DateTime 通话开始时间 endTime True DateTime 通话结束时间 record True Int32 是否录音 1:录音 0:未录音 duration True Int32 时长(秒) ims True String 电信号码 userName True String 用户名称 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
锁定IMS号码http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/IMSLock.ashx 功能:
锁定IMS号码
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/IMSLock.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 userID True Int32 用户ID ims True String 计费号码 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
解除IMS号码锁定http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/UnIMSLock.ashx 功能:
解除IMS号码锁定
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/UnIMSLock.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 ims True String 计费号码 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
发送模板短信http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/InsertSms.ashx 功能:
发送模板短信
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/InsertSms.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 senderID True Int32 发信人 mobilePhone True String 手机号码 receiveName False String 收信人 sendDate True DateTime 发送时间 content True String 内容 sendType True Int32 发送类别:0立即发送 1一次发送 2每天发送 3每周发送 4每月发送 5每年发送 messageTempleID True String 模板ID value1 False String 替换值1 value2 False String 替换值2 value3 False String 替换值3 value4 False String 替换值4 value5 False String 替换值5 value6 False String 替换值6 remark False String 备注 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
更新通话历史记录http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/UpdateCallHistory.ashx 功能:
更新通话历史记录
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/UpdateCallHistory.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 sCallNumber True String 通话号码 dCallTime True DateTime 通话开始时间 bCallState True Int32 通话状态:1 已接 ,0 未接 callType True Int32 通话类型 1:来电 2:去电 teleIms True String 电信IMS号码 displayTel True String 外显号码 endTime True DateTime 通话结束时间 record True Int32 是否录音 1:录音 0:未录音 duration True Int32 通话时长 addUserName True String 当前操作人姓名 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
判断新添加的客户是否重名http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/NameIsRepeat.ashx 功能:
判断新添加的客户是否重名
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/NameIsRepeat.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 sName True String 客户名称 id True Int32 客户id Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
根据id获取客户信息http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/Get.ashx 功能:
根据id获取客户信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/Get.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 id True Int32 客户id Json返回结果:
{"value": value_content(参考客户Customer对象)}
关于错误返回值与错误代码,参见 错误代码说明
保存客户信息http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/Update.ashx 功能:
保存客户信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/Update.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 tran True Data.Common.DbTransaction 事物对象 customer True WebApi.Entity.CRM.Customer 客户Customer对象 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
保存客户信息http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/Save.ashx 功能:
保存客户信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/Save.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 json True String 客户json字符串 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
判断电话是否重复http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/TelIsRepeat.ashx 功能:
判断电话是否重复
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Customer/TelIsRepeat.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 tel True String 电话号码 id True Int32 客户id Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
CustomerSign
获取默认的客户标识http://[customer-site]/WebApi/Handler/1.0/CRM/CustomerSign/GetClientSignDefault.ashx 功能:
获取默认的客户标识
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/CustomerSign/GetClientSignDefault.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": Value (客户标识1:企业2:个人)}
关于错误返回值与错误代码,参见 错误代码说明
获取默认的客户标识http://[customer-site]/WebApi/Handler/1.0/CRM/CustomerSign/GetCustTypeBdefault.ashx 功能:
获取默认的客户标识
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/CustomerSign/GetCustTypeBdefault.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考客户类型List(CRM_Cust_T_CustKind)对象)}
关于错误返回值与错误代码,参见 错误代码说明
CustomerType
获取客户类型列表http://[customer-site]/WebApi/Handler/1.0/CRM/CustomerType/GetTypeList.ashx 功能:
获取客户类型列表
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/CustomerType/GetTypeList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 parent_id True Int32 客户类型父id(0:一级,一级id) Json返回结果:
{"value": value_content(参考客户类型List(CustomerType)对象)}
关于错误返回值与错误代码,参见 错误代码说明
ECommerce
获取系统全部基础信息http://[customer-site]/WebApi/Handler/1.0/CRM/ECommerce/UpdateBaseInfoHit.ashx 功能:
获取系统全部基础信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/ECommerce/UpdateBaseInfoHit.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token False string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 siteKey True String 站点密钥 pkid True Int32 id addHit True Int32 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
添加留言反馈http://[customer-site]/WebApi/Handler/1.0/CRM/ECommerce/AddMessageBoard.ashx 功能:
添加留言反馈
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/ECommerce/AddMessageBoard.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token False string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 siteKey True String 站点密钥 custID True Int32 客户id content True String 留言内容 contact False String 联系人 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
LinkMan
根据客户id获取联系人列表http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/GetList.ashx 功能:
根据客户id获取联系人列表
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/GetList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 custId True Int32 客户id Json返回结果:
{"value": value_content(参考联系人List(LinkMan)对象)}
关于错误返回值与错误代码,参见 错误代码说明
根据联系人id取消主要联系人标识http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/CancelMainMan.ashx 功能:
根据联系人id取消主要联系人标识
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/CancelMainMan.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 id True Int32 联系人id Json返回结果:
{"value": count (受影响的行数)}
关于错误返回值与错误代码,参见 错误代码说明
获取客户联系人列表http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/GetLinkManList.ashx 功能:
获取客户联系人列表
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/GetLinkManList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 cust_id True Int32 客户id Json返回结果:
{"value": value_content(参考客户联系人List(CustomerLinkMan)对象)}
关于错误返回值与错误代码,参见 错误代码说明
根据id获取客户联系人信息http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/GetLinkMan.ashx 功能:
根据id获取客户联系人信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/GetLinkMan.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 id True Int32 联系人id Json返回结果:
{"value": value_content(参考客户联系人CustomerLinkMan对象)}
关于错误返回值与错误代码,参见 错误代码说明
更新联系人http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/SaveLinkMan.ashx 功能:
更新联系人
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/SaveLinkMan.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 tran True Data.Common.DbTransaction 事物处理对象 man True WebApi.Entity.CRM.CustomerLinkMan 联系人CustomerLinkMan对象 Json返回结果:
{"value": count (数量)}
关于错误返回值与错误代码,参见 错误代码说明
新增联系人http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/InsertLinkMan.ashx 功能:
新增联系人
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/InsertLinkMan.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 tran True Data.Common.DbTransaction 事物处理对象 man True WebApi.Entity.CRM.CustomerLinkMan 联系人CustomerLinkMan对象 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
删除联系人http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/DeleteLinkMan.ashx 功能:
删除联系人
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/LinkMan/DeleteLinkMan.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 id True Int32 联系人id Json返回结果:
{"value": count (数量)}
关于错误返回值与错误代码,参见 错误代码说明
Sale
根据客户ID转公共客户http://[customer-site]/WebApi/Handler/1.0/CRM/Sale/SetPublicCust.ashx 功能:
根据客户ID转公共客户
接口地址:
http://[customer-site]/WebApi/Handler/1.0/CRM/Sale/SetPublicCust.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 pkidList True String 客户ID Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明