alibaba.adlab.adsim.validator.list.get (获取评价列表)

获取评价列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
adsim_validator_query_request_dto AdsimValidatorQueryRequestDto 可选 查询对象
  • └ name_like
  • String
  • 可选
  • mpi
  • 评价名称模糊查询
  • └ type_list
  • String []
  • 可选
  • common_system
  • 评价类型
  • └ user_no
  • String
  • 可选
  • WB36769
  • 用户工号
  • └ self
  • Boolean
  • 可选
  • false
  • 是否筛选自己创建的
  • └ page_size
  • Number
  • 可选
  • 10
  • 分页大小
  • └ current_page
  • Number
  • 可选
  • 1
  • 页数
  • └ publish_status
  • String
  • 可选
  • published
  • 发布状态

响应参数

名称 类型 示例值 描述
result PageResult 返回对象
  • └ code
  • Number
  • 200
  • 返回code
  • data
  • PageData
  • 返回数据
  • └ total
  • Number
  • 100
  • 数据总数
  • └ page_size
  • Number
  • 10
  • 分页大小
  • list
  • AdsimValidatorVO []
  • 列表数据
  • └ id
  • Number
  • 12
  • 评价ID
  • └ name
  • String
  • name
  • 评价名称
  • └ type
  • String
  • type
  • 评价类型
  • └ type_string
  • String
  • typeString
  • 评价类型中文描述
  • └ description
  • String
  • description
  • 评价描述
  • └ creator_user_id
  • Number
  • 123
  • 创建人ID
  • └ creator_user_name
  • String
  • 王森浩
  • 创建人姓名
  • └ file_path
  • String
  • http
  • 文件地址
  • └ file_path_list
  • String
  • {}
  • 文件地址
  • └ execute_opportunity
  • String
  • online
  • 执行时机
  • └ publish_status
  • String
  • published
  • 发布状态
  • └ metric_list
  • String []
  • 评价维度列表
  • └ metric_info_list
  • String []
  • 评价维度信息列表
  • └ etag
  • String
  • 21123
  • 文件etag标签,主要是用来判断服务端数据是否存在变化
  • └ current_page
  • Number
  • []
  • 页数
  • └ success
  • Boolean
  • true
  • 接口返回状态
  • └ message
  • String
  • msg
  • 接口返回描述
  • └ sequence_id
  • String
  • 123
  • 响应ID
  • └ timestamp
  • Number
  • 123
  • 响应时间戳

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAdlabAdsimValidatorListGetRequest req = new AlibabaAdlabAdsimValidatorListGetRequest();
AlibabaAdlabAdsimValidatorListGetRequest.AdsimValidatorQueryRequestDto obj1 = new AlibabaAdlabAdsimValidatorListGetRequest.AdsimValidatorQueryRequestDto();
obj1.setNameLike("mpi");
obj1.setTypeList("common_system");
obj1.setUserNo("WB36769");
obj1.setSelf(false);
obj1.setPageSize(10L);
obj1.setCurrentPage(1L);
obj1.setPublishStatus("published");
req.setAdsimValidatorQueryRequestDto(obj1);
AlibabaAdlabAdsimValidatorListGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_adlab_adsim_validator_list_get_response>
    <result>
        <code>200</code>
        <data>
            <total>100</total>
            <page_size>10</page_size>
            <list>
                <adsim_validator_v_o>
                    <id>12</id>
                    <name>name</name>
                    <type>type</type>
                    <type_string>typeString</type_string>
                    <description>description</description>
                    <creator_user_id>123</creator_user_id>
                    <creator_user_name>王森浩</creator_user_name>
                    <file_path>http</file_path>
                    <file_path_list>{}</file_path_list>
                    <execute_opportunity>online</execute_opportunity>
                    <publish_status>published</publish_status>
                    <etag>21123</etag>
                </adsim_validator_v_o>
            </list>
            <current_page>[]</current_page>
        </data>
        <success>true</success>
        <message>msg</message>
        <sequence_id>123</sequence_id>
        <timestamp>123</timestamp>
    </result>
</alibaba_adlab_adsim_validator_list_get_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

返回
顶部