文档中心 > API类目 > 瓴羊客服云

alibaba.lyservice.premium.corp.contacts (专属钉联系人查询)

租户专属钉小二信息查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
open_premium_corp_contacts_query_request OpenPremiumCorpContactsQueryRequest 可选 入参
  • └ corp_id
  • String
  • 可选
  • dingd0cf6e1417544046ee0f45d8e4f7c288
  • 组织id
  • └ tenant_id
  • Number
  • 可选
  • 123
  • 租户id

响应参数

名称 类型 示例值 描述
result ResultDO 出参
  • └ code
  • String
  • 200
  • code
  • └ data
  • String
  • 小二
  • 返回值
  • └ success
  • Boolean
  • true
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaLyservicePremiumCorpContactsRequest req = new AlibabaLyservicePremiumCorpContactsRequest();
AlibabaLyservicePremiumCorpContactsRequest.OpenPremiumCorpContactsQueryRequest obj1 = new AlibabaLyservicePremiumCorpContactsRequest.OpenPremiumCorpContactsQueryRequest();
obj1.setCorpId("dingd0cf6e1417544046ee0f45d8e4f7c288");
obj1.setTenantId(123L);
req.setOpenPremiumCorpContactsQueryRequest(obj1);
AlibabaLyservicePremiumCorpContactsResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_lyservice_premium_corp_contacts_response>
    <result>
        <code>200</code>
        <data>小二</data>
        <success>true</success>
    </result>
</alibaba_lyservice_premium_corp_contacts_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

返回
顶部