IotHub
  1. fleet
IotHub
  • README
  • Update Record
  • token
    • createToken
      POST
    • destroyToken
      POST
  • customer
    • customerPage
      POST
    • customerTree
      POST
  • device
    • command
      • commandSend
      • commandInfoList
      • cutOilElectric
      • getConfig
    • devicePage
      POST
    • deviceTypes
      POST
    • deviceTypeInfo
      POST
    • deviceDataByDeviceIds
      POST
    • deviceDataByCustomerId
      POST
    • deviceTripInfoByTripId
      POST
    • deviceTripsByDeviceId
      POST
    • expandInfoByDeviceId
      POST
    • saveDeviceChannelName
      POST
  • fence
    • fencePage
      POST
    • fenceInfo
      POST
    • addFence
      POST
    • saveFence
      POST
    • delFence
      POST
    • fenceDevices
      POST
    • fenceDeviceUpdate
      POST
    • fenceDeviceDel
      POST
    • fenceDeviceAdd
      POST
  • push
    • README
  • video
    • H5 page
    • H5 Page-V2
    • liveVideo
    • playBackList
    • historicalUpload
    • playBack
    • replaySet
    • taskPage
    • taskDelete
    • getNodes
  • alarm
    • alarmTypeList
    • alarmFilePage
    • alarmFileByAlarmId
    • alarmHistoryPage
    • alarmPageByUser
  • audio
    • README
    • talk
    • talkPlus
  • gallery
    • filePageV2
    • filePage
    • deleteFile
    • capture
    • capturePage
  • fleet
    • faceRecordPage
      POST
  • gps
    • historyData
  • Protocol Analysis
    POST
  1. fleet

faceRecordPage

Singapore
https://mettahub.mettaxiot.com/gps
Singapore
https://mettahub.mettaxiot.com/gps
POST
/v2/openapi/fleet/face/page

Request

Header Params
Authorization
string 
required
Body Params application/json
pageSize
integer  | null 
optional
Default:
10
pageIndex
integer  | null 
optional
Default:
1
deviceIds
string  | null 
optional
deviceIds split by ,
faceIds
string  | null 
optional
faceIds split by ,
contrastTypes
string  | null 
optional
contrastType 0- card comparison; 1- inspection comparison; 2- ignition comparison; 3- leave return comparison;
split by ,
startTime
string  | null 
required
startTime,UTC = 0 yyyy-MM-dd HH:mm:ss
endTime
string  | null 
required
endTime,UTC = 0 yyyy-MM-dd HH:mm:ss
compaResult
integer  | null 
optional
compaResult 0:success 1:fail 2:timeout 3:not enable 4:connect error 5:no driver image 6:terminal face lib empty
Example
{
    "pageSize": "10",
    "pageIndex": "1",
    "deviceIds": "string",
    "faceIds": "string",
    "contrastTypes": "string",
    "startTime": "string",
    "endTime": "string",
    "compaResult": 0
}

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/fleet/face/page' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "pageSize": "10",
    "pageIndex": "1",
    "deviceIds": "string",
    "faceIds": "string",
    "contrastTypes": "string",
    "startTime": "string",
    "endTime": "string",
    "compaResult": 0
}'

Responses

🟢200Success
application/json
Body
code
integer  | null 
optional
data
object (PageResult«FaceRecordInfoVO») 
optional
records
array[object (FaceRecordInfoVO) {9}]  | null 
optional
total
integer  | null 
optional
size
integer  | null 
optional
current
integer  | null 
optional
msg
string  | null 
optional
Example
{
  "code": 0,
  "data": {
    "records": [
      {
        "serialNo": "",
        "deviceId": "",
        "compaResult": 0,
        "contrastType": 0,
        "faceId": "",
        "reportTime": "",
        "lat": 0.0,
        "lon": 0.0,
        "faceImgUrl": ""
      }
    ],
    "total": 0,
    "size": 0,
    "current": 0
  },
  "msg": ""
}
Modified at 2024-11-14 02:17:51
Previous
capturePage
Next
historyData
Built with