Skip to content

Set Device Time Zone

Interface Address:/v2/binding/enduserapi/v2/setDeviceTimeZone

Request Method:PUT

Request Data Type:application/json

Response Data Type:*/*

Interface Description:Set Device Time Zone (V2)

Request Example:

javascript
{
  "dk": "",
  "pk": "",
  "timeZone": "",
  "timeZoneId": ""
}

Request Parameters:

Parameter NameParameter DescriptionRequest TypeRequiredData Typeschema
paramparambodytrueSet Device Time Zone ParamSet Device Time Zone Param
  dkDevice Keytruestring
  pkProduct Keytruestring
  timeZoneTime zone. Must follow +-HH:mm or +-HH formattruestring
  timeZoneIdTime zone IDfalsestring

Response Status:

Status CodeDescriptionschema
200Device time zone set successfullyRegistration code response data
5041No permission
5066Please enter Product Key
5067Please enter Device Key

Response Parameters:

Parameter NameParameter DescriptionTypeschema
codeResponse status codeinteger(int32)integer(int32)
dataResponse dataobject
extMsgExtended messagestring
msgResponse messagestring

Response Example:

javascript
{
	"code": 0,
	"data": {},
	"extMsg": "",
	"msg": ""
}