# Description

查询客户下拉列表

# Scene

查询客户列表,用于页面下拉展示,传入客户编号列表,将返回列表数据

# 接口路径

  • version: 0.0.1
  • https Request Methods: post
  • url: /v1/customer/drop-down,如 https://alpha-engage.gridsumdissector.com/open-api/base/v1/customer/drop-down

# 请求参数

Name Type Description
profileId String

租户id

userId String

登录的用户id

data Object
data.ids String[]

客户ids

如:

{
    "profileId": "",
    "userId": "",
    "data": {
        "ids": ["customerId1", "customerId2"]
    }
}

# 响应参数

Name Type Description
errorCode Number

错误码(0表示成功)

errorMessage String

错误信息

traceId String

追踪id

data Object
data.total Integer

总数

data.rows Object[]
data.rows.id String

id

data.rows.name String

名称