- README
- Update Record
- token
- customer
- device
- fence
- push
- video
- alarm
- audio
- gallery
- fleet
- gps
- Protocol AnalysisPOST
customerTree
Singapore
Singapore
POST
/v2/openapi/customer/tree
Request
Header Params
Authorization
string
required
Body Params application/json
customerId
string | null
optional
Default:
null
Example
{
"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/tree' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"customerId": "null"
}'
Responses
🟢200Success
application/json
Body
code
integer | null
optional
Default:
null
data
array[object (ApiCustomerVO) {9}] | null
optional
Default:
null
id
string | null
optional
Default:
null
pid
string | null
optional
Default:
null
customerName
string | null
optional
Default:
null
customerType
string | null
optional
Default:
null
contactName
string | null
optional
Default:
null
contactTel
string | null
optional
Default:
null
contactMail
string | null
optional
Default:
null
contactAddress
string | null
optional
Default:
null
leaf
boolean | null
optional
Default:
null
msg
string | null
optional
Default:
null
Example
{
"code": 0,
"data": [
{
"id": "",
"pid": "",
"customerName": "",
"customerType": "",
"contactName": "",
"contactTel": "",
"contactMail": "",
"contactAddress": "",
"leaf": false
}
],
"msg": ""
}
Modified at 2024-01-02 08:06:58