alibaba.damai.mp.uc.userlogquery.listloginlogs (用户日志查询服务listLoginLogs)

listLoginLogs

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
user_id Number 可选 0 入参userId
count Number 可选 0 入参count

响应参数

名称 类型 示例值 描述
result MpResult result
  • └ biz_ext_map
  • String
  • {}
  • 参数bizExtMap
  • └ error_code
  • String
  • foo
  • 参数errorCode
  • └ error_msg
  • String
  • foo
  • 参数errorMsg
  • model_arr_list
  • UserOperationLog []
  • 参数model
  • └ city
  • String
  • foo
  • 参数city
  • └ data
  • String
  • foo
  • 参数data
  • └ device_id
  • String
  • foo
  • 参数deviceId
  • └ device_name
  • String
  • foo
  • 参数deviceName
  • └ device_type
  • String
  • foo
  • 参数deviceType
  • └ event_type
  • Number
  • 0
  • 参数eventType
  • └ gmt_create
  • Date
  • 2017-01-01 00:00:00
  • 参数gmtCreate
  • └ gmt_modified
  • Date
  • 2017-01-01 00:00:00
  • 参数gmtModified
  • └ id
  • Number
  • 0
  • 参数id
  • └ operation_ip
  • String
  • foo
  • 参数operationIp
  • └ operation_name
  • String
  • foo
  • 参数operationName
  • └ token
  • String
  • foo
  • 参数token
  • └ user_id
  • Number
  • 0
  • 参数userId
  • └ success
  • Boolean
  • false
  • 参数success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMpUcUserlogqueryListloginlogsRequest req = new AlibabaDamaiMpUcUserlogqueryListloginlogsRequest();
req.setUserId(0L);
req.setCount(0L);
AlibabaDamaiMpUcUserlogqueryListloginlogsResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_damai_mp_uc_userlogquery_listloginlogs_response>
    <result>
        <biz_ext_map>{}</biz_ext_map>
        <error_code>foo</error_code>
        <error_msg>foo</error_msg>
        <model_arr_list>
            <user_operation_log>
                <city>foo</city>
                <data>foo</data>
                <device_id>foo</device_id>
                <device_name>foo</device_name>
                <device_type>foo</device_type>
                <event_type>0</event_type>
                <gmt_create>2017-01-01 00:00:00</gmt_create>
                <gmt_modified>2017-01-01 00:00:00</gmt_modified>
                <id>0</id>
                <operation_ip>foo</operation_ip>
                <operation_name>foo</operation_name>
                <token>foo</token>
                <user_id>0</user_id>
            </user_operation_log>
        </model_arr_list>
        <success>false</success>
    </result>
</alibaba_damai_mp_uc_userlogquery_listloginlogs_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

返回
顶部