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 } } ``` 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 ListNoteParameter TypeMandatoryDefault ValidityLegal value
tokenaccessToken or userTokenStringY
deviceIdDevice IDStringY
areaIndexSet time zone corresponding to the index value (please specify corresponding to the following table Settings)StringY
timeZoneTime zone of the device (please refer to the following table Settings for details)StringY
beginSunTimeDaylight saving time start timeStringNbeginSunTime and endSunTime no value means close daylight saving time
endSunTimeDaylight saving time end timeStringNbeginSunTime 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 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

AreaIndex, timeZone correspondence:

areaIndextimeZonecity
032international date line West
131-11 UTC
230Hawaii
329Alaska
428Pacific time (United States and Canada)
528Baja California
627Chihuahua, La Paz, Mazatlan
727Mountain time (United States and Canada)
827Arizona
926Guadalajara, Mexico City, Monterrey
1026Saskatchewan
1126Central time (United States and Canada)
1226Central America
1325Bogota, Lima
1425Eastern time (United States and Canada)
1525Indiana (East)
1624Caracas
1724Atlantic time (Canada)
1824Cuiaba
1924Georgetown, La Paz, Manaus, San Juan
2024San Diego
2124Asunción
2223Newfoundland
2322Brasilia
2422Buenos Aires
2522Greenland
2622Cayenne, Fortaleza
2722Montevideo-Asian
2822El Salvador
2921-02 UTC
3021mid-Atlantic
3120Cape Verde Islands
3220Azores
330Dublin, Edinburgh, Lisbon, London
340Casablanca
350mengluoweiya, Reykjavik
360coordinated universal time
371Tripoli
381Amsterdam, Berlin, Bern, Rome, sitegeermo, Viana do Castelo
391Belgrade, buladesilafa, Budapest, lubueryana, Prague
401Brussels, Copenhagen, Madrid, Paris
411Sarajevo, Skopje, Warsaw, Zagreb
421Windhoek
431West Central Africa
442Beirut
452Damascus
462Eastern Europe
472Harare, Pretoria
482Helsinki, base shop, Riga, Sofia, Tallinn, Vilnius
492Cairo
502Athens, Bucharest
512+02 UTC
523yisitabuer
533Amman
543Baghdad
553Kaliningrad, Minsk
563Kuwait, Riyadh
573Nairobi
584Tehran
595Abu Dhabi, Muscat
605Yerevan
615Baku
625Tbilisi
635Port Louis
643Moscow, St Petersburg, Volgograd
656Kabul
667asihabade, Marrakech
677Islamabad, Karachi
688Chennai, Kolkata, Mumbai, New Delhi
698silijiaya Worcester lamp Pula
709Kathmandu
7110Astana
7210Dhaka
7310Yekaterinburg
7411Yangon
7512Bangkok, Hanoi, Jakarta
7612Novosibirsk
7713Beijing, Chongqing, Hong Kong S.A.R., Urumqi
7813Kuala Lumpur, Singapore
7913Krasnoyarsk
8013Perth
8113Chinese Taipei
8213Ulan Bator
8314Osaka, Sapporo, Tokyo
8414Seoul
8514Il Yakutsk
8615Adelaide
8715Darwin
8816Brisbane
8916Guam, Port Moresby
9016Hobart
9116Canberra, Melbourne, Sydney
9216James Yakutsk
9317Vladivostok
9417Solomon Islands, xinhaliduoniya
9517Magadan
9618Auckland, Wellington
9718Fiji
9818+12 UTC
9919Nukualofa
10019Samoa
timeZoneConfigByDay: Set Device Time Zone Daylight Saving Time (by time)
timeZoneQueryByDay: Query device time zone daylight saving time (by date)