用于无效原因、放弃原因、删除原因的id和名称映射关系
POST https://qw-openapi-tx.dustess.com/customer/v1/getCustomerReason?accessToken=
Content-Type: application/json| 字段 | 类型 | 描述 | 是否必须 |
|---|---|---|---|
| accessToken | String | accessToken | true |
| 请求参数名 | 类型 | 说明 | 是否必须 |
|---|---|---|---|
| kind | String | 无效原因:"customerInvalidReason",放弃原因:customerGiveUpReason",删除原因:"customerRemovalReason" | ture |
{
"kind": "customerInvalidReason"
}| 响应参数名 | 类型 | 说明 |
|---|---|---|
| success | Bool | 请求状态,true:成功,false:失败_Allowed values: true,false_ |
| code | Int | 响应代码 |
| msg | String | 消息提示 |
| data | Object | 数据信息 |
{
"success": true,
"msg": "",
"data": [
{
"id": "marketActivity",
"name": "市场活动"
},
{
"id": "socialPromotion",
"name": "社交推广"
}
]
} {
"success": false,
"code": 10001,
"msg": "system unknown error",
"data": null
}