文档中心 > API类目 > 阿里健康随访

alibaba.alihealth.followup.dialogrecord.recall (会话消息撤回)

天津随访项目,会话消息撤回

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
auth_token String 必须 9eae09db243df99bd67af033decfd257 token用于安全验证
request1 ChickenImRecordRecallDo 必须 入参model
  • └ record_id
  • String
  • 必须
  • 1800000767768343
  • 会话记录ID
  • └ doctor_id
  • String
  • 可选
  • 814900585107281
  • 医生ID
  • └ session_id
  • String
  • 必须
  • 64c695fd32d7145a5e2016a04e908fa8
  • 会话ID
  • └ bterm_user_id
  • String
  • 必须
  • 5435714446542245
  • B端用户ID(单聊是医生id、群聊是组id)
  • └ sufferer_id
  • String
  • 可选
  • 2530305183021706
  • 患者ID
  • └ rs_type
  • String
  • 必须
  • 2
  • 1是患者撤回,2是医生撤回

响应参数

名称 类型 示例值 描述
result1 Result result 接口返回model
  • └ model
  • Boolean
  • true
  • 是否撤回成功
  • └ msg_code
  • String
  • SUCCESS
  • msgCode
  • └ msg_info
  • String
  • SUCCESS
  • msgInfo
  • └ success
  • Boolean
  • false
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthFollowupDialogrecordRecallRequest req = new AlibabaAlihealthFollowupDialogrecordRecallRequest();
req.setAuthToken("9eae09db243df99bd67af033decfd257");
AlibabaAlihealthFollowupDialogrecordRecallRequest.ChickenImRecordRecallDo obj1 = new AlibabaAlihealthFollowupDialogrecordRecallRequest.ChickenImRecordRecallDo();
obj1.setRecordId("1800000767768343");
obj1.setDoctorId("814900585107281");
obj1.setSessionId("64c695fd32d7145a5e2016a04e908fa8");
obj1.setBtermUserId("5435714446542245");
obj1.setSuffererId("2530305183021706");
obj1.setRsType("2");
req.setRequest1(obj1);
AlibabaAlihealthFollowupDialogrecordRecallResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_followup_dialogrecord_recall_response>
    <result1>
        <model>true</model>
        <msg_code>SUCCESS</msg_code>
        <msg_info>SUCCESS</msg_info>
        <success>false</success>
    </result1>
</alibaba_alihealth_followup_dialogrecord_recall_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

返回
顶部