文档中心 > API类目 > 天猫精灵开放API

taobao.ailab.aicloud.top.memo.note.delete (天猫精灵备忘录删除)

删除天猫精灵用户设置的备忘录

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
schema String 必须 淘宝 schema
user_id String 必须 1122 企业用户ID
utd_id String 可选 3344 手持设备ID
ext String 可选 {} 扩展信息json段,用于存放APP类型,APP版本等等信息。
memo_id Number 必须 343434 备忘录ID

响应参数

名称 类型 示例值 描述
result Result 服务的结果封装
  • └ message
  • String
  • schema and userId cannot be null
  • 附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题
  • └ status_code
  • Number
  • 200
  • 调用返回码
  • note
  • Note
  • 服务的实际返回结果
  • └ gmt_create
  • Date
  • 2018-03-23 08:06:42
  • 创建时间
  • └ gmt_modified
  • Date
  • 2018-03-23 08:06:42
  • 修改时间
  • └ memo_id
  • Number
  • 123
  • memo_ID
  • └ uuid
  • String
  • 12121212
  • uuid
  • └ status
  • String
  • ACTIVE
  • memo状态
  • └ content
  • String
  • 开会
  • 记事本内容
  • └ topic
  • String
  • 开会
  • 记事本主题

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AilabAicloudTopMemoNoteDeleteRequest req = new AilabAicloudTopMemoNoteDeleteRequest();
req.setSchema("淘宝");
req.setUserId("1122");
req.setUtdId("3344");
req.setExt("{}");
req.setMemoId(343434L);
AilabAicloudTopMemoNoteDeleteResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<ailab_aicloud_top_memo_note_delete_response>
    <result>
        <message>schema and userId cannot be null</message>
        <status_code>200</status_code>
        <note>
            <gmt_create>2018-03-23 08:06:42</gmt_create>
            <gmt_modified>2018-03-23 08:06:42</gmt_modified>
            <memo_id>123</memo_id>
            <uuid>12121212</uuid>
            <status>ACTIVE</status>
            <content>开会</content>
            <topic>开会</topic>
        </note>
    </result>
</ailab_aicloud_top_memo_note_delete_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

返回
顶部