功能说明:获取所有客户类别
请求方式:POST(HTTPS)
请求地址:https://qwif.do1.com.cn/qwcgi/api/crm/client/getClientTypeList.do?token=token&corpId=corpId
CrmApi api = QwSdkUtil.getInter(CrmApi.class);
// 调用接口
ApiCrmClientTypeListResultVO result = api.getClientTypeList(
QwSdkUtil.getCacheToken());
System.out.println(JSONUtil.stringify(result));
{
"code":"0",
"data":
{
"clientTypeList":
[
{
"childrenType":
[
{
"typeId":"afbcf1fa-d34f-41d2-9095-1990bb13d01c",
"typeName":"金卡"
},
{
"typeId":"e6d3001f-2b03-43b6-80ee-965153a4c5e0",
"typeName":"银卡"
}
],
"typeId":"afbcf1fa-d34f-41d2-9095-1990bb13d01c",
"typeName":"vip用户"
},
{
"typeId":"212199501eb84c6c950709999cf7eff0",
"typeName":"普通用户"
},
{
"childrenType":
[
{
"childrenType":
[
{
"typeId":"61cd92eb-8df1-4eb2-9e88-74c539a36854",
"typeName":"测试用户A"
},
{
"typeId":"b122ea53-e525-4676-be14-72657adb0643",
"typeName":"测试用户B"
}
],
"typeId":"9fca0f7f93d54d1096473f1c946ced92",
"typeName":"测试用户"
}
],
"typeId":"3d1f3b1274c24487a6ede15287c5e13e",
"typeName":"其他用户"
}
]
},
"desc":"成功"
}
|
参数 |
说明 |
备注 |
|---|---|---|
|
typeId |
客户类别Id |
|
|
typeName |
客户类别名 |
|
|
childrenType |
子类别 |
|