文档中心 > API类目 > 天猫超市前台API

alibaba.tmall.eps.oa.point.user.query (天猫福宝企业员工元宝查询)

天猫福宝企业员工元宝查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
para0 TopUserRequest 可选 para
  • └ corp_id
  • String
  • 必须
  • ding1d182ae58b9ff8a1ee0f45d8e4f7c288
  • 企业id
  • └ user_id
  • String
  • 必须
  • 2046252024901736
  • 员工id
  • └ isv_corp_id
  • String
  • 必须
  • ding1d182ae58b9ff8a1ee0f45d8e4f7c288
  • isv企业id

响应参数

名称 类型 示例值 描述
result Result result result
  • └ code
  • String
  • 1
  • code
  • data
  • TopUserResponse
  • data
  • data
  • └ remain
  • String
  • 10000
  • 剩余元宝数
  • └ user_id
  • String
  • 2046252024901736
  • 员工id
  • └ corp_id
  • String
  • ding1d182ae58b9ff8a1ee0f45d8e4f7c288
  • 企业id
  • └ isv_corp_id
  • String
  • ding1d182ae58b9ff8a1ee0f45d8e4f7c288
  • isv企业id
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ message
  • String
  • 成功
  • message

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaTmallEpsOaPointUserQueryRequest req = new AlibabaTmallEpsOaPointUserQueryRequest();
AlibabaTmallEpsOaPointUserQueryRequest.TopUserRequest obj1 = new AlibabaTmallEpsOaPointUserQueryRequest.TopUserRequest();
obj1.setCorpId("ding1d182ae58b9ff8a1ee0f45d8e4f7c288");
obj1.setUserId("2046252024901736");
obj1.setIsvCorpId("ding1d182ae58b9ff8a1ee0f45d8e4f7c288");
req.setPara0(obj1);
AlibabaTmallEpsOaPointUserQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_tmall_eps_oa_point_user_query_response>
    <result>
        <code>1</code>
        <data>
            <remain>10000</remain>
            <user_id>2046252024901736</user_id>
            <corp_id>ding1d182ae58b9ff8a1ee0f45d8e4f7c288</corp_id>
            <isv_corp_id>ding1d182ae58b9ff8a1ee0f45d8e4f7c288</isv_corp_id>
        </data>
        <success>true</success>
        <message>成功</message>
    </result>
</alibaba_tmall_eps_oa_point_user_query_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

返回
顶部