Getting Started
Official Site
Getting Started
Official Site
  • Document description
  • Read before you start

  • Light application development guide

  • Mobile application development guide

  • Cloud live development guide

  • Desktop application development guide

  • Third party development guide

  • Message push development guide

  • IoT things data model

  • HTTP interface

    • Development specification
    • API privacy policy
    • Postman interface simulation call
    • accessToken: Get administrator token
    • API request example
    • Account docking
    • Push configuration
    • Cloud storage service
    • Equipment management

    • Device configurat

      • Device wifi configuration
      • Equipment dynamic inspection configuration
      • Device storage configuration
      • Device enable configuration
      • Device collection point configuration
      • Device cruise configuration
      • Device video screen configuration
      • Device recording configuration
      • Device Operation
      • Daylight saving time configuration
        • timeZoneConfigByDay: Set Device Time Zone Daylight Saving Time (by time)
        • timeZoneConfigByWeek:Setting device time zone daylight saving time (per week)
        • timeZoneQueryByDay: Query device time zone daylight saving time (by date)
        • timeZoneQueryByWeek:Obtain device time zone daylight saving time (by week)
    • Video equipment

    • Device message
    • Device live broadcast
    • Device lock access
  • Reference documents

The end time of daylight saving time, which means "the day of a month - the day of the month - the day of the week, in minutes.No value means close daylight saving time }, "code":"0", "msg":"Operation is successful." } } ``` Return result |Error code |Description| | :--------| :---------------------| |0 |Operation is successful.| |SN1001 | Abnormal signature| |SN1002 | Signature timeout| |SN1003 | Signature parameter error| |OP1002 | Parameter missing, please confirm parameter| |OP1003 | Invalid parameter (incorrect or null), please modify parameter| |OP1007 | Invalid method call| |OP1009 | No right, cannot operate| |OP1010 | Application is frozen| |OP1011 | Today's call interface reach limit| |TK1002 | Token expired or does not exist, please get token again| |TK1003 | Invalid token, please upload correct token| |DV1007 | Device offline|

#timeZoneQueryByWeek:Obtain device time zone daylight saving time (by week)

###Detailed description

Obtain device time zone daylight saving time (by week).

###Input parameter note

Parameter ListNoteParameter TypeMandatoryDefault ValidityLegal value
tokenaccessToken or userTokenStringY
deviceIdDevice IDStringY

Sample input

"params": {

"token":"At_12345678901234567890123456789012", // [String][Not Null]accessToken or userToken

"deviceId":"TESTQWERXXXX-dfXX-XX" // [String][Not Null]Device ID

}

Sample output

{

"id":"123456",

"result":{

    "data":{

       "areaIndex":"1",[may not return]//Set time zone corresponding to the index value 
       "timeZone":"8",//The time zone of the device is optional. If not, the current configuration of the device shall prevail
       "beginSunTime":"3-1-1 18:59:20",//The start time of daylight saving time, which means "the day of a month - the day of the month - the day of the week, in minutes.No value means close daylight saving time
       "endSunTime":"3-1-1 18:59:20"//The end time of daylight saving time, which means "the day of a month - the day of the month - the day of the week, in minutes.No value means close daylight saving time

    },

    "code":"0",

    "msg":"Operation is successful."

}

}

Return result

Error codeDescription
0Operation is successful.
SN1001Abnormal signature
SN1002Signature timeout
SN1003Signature parameter error
OP1002Parameter missing, please confirm parameter
OP1003Invalid parameter (incorrect or null), please modify parameter
OP1007Invalid method call
OP1009No right, cannot operate
OP1010Application is frozen
OP1011Today's call interface reach limit
TK1002Token expired or does not exist, please get token again
TK1003Invalid token, please upload correct token
DV1007Device offline
timeZoneQueryByDay: Query device time zone daylight saving time (by date)
queryLocalRecordBitmap: Query local recording mask monthly