请求方式:
GET
请求地址:
https://api.eshouhou.cn/open/v2/Customer/GetCustomer?access_token=eXNoNTRkZDRmOGFyaW5meCY2YTgyNTFiYS1jZTY0LTQ2YjctYTUwNS1hNGU1NjAwMzI3MDYmMTIw
请求参数:
参数 | 类型 | 必填 | 名称 | 备注 |
customerId | string | 是 | 客户档案id | |
serviceNetworkId | string | 是 | 服务网点id | |
serviceNetworkType | int | 是 | 网点类型 | 网点类型(1总部,2网点);默认1 |
返回参数:
参数 | 类型 | 必填 | 名称 |
ResultCode | String | 是 | 返回编码 |
ErrorMsg | String | 否 | 返回信息 |
ResultValue | Array | 否 | 返回对象集合 |
ResultValue对象:
参数 | 类型 | 必填 | 名称 | 备注 |
ShowType | string | 是 | 展示类型 | 展示类型:0纯展示,1回单图片,2服务项目,3使用备件,4回收备件,5客户签名,6客户标签 |
Key | string | 是 | 名称 | |
Value | string | 否 | 值 |
请求示例:
https://api.eshouhou.cn/open/v2/Customer/GetCustomer?serviceNetworkId=bd7fc093-0ccf-4335-9daf-10931b4e7c7d&serviceNetworkType=1&customerId=dc540ce7-5bc5-4275-b8fa-2004eb5839e3
返回成功示例:
{ "ResultCode": 0, "ErrorMsg": "", "ResultValue": [ { "ShowType": 0, "Key": "客户编号", "Value": "CF00000179" }, { "ShowType": 0, "Key": "客户名称", "Value": "胡效鑫1" }, { "ShowType": 0, "Key": "联系人", "Value": "胡效鑫1" }, { "ShowType": 0, "Key": "联系电话", "Value": "18539622352" }, { "ShowType": 0, "Key": "邮箱", "Value": "903146517@qq.com" }, { "ShowType": 0, "Key": "固定电话", "Value": "0108888888" }, { "ShowType": 0, "Key": "统一社会信用码", "Value": "91110108339719567A" }, { "ShowType": 0, "Key": "住所", "Value": "住所" }, { "ShowType": 0, "Key": "发票抬头", "Value": "发票抬头" }, { "ShowType": 0, "Key": "开户行", "Value": "开户行" }, { "ShowType": 0, "Key": "银行账户", "Value": "银行账号" }, { "ShowType": 0, "Key": "备注", "Value": "备注" }, { "ShowType": 0, "Key": "国家/地区", "Value": "中国" }, { "ShowType": 0, "Key": "所属区域", "Value": "北京市-北京市-通州区" }, { "ShowType": 0, "Key": "详细地址", "Value": "东郊森林公园-华北树木园" }, { "ShowType": 0, "Key": "默认服务网点", "Value": "安徽服务商" }, { "ShowType": 0, "Key": "维护人员", "Value": "我是测试" }, { "ShowType": 6, "Key": "客户标签", "Value": "普通客户、VIP客户、高级客户" }, { "ShowType": 0, "Key": "客户来源", "Value": "展会获取13" }, { "ShowType": 0, "Key": "客户等级", "Value": "123" }, { "ShowType": 0, "Key": "发票类型", "Value": "增值税专用发票" }, { "ShowType": 0, "Key": "单选", "Value": "" }, { "ShowType": 0, "Key": "创建时间", "Value": "2022-01-15" }, { "ShowType": 0, "Key": "最近服务日期", "Value": "2023-03-07" } ] } |