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 List | Note | Parameter Type | Mandatory | Default Validity | Legal value |
|---|---|---|---|---|---|
| token | accessToken or userToken | String | Y | ||
| deviceId | Device ID | String | Y |
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 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 |
