基本信息
- 用途说明:客户详情
- 请求方式:POST
- 请求地址:https://api.kingdee.com/weigusoft/wg_crm/wg_customerInfoApi?access_token=
请求参数
headers参数
- 所有的接口必须携带header参数
| 参数名称 | 参数示例 | 是否必填 | 参数说明 |
|---|---|---|---|
| Content-Type | application/json | true | 固定传:application/json |
| groupName | ns-v7g6 | true | 分组名称,获取授权信息时返回的groupName |
| accountId | 16xxxxxxxxxxxx | true | 账套ID,获取授权信息时返回的accountId |
| X-GW-Router-Addr | https://tf.jdy.com | true | IDC域名,获取授权信息时返回的domain |
body参数
| 参数名称 | 必选 | 类型 | 说明 |
|---|---|---|---|
| number | true | String | 客户编码 |
请求示例
{
"number": "CRMKH-20241202-0003"//客户编码
}
响应示例
{
"chacom": {
"thisyearorderm": "0",//本年订单金额
"thisyearordertime": "0",//本年订单次数
"thisyearreceivem": "0",//本年收款金额
"totalorderm": "0",//累计订单金额
"totalchasetime": "0",//累计交易次数
"recentrelatedates": "2025-02-05 17:27:16.0",//最近联系日期
"lastreceivemdates": "",//最后收款日期
"lastorderdates": "",//最近订单日期
"shouldreceivem": "0",//应收款余额
"outdateshouldreceivem": "0",//超期应收款
"totalreceivem": "0",//累计收款
"totalreceivenum": "0",//累计收款余额
"thisyearoutstoragem": "0",//本年出库金额
"totaloutstoragem": "0",//累计出库金额
"recent3yearavgm": "0",//近三年平均进货周期
"businesswinnums": "0",//商机赢单个数
"businesswinm": "0",//商机赢单金额
"thisyearcontractm": "0",//本年合同金额
"thisyearcontractnums": "0",//本年合同数量
"totalcontractm": "0",//累计合同金额
"totalcontractnums": "0",//累计合同数量
"avgcontractm": "0",//平均合同金额
"totalotherbilloutm": "0",//累计其他出库金额
"sampletime": "0"
},
"customer": {
"id": "2096348838817230850",
"customerNo": "CRMKH-20241202-0003",//客户编码
"customerName": "1202客户3",//客户名称
"masterrelater": "",//主联系人
"wg_contact_numberrelate": "",//主联系人手机
"customerClass": "标准客户",//客户分类
"credit": 0,
"tel": "",//固定电话
"address": "",//客户地址
"status": "1",
"nextGjTime": "",
"salesManId": "1394084520470297600",//销售员id
"salesMan": "董素敏",//销售员
"isNewCus": false,
"isTrade": false,//是否交易客户
"createTime": "2024-12-02 09:50:31.0",//创建日期
"contactId": "",
"contactName": "",//联系人
"contactMobile": "",
"contactPhone": "",
"contactAddress": "",
"billStatus": "1",//单据状态
"labs": [//客户标签
{
"id": "113724193477307785",
"name": "6"
}
],
"customerType": "标准客户",
"lastContactDate": "2025-02-05 17:27:16.0",//最近联系日期
"cusDetailedAddress": "",
"cusPostalAddress": "",
"saleDeptId": "1358532443941896192",
"saleDept": "测试部门",//部门
"wgCustttype": "",
"wgParentCustomer": "",//上级客户
"wgProtectStart": "2024-12-02 09:50:31.0",//保护开始日期
"wgProtectEnd": "",//保护结束日期
"wgServiceExpiration": "2024-11-01 00:00:00.0",//服务到期时间
"createrfieldId": "10102023",
"createrfieldName": "董素敏",//创建人
"modifierfieldId": "10102023",
"remark": "",//备注
"modifierfieldName": "董素敏",//修改人
"modifytime": "2025-02-05 17:27:17.0",//修改日期
"custClassName": "标准客户",//客户分类
"custClassId": "2086928943075687424"
}
}