文档中心 > API类目 > aone应用中心

alibaba.aone.appcenter.productline.getdetailinfo (获取产品线详情)

获取产品线详情

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
product_id Number 可选 1 产品线id
product_name String 可选 CTO线 产品线名称
is_need_child Boolean 可选 true 是否返回子产品线数据,默认返回

响应参数

名称 类型 示例值 描述
object PageResult 返回
  • └ bu_id
  • Number
  • 49
  • 产品线一级bu id
  • └ full_path
  • String
  • 质量控制
  • 全路径
  • └ node_name
  • String
  • 质量控制
  • 产品线名称
  • └ gmt_modified
  • Number
  • 1503062837000
  • 修改时间
  • └ gmt_created
  • Number
  • 1503062837000
  • 创建时间
  • └ level
  • Number
  • 1
  • 产品线在第几行
  • └ type
  • String
  • ProductLine
  • └ full_id_path
  • String
  • 18009
  • 产品线id path
  • └ is_leaf
  • Boolean
  • false
  • 是否叶子节点
  • └ bu_name
  • String
  • 基础设施事业群
  • 产品线所属一级bu名称
  • └ parent_id
  • Number
  • -1
  • 父产品线id
  • └ eng_name
  • String
  • The quality control
  • 产品线英文名
  • └ is_public
  • Boolean
  • false
  • 公开
  • └ aone_id
  • Number
  • 18009
  • child
  • ChildList []
  • 子产品线列表
  • └ bu_id
  • Number
  • 49
  • 部门名称
  • └ full_path
  • String
  • 质量控制/测试工具
  • 产品线路径
  • └ node_name
  • String
  • 测试工具2
  • 产品线名称
  • └ gmt_modified
  • Number
  • 1503062979000
  • 修改时间
  • └ gmt_created
  • Number
  • 1430204663000
  • 创建时间
  • └ level
  • Number
  • 2
  • 产品线属于第几级
  • └ type
  • String
  • ProductLine
  • └ full_id_path
  • String
  • 18009_14842
  • 产品线id路径
  • └ is_leaf
  • Boolean
  • true
  • 是否叶子节点
  • └ bu_name
  • String
  • 基础设施事业群
  • 产品线所属一级bu名称
  • └ parent_id
  • Number
  • 18009
  • 父产品线id
  • └ is_public
  • Boolean
  • false
  • 是否公开
  • └ aone_id
  • Number
  • 14842
  • └ child
  • String []
  • └ status
  • String
  • ONLINE
  • 产品线状态
  • └ status
  • String
  • ONLINE
  • 产品线状态
successful Boolean true 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAoneAppcenterProductlineGetdetailinfoRequest req = new AlibabaAoneAppcenterProductlineGetdetailinfoRequest();
req.setProductId(1L);
req.setProductName("CTO线");
req.setIsNeedChild(true);
AlibabaAoneAppcenterProductlineGetdetailinfoResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_aone_appcenter_productline_getdetailinfo_response>
    <object>
        <bu_id>49</bu_id>
        <full_path>质量控制</full_path>
        <node_name>质量控制</node_name>
        <gmt_modified>1503062837000</gmt_modified>
        <gmt_created>1503062837000</gmt_created>
        <level>1</level>
        <type>ProductLine</type>
        <full_id_path>18009</full_id_path>
        <is_leaf>false</is_leaf>
        <bu_name>基础设施事业群</bu_name>
        <parent_id>-1</parent_id>
        <eng_name>The quality control</eng_name>
        <is_public>false</is_public>
        <aone_id>18009</aone_id>
        <child>
            <child_list>
                <bu_id>49</bu_id>
                <full_path>质量控制/测试工具</full_path>
                <node_name>测试工具2</node_name>
                <gmt_modified>1503062979000</gmt_modified>
                <gmt_created>1430204663000</gmt_created>
                <level>2</level>
                <type>ProductLine</type>
                <full_id_path>18009_14842</full_id_path>
                <is_leaf>true</is_leaf>
                <bu_name>基础设施事业群</bu_name>
                <parent_id>18009</parent_id>
                <is_public>false</is_public>
                <aone_id>14842</aone_id>
                <status>ONLINE</status>
            </child_list>
        </child>
        <status>ONLINE</status>
    </object>
    <successful>true</successful>
</alibaba_aone_appcenter_productline_getdetailinfo_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

返回
顶部