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

taobao.lark.pos.cifprod.logoffByPos (POS端扩展APP注销功能)

POS端扩展APP注销功能

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
logoff_request LogoffRequest 可选 请求体
  • └ cinema_link_id
  • String
  • 必须
  • 7777
  • 影院内码
  • └ account_id
  • String
  • 必须
  • X
  • 需要注销的账号
  • └ captcha
  • String
  • 必须
  • X
  • 验证码
  • └ mobile
  • String
  • 必须
  • X
  • 手机号
  • └ lease_code
  • String
  • 必须
  • ykse
  • 租户
  • └ pos_token
  • String
  • 必须
  • X
  • token
  • └ logoff_reason
  • String
  • 必须
  • X
  • 注销原因(100字)
  • └ channel_code
  • String
  • 必须
  • X
  • 渠道(发短信用)

响应参数

名称 类型 示例值 描述
data SingleResult 报文结构体
  • data
  • LogoffResponse
  • 响应结构体
  • └ status
  • Boolean
  • true
  • true-注销成功 false-注销失败
  • └ comments
  • String
  • { "innerCode": "LARK-F222-001-0-B001", "data": { "comments": "注销成功", "status": true }, "success": true, "resultCode": "SUCCESS", "resultMsg": "成功" }
  • status 为 false 时的具体描述
  • └ success
  • Boolean
  • true
  • 响应是否成功
  • └ result_code
  • String
  • { "innerCode": "LARK-F222-001-0-B001", "data": { "comments": "注销成功", "status": true }, "success": true, "resultCode": "SUCCESS", "resultMsg": "成功" }
  • 响应码
  • └ result_msg
  • String
  • { "innerCode": "LARK-F222-001-0-B001", "data": { "comments": "注销成功", "status": true }, "success": true, "resultCode": "SUCCESS", "resultMsg": "成功" }
  • 响应描述
  • └ inner_code
  • String
  • X
  • X

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
LarkPosCifprodLogoffByPosRequest req = new LarkPosCifprodLogoffByPosRequest();
LarkPosCifprodLogoffByPosRequest.LogoffRequest obj1 = new LarkPosCifprodLogoffByPosRequest.LogoffRequest();
obj1.setCinemaLinkId("7777");
obj1.setAccountId("X");
obj1.setCaptcha("X");
obj1.setMobile("X");
obj1.setLeaseCode("ykse");
obj1.setPosToken("X");
obj1.setLogoffReason("X");
obj1.setChannelCode("X");
req.setLogoffRequest(obj1);
LarkPosCifprodLogoffByPosResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<lark_pos_cifprod_logoffByPos_response>
    <data>
        <data>
            <status>true</status>
            <comments>{   &quot;innerCode&quot;: &quot;LARK-F222-001-0-B001&quot;,   &quot;data&quot;: {     &quot;comments&quot;: &quot;注销成功&quot;,     &quot;status&quot;: true   },   &quot;success&quot;: true,   &quot;resultCode&quot;: &quot;SUCCESS&quot;,   &quot;resultMsg&quot;: &quot;成功&quot; }</comments>
        </data>
        <success>true</success>
        <result_code>{   &quot;innerCode&quot;: &quot;LARK-F222-001-0-B001&quot;,   &quot;data&quot;: {     &quot;comments&quot;: &quot;注销成功&quot;,     &quot;status&quot;: true   },   &quot;success&quot;: true,   &quot;resultCode&quot;: &quot;SUCCESS&quot;,   &quot;resultMsg&quot;: &quot;成功&quot; }</result_code>
        <result_msg>{   &quot;innerCode&quot;: &quot;LARK-F222-001-0-B001&quot;,   &quot;data&quot;: {     &quot;comments&quot;: &quot;注销成功&quot;,     &quot;status&quot;: true   },   &quot;success&quot;: true,   &quot;resultCode&quot;: &quot;SUCCESS&quot;,   &quot;resultMsg&quot;: &quot;成功&quot; }</result_msg>
        <inner_code>X</inner_code>
    </data>
</lark_pos_cifprod_logoffByPos_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

返回
顶部