Home / Docs Center / GB28181 API Reference / Recording Query

Recording Query

GB28181 API Reference · General

Project: GB28181 API Documentation | page_id: 175

Brief Description
  • Recording query
Request URL
  • /api/gb28181/records
Request Method
  • POST
Parameters
Parameter Required Type Description
id Yes string Device number
channel Yes int Channel number
startTime Yes int64 Start timestamp
endTime Yes int64 End timestamp
Response Example
  {
    "code": 0,
    "msg": "",
    "data": [
        {
        DeviceID: "",
        StartTime: "2021-03-31T11:47:21",
        EndTime: "2021-03-31T12:47:21",
        }
    ]
   }
Response Parameter Description
Parameter Type Description
code int Error code. >0 means failure
msg int Error message
DeviceID int Channel code
StartTime string Start time
EndTime string End time
Notes
  • data is returned from version 1.5 onwards; older versions return it inside the list.
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.