Home / Docs Center / Device API Reference / ModifyDevice Time

ModifyDevice Time

Device API Reference · New API

Project: Device API Documentation (New Version) | page_id: 272

Brief Description:

  • Modify the device time

Request URL:
- /xsw/setTime

Request Method:
- POST

Parameters:

Parameter Required Type Description
date Yes string Number of seconds from 1970 to the current time

Response Example

  {"code":0,"msg":""}

Response Parameter Description

Parameter Type Description
code int 0 success, others failure
msg string Error message

Notes

  • None
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.