文档中心 > API类目 > 神鲸应用API

alibaba.ib.workcore.appcenter.getpersonalapp (个人应用入口)

个人应用入口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
work_bench_context WorkBenchContext 可选 系统自动生成
  • └ campus_id
  • Number
  • 必须
  • 10009
  • 园区id
login_user_id Number 必须 121333144 当前用户信息

响应参数

名称 类型 示例值 描述
result CollectionResult {} CollectionResult
  • └ success
  • Boolean
  • false
  • 1
  • └ error_msg
  • String
  • 1
  • 1
  • └ error_code
  • String
  • 1
  • 1
  • └ total_count
  • Number
  • 123
  • 1
  • └ request_id
  • String
  • 1
  • 1
  • contents
  • AcAppDto []
  • {}
  • content
  • └ entrance_description
  • String
  • test
  • 描述
  • └ ex_info_type
  • String
  • 1
  • 类型:1. 基础应用 2. 员工应用
  • └ is_gray
  • String
  • n
  • 是否灰度('y'表示是,'n'表示不是)
  • └ url
  • String
  • https://postoffice.xa-hd.aliplus.com/mobile/index.htm?companyId=__compId__&campusId=__campId__
  • 应用前台url
  • └ icon
  • String
  • https://img.alicdn.com/tfs/TB1vovagJzJ8KJjSspkXXbF7VXa-76-76.png
  • 应用主图icon
  • └ name
  • String
  • 小邮局
  • 应用名称
  • └ id
  • Number
  • 1
  • id

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIbWorkcoreAppcenterGetpersonalappRequest req = new AlibabaIbWorkcoreAppcenterGetpersonalappRequest();
AlibabaIbWorkcoreAppcenterGetpersonalappRequest.WorkBenchContext obj1 = new AlibabaIbWorkcoreAppcenterGetpersonalappRequest.WorkBenchContext();
obj1.setCampusId(10009L);
req.setWorkBenchContext(obj1);
req.setLoginUserId(121333144L);
AlibabaIbWorkcoreAppcenterGetpersonalappResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ib_workcore_appcenter_getpersonalapp_response>
    <result>
        <success>false</success>
        <error_msg>1</error_msg>
        <error_code>1</error_code>
        <total_count>123</total_count>
        <request_id>1</request_id>
        <contents>
            <ac_app_dto>
                <entrance_description>test</entrance_description>
                <ex_info_type>1</ex_info_type>
                <is_gray>n</is_gray>
                <url>https://postoffice.xa-hd.aliplus.com/mobile/index.htm?companyId=__compId__&amp;campusId=__campId__</url>
                <icon>https://img.alicdn.com/tfs/TB1vovagJzJ8KJjSspkXXbF7VXa-76-76.png</icon>
                <name>小邮局</name>
                <id>1</id>
            </ac_app_dto>
        </contents>
    </result>
</alibaba_ib_workcore_appcenter_getpersonalapp_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

返回
顶部