文档首页> ISDP> API参考> API接口> 基础数据管理> 批量查询客户和客户分组信息(API名称:batchFindCustomerList)
更新时间:2024-01-18 GMT+08:00
分享

批量查询客户和客户分组信息(API名称:batchFindCustomerList)

功能介绍

通过此服务,可查询到客户和客户分组信息,,如果不存在或者存在多个直接报错 。

相关接口

接口名称

调用说明

获取Token

调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

https://isdp+域名/openapi/v1/customerFacede/batchFindCustomerList

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

Authorization

bearer ${access_token}

bearer +“ ”+5.2.1中获取的access_token的值

请求参数

参数

类型

是否必填

描述

po

Arrays

Data如下。

Data:

参数

类型

是否必填

描述

customerNo

Arrays

客户名称,仅精确查询。

customerName

String

客户名称,仅精确查询。

响应参数

参数

类型

描述

tenantId

Long

租户ID。

customerCode

String

客户编码。

customerName

String

客户名称。

customerGroupName

String

客户分组名称。

customerGroupCode

String

客户分组名称。

请求示例

{
  "po":[
    {
      " customerCode":" AAAAA",
      " customerName":" AAAAAB "
},
    {
      " customerCode":" AAA1",
      " customerName":" AAAAA2"
    }
 
 ]
}

响应示例

{
    "data":[
        {
            "customerCode":"AAA1",
            "customerName":"AAAAA2",
            "tenantId":1008611,
            "customerGroupName":"TEST",
            "customerGroupCode":"TX"
        },
        {
            "customerCode":"AAAAA",
            "customerName":"AAAAAB",
            "tenantId":1008611,
            "customerGroupName":"TEST",
            "customerGroupCode":"TX"
        }
    ],
    "pos":0,
    "total_count":2,
    "entityName":null,
    "totalCount":2
}
分享:

    相关文档

    相关产品