文档中心 > API类目 > 阿里影业云智API

taobao.lark.pos.card.external.sendsms (外部会员卡验证码发送接口)

外部会员卡短信验证码发送接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
cinema_link_id String 必须 111111 影院内码
lease_code String 必须 ykse 租户编码
card_no String 必须 10001 卡号

响应参数

名称 类型 示例值 描述
data Json { "innerCode": "LARK-F143-001-4-B002", "data": null, "success": false, "resultCode": "SYSTEM_ERROR", "class": "cn.com.ykse.commons.result.SingleResult", "resultMsg": "系统异常" } 服务出参

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
LarkPosCardExternalSendsmsRequest req = new LarkPosCardExternalSendsmsRequest();
req.setCinemaLinkId("111111");
req.setLeaseCode("ykse");
req.setCardNo("10001");
LarkPosCardExternalSendsmsResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<lark_pos_card_external_sendsms_response>
    <data>{   &quot;innerCode&quot;: &quot;LARK-F143-001-4-B002&quot;,   &quot;data&quot;: null,   &quot;success&quot;: false,   &quot;resultCode&quot;: &quot;SYSTEM_ERROR&quot;,   &quot;class&quot;: &quot;cn.com.ykse.commons.result.SingleResult&quot;,   &quot;resultMsg&quot;: &quot;系统异常&quot; }</data>
</lark_pos_card_external_sendsms_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

返回
顶部