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 } } ``` Sample output ```json { "id":"123456", "result": { "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| AreaIndex, timeZone correspondence: |areaIndex | timeZone |city| | :--- | :--- | :--------------------------------------- | |0 | 32 | international date line West| |1 | 31 | -11 UTC| |2 | 30 | Hawaii| |3 | 29 | Alaska| |4 | 28 | Pacific time (United States and Canada)| |5 | 28 | Baja California| |6 | 27 | Chihuahua, La Paz, Mazatlan| |7 | 27 | Mountain time (United States and Canada)| |8 | 27 | Arizona| |9 | 26 | Guadalajara, Mexico City, Monterrey| |10| 26 | Saskatchewan| |11| 26 | Central time (United States and Canada)| |12| 26 | Central America| |13| 25 | Bogota, Lima| |14| 25 | Eastern time (United States and Canada)| |15| 25 | Indiana (East)| |16| 24 | Caracas| |17| 24 | Atlantic time (Canada)| |18| 24 | Cuiaba| |19| 24 | Georgetown, La Paz, Manaus, San Juan| |20| 24 | San Diego| |21| 24 | Asunción| |22| 23 | Newfoundland| |23| 22 | Brasilia| |24| 22 | Buenos Aires| |25| 22 | Greenland| |26| 22 | Cayenne, Fortaleza| |27| 22 | Montevideo-Asian| |28| 22 | El Salvador| |29| 21 | -02 UTC| |30| 21 | mid-Atlantic| |31| 20 | Cape Verde Islands| |32| 20 | Azores| |33| 0 | Dublin, Edinburgh, Lisbon, London| |34| 0 | Casablanca| |35| 0 | mengluoweiya, Reykjavik| |36| 0 | coordinated universal time| |37| 1 | Tripoli| |38| 1 | Amsterdam, Berlin, Bern, Rome, sitegeermo, Viana do Castelo| |39| 1 | Belgrade, buladesilafa, Budapest, lubueryana, Prague| |40| 1 | Brussels, Copenhagen, Madrid, Paris| |41| 1 | Sarajevo, Skopje, Warsaw, Zagreb| |42| 1 | Windhoek| |43| 1 | West Central Africa| |44| 2 | Beirut| |45| 2 | Damascus| |46| 2 | Eastern Europe| |47| 2 | Harare, Pretoria| |48| 2 | Helsinki, base shop, Riga, Sofia, Tallinn, Vilnius| |49| 2 | Cairo| |50| 2 | Athens, Bucharest| |51| 2 | +02 UTC| |52| 3 | yisitabuer| |53| 3 | Amman| |54| 3 | Baghdad| |55| 3 | Kaliningrad, Minsk| |56| 3 | Kuwait, Riyadh| |57| 3 | Nairobi| |58| 4 | Tehran| |59| 5 | Abu Dhabi, Muscat| |60| 5 | Yerevan| |61| 5 | Baku| |62| 5 | Tbilisi| |63| 5 | Port Louis| |64| 3 | Moscow, St Petersburg, Volgograd| |65| 6 | Kabul| |66| 7 | asihabade, Marrakech| |67| 7 | Islamabad, Karachi| |68| 8 | Chennai, Kolkata, Mumbai, New Delhi| |69| 8 | silijiaya Worcester lamp Pula| |70| 9 | Kathmandu| |71| 10 | Astana| |72| 10 | Dhaka| |73| 10 | Yekaterinburg| |74| 11 | Yangon| |75| 12 | Bangkok, Hanoi, Jakarta| |76| 12 | Novosibirsk| |77| 13 | Beijing, Chongqing, Hong Kong S.A.R., Urumqi| |78| 13 | Kuala Lumpur, Singapore| |79| 13 | Krasnoyarsk| |80| 13 | Perth| |81| 13 | Chinese Taipei| |82| 13 | Ulan Bator| |83| 14 | Osaka, Sapporo, Tokyo| |84| 14 | Seoul| |85| 14 | Il Yakutsk| |86| 15 | Adelaide| |87| 15 | Darwin| |88| 16 | Brisbane| |89| 16 | Guam, Port Moresby| |90| 16 | Hobart| |91| 16 | Canberra, Melbourne, Sydney| |92| 16 | James Yakutsk| |93| 17 | Vladivostok| |94| 17 | Solomon Islands, xinhaliduoniya| |95| 17 | Magadan| |96| 18 | Auckland, Wellington| |97| 18 | Fiji| |98| 18 | +12 UTC| |99| 19 | Nukualofa| |100 | 19 | Samoa|
#timeZoneConfigByWeek:Setting device time zone daylight saving time (per week)
###Detailed description
Setting device time zone daylight saving time (per week).
###nput parameter note
| Parameter List | Note | Parameter Type | Mandatory | Default Validity | Legal value |
|---|---|---|---|---|---|
| token | accessToken or userToken | String | Y | ||
| deviceId | Device ID | String | Y | ||
| areaIndex | Set time zone corresponding to the index value (please specify corresponding to the following table Settings) | String | Y | ||
| timeZone | Time zone of the device (please refer to the following table Settings for details) | String | Y | ||
| beginSunTime | Daylight saving time start time | String | N | beginSunTime and endSunTime no value means close daylight saving time | |
| endSunTime | Daylight saving time end time | String | N | beginSunTime and endSunTime no value means close daylight saving time |
Sample input
{
"id":"d5c287b4-5b2f-4f03-baf5-8032c5c354af",
"system":{
"ver":"1.0",
"appId":"lcdxxxxxxxxx",
"sign":"74bc756ebd53e9eef2836f8cf1730c10",
"time":1599031074,
"nonce":"8ec8a7bd1d1c95420de20d92422d457d"
},
"params": {
"token":"At_12345678901234567890123456789012", // accessToken or userToken
"deviceId":"TESTQWERXXXX-dfXXX-XX", //Device ID
"areaIndex":"1",
"timeZone":"8",
"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
}
}
Sample output
{
"id":"123456",
"result": {
"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 |
AreaIndex, timeZone correspondence:
| areaIndex | timeZone | city |
|---|---|---|
| 0 | 32 | international date line West |
| 1 | 31 | -11 UTC |
| 2 | 30 | Hawaii |
| 3 | 29 | Alaska |
| 4 | 28 | Pacific time (United States and Canada) |
| 5 | 28 | Baja California |
| 6 | 27 | Chihuahua, La Paz, Mazatlan |
| 7 | 27 | Mountain time (United States and Canada) |
| 8 | 27 | Arizona |
| 9 | 26 | Guadalajara, Mexico City, Monterrey |
| 10 | 26 | Saskatchewan |
| 11 | 26 | Central time (United States and Canada) |
| 12 | 26 | Central America |
| 13 | 25 | Bogota, Lima |
| 14 | 25 | Eastern time (United States and Canada) |
| 15 | 25 | Indiana (East) |
| 16 | 24 | Caracas |
| 17 | 24 | Atlantic time (Canada) |
| 18 | 24 | Cuiaba |
| 19 | 24 | Georgetown, La Paz, Manaus, San Juan |
| 20 | 24 | San Diego |
| 21 | 24 | Asunción |
| 22 | 23 | Newfoundland |
| 23 | 22 | Brasilia |
| 24 | 22 | Buenos Aires |
| 25 | 22 | Greenland |
| 26 | 22 | Cayenne, Fortaleza |
| 27 | 22 | Montevideo-Asian |
| 28 | 22 | El Salvador |
| 29 | 21 | -02 UTC |
| 30 | 21 | mid-Atlantic |
| 31 | 20 | Cape Verde Islands |
| 32 | 20 | Azores |
| 33 | 0 | Dublin, Edinburgh, Lisbon, London |
| 34 | 0 | Casablanca |
| 35 | 0 | mengluoweiya, Reykjavik |
| 36 | 0 | coordinated universal time |
| 37 | 1 | Tripoli |
| 38 | 1 | Amsterdam, Berlin, Bern, Rome, sitegeermo, Viana do Castelo |
| 39 | 1 | Belgrade, buladesilafa, Budapest, lubueryana, Prague |
| 40 | 1 | Brussels, Copenhagen, Madrid, Paris |
| 41 | 1 | Sarajevo, Skopje, Warsaw, Zagreb |
| 42 | 1 | Windhoek |
| 43 | 1 | West Central Africa |
| 44 | 2 | Beirut |
| 45 | 2 | Damascus |
| 46 | 2 | Eastern Europe |
| 47 | 2 | Harare, Pretoria |
| 48 | 2 | Helsinki, base shop, Riga, Sofia, Tallinn, Vilnius |
| 49 | 2 | Cairo |
| 50 | 2 | Athens, Bucharest |
| 51 | 2 | +02 UTC |
| 52 | 3 | yisitabuer |
| 53 | 3 | Amman |
| 54 | 3 | Baghdad |
| 55 | 3 | Kaliningrad, Minsk |
| 56 | 3 | Kuwait, Riyadh |
| 57 | 3 | Nairobi |
| 58 | 4 | Tehran |
| 59 | 5 | Abu Dhabi, Muscat |
| 60 | 5 | Yerevan |
| 61 | 5 | Baku |
| 62 | 5 | Tbilisi |
| 63 | 5 | Port Louis |
| 64 | 3 | Moscow, St Petersburg, Volgograd |
| 65 | 6 | Kabul |
| 66 | 7 | asihabade, Marrakech |
| 67 | 7 | Islamabad, Karachi |
| 68 | 8 | Chennai, Kolkata, Mumbai, New Delhi |
| 69 | 8 | silijiaya Worcester lamp Pula |
| 70 | 9 | Kathmandu |
| 71 | 10 | Astana |
| 72 | 10 | Dhaka |
| 73 | 10 | Yekaterinburg |
| 74 | 11 | Yangon |
| 75 | 12 | Bangkok, Hanoi, Jakarta |
| 76 | 12 | Novosibirsk |
| 77 | 13 | Beijing, Chongqing, Hong Kong S.A.R., Urumqi |
| 78 | 13 | Kuala Lumpur, Singapore |
| 79 | 13 | Krasnoyarsk |
| 80 | 13 | Perth |
| 81 | 13 | Chinese Taipei |
| 82 | 13 | Ulan Bator |
| 83 | 14 | Osaka, Sapporo, Tokyo |
| 84 | 14 | Seoul |
| 85 | 14 | Il Yakutsk |
| 86 | 15 | Adelaide |
| 87 | 15 | Darwin |
| 88 | 16 | Brisbane |
| 89 | 16 | Guam, Port Moresby |
| 90 | 16 | Hobart |
| 91 | 16 | Canberra, Melbourne, Sydney |
| 92 | 16 | James Yakutsk |
| 93 | 17 | Vladivostok |
| 94 | 17 | Solomon Islands, xinhaliduoniya |
| 95 | 17 | Magadan |
| 96 | 18 | Auckland, Wellington |
| 97 | 18 | Fiji |
| 98 | 18 | +12 UTC |
| 99 | 19 | Nukualofa |
| 100 | 19 | Samoa |
