文档中心 > API类目 > 迎客松牌照审核接口

yunos.tvpubadmin.device.tvid (查询终端信息)

通过UUID查询终端信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
uuid String 必须 37374FD85E830DE566D61798324D4428 设备的UUID

响应参数

名称 类型 示例值 描述
object DeviceInfoDo object
  • └ uuid
  • String
  • 37374FD85E830DE566D61798324D4428
  • uuid
  • └ tvid
  • String
  • 4428
  • tvid
  • └ brand_id
  • Number
  • 1
  • brandId
  • └ brand_name
  • String
  • MTC
  • brandName
  • └ device_model
  • String
  • MagicBox_M16S
  • deviceModel
  • └ terminal_type
  • String
  • MagicBox_M16S
  • terminalType
  • └ eth_mac
  • String
  • 6C:5A:B5:B6:93:02
  • ethMac
  • └ wlan_mac
  • String
  • 6C:5A:B5:B6:93:02
  • wlanMac
  • └ active_time
  • Date
  • 2017-02-22 00:00:00
  • activeTime
  • └ user_active_time
  • Date
  • 2017-02-22 00:00:00
  • userActiveTime
  • └ last_login_time
  • Date
  • 2017-02-22 00:00:00
  • lastLoginTime
  • └ created_at
  • Date
  • 2017-02-22 00:00:00
  • createdAt
  • └ updated_at
  • Date
  • 2017-02-22 00:00:00
  • updatedAt
  • └ system_version
  • String
  • 6.0.2
  • systemVersion

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
YunosTvpubadminDeviceTvidRequest req = new YunosTvpubadminDeviceTvidRequest();
req.setUuid("37374FD85E830DE566D61798324D4428");
YunosTvpubadminDeviceTvidResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<yunos_tvpubadmin_device_tvid_response>
    <object>
        <uuid>37374FD85E830DE566D61798324D4428</uuid>
        <tvid>4428</tvid>
        <brand_id>1</brand_id>
        <brand_name>MTC</brand_name>
        <device_model>MagicBox_M16S</device_model>
        <terminal_type>MagicBox_M16S</terminal_type>
        <eth_mac>6C:5A:B5:B6:93:02</eth_mac>
        <wlan_mac>6C:5A:B5:B6:93:02</wlan_mac>
        <active_time>2017-02-22 00:00:00</active_time>
        <user_active_time>2017-02-22 00:00:00</user_active_time>
        <last_login_time>2017-02-22 00:00:00</last_login_time>
        <created_at>2017-02-22 00:00:00</created_at>
        <updated_at>2017-02-22 00:00:00</updated_at>
        <system_version>6.0.2</system_version>
    </object>
</yunos_tvpubadmin_device_tvid_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部