Customer List

Query customer list, paging

It is suitable for white label users to query all customer information. Considering that there are a large number of customers, they can be obtained in batches. The quantity of each batch can be specified. The default maximum is no more than 2,000 items.

Customer basic information

post

version=0.0.1 bizType=customer.admin.WhiteCustomerAdminApiService.page

Header parameters
tracestringRequired

Global link unique identifier

Example: {{mock_trace}}
tokenstringRequired

Authentication code

Example: {{auto_token}}
versionstringRequired

Interface version number

Example: 0.0.1
companyIdstringRequired

Company ID

Example: {{company}}
Body
customerNostringRequired

Customer Number

sizenumberOptional

Number of rows displayed per page, default is 20

currentnumberOptional

Current page, default is 1

Responses
200
Success
application/json
post
POST /openapi-b/customer.admin.WhiteCustomerAdminApiService.page HTTP/1.1
Host: pre-api-test.cmfbl.com
trace: text
token: text
version: text
companyId: text
Content-Type: application/json
Accept: */*
Content-Length: 41

{
  "customerNo": null,
  "size": 20,
  "current": 1
}
200

Success

{
  "bizCode": "",
  "code": "",
  "data": {
    "current": 0,
    "records": [
      {
        "agentCustomerNo": "",
        "companyId": 0,
        "createTime": 0,
        "customerGroupId": 0,
        "customerGroupName": "",
        "customerNo": "",
        "customerType": 0,
        "email": "",
        "firstAccountActivateTime": 0,
        "firstName": "",
        "id": 0,
        "idCard": "",
        "idCardType": "",
        "lastName": "",
        "loginTime": 0,
        "name": "",
        "openAccountType": 0,
        "phone": "",
        "phoneArea": "",
        "registerSource": 0,
        "remark": "",
        "status": 0,
        "tgUserId": "",
        "tgUserName": "",
        "thirdAccountNo": "",
        "thirdLoginSource": "",
        "thirdUserId": "",
        "unitId": 0,
        "unitName": "",
        "updateTime": 0
      }
    ],
    "size": 0,
    "total": 0
  },
  "fail": true,
  "msg": "",
  "msgParams": "",
  "ok": true,
  "tm": 0,
  "trace": ""
}

Last updated