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

查询客户和客户分组信息(API名称:getPagedCustomerList)

功能介绍

通过此服务,可查询到客户和客户分组信息 。

相关接口

接口名称

调用说明

获取Token

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

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

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

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

Authorization

bearer ${access_token}

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

请求参数

参数

类型

是否必填

描述

po.customerCode

String

客户编码,支持右模糊查询。

po.customerName

String

客户名称,支持右模糊查询。

po.customerGroupName

String

客户分组名称,支持右模糊。

page.start

Integer

分页起始下标。

page.count

Integer

每页数。

响应参数

参数

类型

描述

tenantId

Long

租户ID。

customerId

Long

客户ID。

customerCode

String

客户编码。

customerName

String

客户名称。

customerGroupName

String

客户分组名称。

customerGroupCode

String

客户分组名称。

请求示例

{
  "page.count": 15,
  "page.start": 0, 
  "po.customerCode": "AAA",
  "po.customerGroupCode": "TE",
  "po.customerName": "AAA"
}

响应示例

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

    相关文档

    相关产品