- README
- Update Record
- token
- customer
- device
- fence
- push
- video
- alarm
- audio
- gallery
- fleet
- gps
- Protocol AnalysisPOST
customerPage
Singapore
Singapore
POST
/v2/openapi/customer/page
Request
Header Params
Authorization
string
required
Body Params application/json
pageSize
integer | null
optional
Default:
null
pageIndex
integer | null
required
Default:
null
customerName
string | null
optional
Default:
null
customerType
string | null
optional
Default:
null
status
boolean | null
required
Default:
null
customerId
string | null
optional
Default:
null
Example
{
"pageSize": "null",
"pageIndex": "null",
"customerName": "null",
"customerType": "null",
"status": "null",
"customerId": "null"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://mettahub.mettaxiot.com/gps/v2/openapi/customer/page' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageSize": "null",
"pageIndex": "null",
"customerName": "null",
"customerType": "null",
"status": "null",
"customerId": "null"
}'
Responses
🟢200Success
application/json
Body
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": ""
}
Modified at 2024-01-02 08:06:58