customerPage
POST
/v2/openapi/customer/pageRequest
Body Params application/json
pageSize
integer | null
optional
pageSize,default 100,can't change
Default:
null
pageIndex
integer | null
required
Default:
null
customerName
string | null
optional
customerName
Default:
null
customerType
string | null
optional
customerType 1-Dealer 2-Company 3-Person
Default:
null
status
boolean | null
required
status true:Valid false:Invalid
Default:
null
customerId
string | null
optional
If not specified, it will query all
Default:
null
Example
{
"pageSize": "null",
"pageIndex": "null",
"customerName": "null",
"customerType": "null",
"status": "null",
"customerId": "null"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer | null
optional
Default:
null
data
object (PageResult«ApiCustomerVO»)
optional
records
array[object (ApiCustomerVO) {9}] | null
optional
Default:
null
total
integer | null
optional
Default:
null
size
integer | null
optional
Default:
null
current
integer | null
optional
Default:
null
msg
string | null
optional
Default:
null
Example
{
"code": 0,
"data": {
"records": [
{
"id": "",
"pid": "",
"customerName": "",
"customerType": "",
"contactName": "",
"contactTel": "",
"contactMail": "",
"contactAddress": "",
"leaf": false
}
],
"total": 0,
"size": 0,
"current": 0
},
"msg": ""
}
Last modified: 1 年前