Skip to content

查询设备时区

接口地址:/v2/binding/enduserapi/getDeviceTimeZone

请求方式:GET

请求数据类型:application/x-www-form-urlencoded

响应数据类型:*/*

接口描述:

查询设备时区

请求参数:

参数名称参数说明请求类型是否必须数据类型schema
dkDevice Keyquerytruestring
pkProduct Keyquerytruestring

响应状态:

状态码说明schema
200查询设备时区成功返回注册码响应数据«DeviceTimeZone»
5041没有权限
5066请输入Product Key
5067请输入Device Key

响应参数:

参数名称参数说明类型schema
code响应状态码integer(int32)integer(int32)
data响应数据DeviceTimeZoneDeviceTimeZone
  timeZone时区。符合+-HH:mm或者+-HH格式string
  timeZoneId时区IDstring
extMsg扩展消息string
msg响应消息string

响应示例:

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