获取家书列表

更新时间:2022-01-18 15:08:01

接口说明

获取家书列表

基本信息

请求方式: GET

请求路径:

https://prod.open-api.mysre.cn/m/letter/page

请求参数

参数名 参数位置 参数类型 必填 默认值 示例 描述
tenantCode query string 租户CODE
privateKey query string value2 鉴权密钥
timestamp query string xxx 时间戳

请求示例

get /m/letter/page?tenantCode=value1&privateKey=value2&timestamp=xxx

返回成功示例

{
  "errcode": 0,
  "errmsg": "获取成功",
  "data": {
    "total": "134",
    "items": [
      {
        "id": "39ff80c2-0fbe-fbcb-ad40-9f47ee1ede4f",
        "title": "香四海20211011170045665",
        "cover_url": "",
        "has_published": "0",
        "created_on": "2021-10-11 17:00:45",
        "is_deleted": "0"
      },
      {
        "id": "39ff80c2-103f-5a1b-caea-20f3737471e0",
        "title": "凯茵又一城-一期20211011170045552",
        "cover_url": "",
        "has_published": "0",
        "created_on": "2021-10-11 17:00:45",
        "is_deleted": "0"
      },
      {
        "id": "39ff8476-edac-77f6-5a55-3eb83bcf2a21",
        "title": "红国林家书",
        "cover_url": "https://img.myysq.com.cn/retesting/myapplication/2021/10/12/39ff8483-1b3e-7590-f872-7fb218a18af1_orig.png",
        "has_published": "1",
        "created_on": "2021-10-12 10:17:10",
        "is_deleted": "0"
      },
      {
        "id": "39ff8486-5739-80e4-0ee7-55bb65d70d46",
        "title": "珠海公司家书",
        "cover_url": "https://img.myysq.com.cn/retesting/myapplication/2021/10/12/39ff8486-40d6-9d8b-1ea9-49aad224247d_orig.png",
        "has_published": "1",
        "created_on": "2021-10-12 10:34:00",
        "is_deleted": "0"
      },
      {
        "id": "39ff84a4-8235-ecb7-e799-ca9f8777b792",
        "title": "红果林-一期20211012110657330",
        "cover_url": "",
        "has_published": "0",
        "created_on": "2021-10-12 11:06:57",
        "is_deleted": "0"
      },
      {
        "id": "39ff8572-a224-8855-67af-5267ca191e1b",
        "title": "家书家书10-12",
        "cover_url": "https://img.myysq.com.cn/retesting/myapplication/2021/10/12/39ff8572-4361-ac46-8fe8-51d9aeba6f38_orig.png",
        "has_published": "1",
        "created_on": "2021-10-12 14:52:06",
        "is_deleted": "0"
      },
      {
        "id": "39ff861b-ef39-fc89-be7f-b3f9ccc7714b",
        "title": "zzz",
        "cover_url": "https://img.myysq.com.cn/retesting/myapplication/2021/10/12/39ff861b-defc-a64a-41bb-5be603153ebf_orig.png",
        "has_published": "1",
        "created_on": "2021-10-12 17:57:01",
        "is_deleted": "0"
      },
      {
        "id": "39ff8b7c-a38c-780f-4e56-77e0239e66fc",
        "title": "上传家书图片",
        "cover_url": "https://img.myysq.com.cn/retesting/myapplication/2021/10/13/39ff8b7c-9cf9-b86d-5bc5-5cf828e415ab_orig.png",
        "has_published": "1",
        "created_on": "2021-10-13 19:00:45",
        "is_deleted": "0"
      },
      {
        "id": "39ff909f-0e08-0801-3a10-95cd436e986d",
        "title": "家书101418",
        "cover_url": "https://img.myysq.com.cn/retesting/myapplication/2021/10/14/39ff909d-3357-1781-ec41-c4a1ad300656_orig.jpg",
        "has_published": "1",
        "created_on": "2021-10-14 18:56:26",
        "is_deleted": "0"
      },
      {
        "id": "39ff95aa-0c40-2f1d-b418-cd8461f1a525",
        "title": "默认发送APP",
        "cover_url": "https://img.myysq.com.cn/retesting/myapplication/2021/10/15/39ff95aa-07de-2ca0-c29c-acd1e1f6d3d1_orig.png",
        "has_published": "1",
        "created_on": "2021-10-15 18:26:33",
        "is_deleted": "0"
      }
    ]
  }
}

返回参数说明(成功)

参数名 参数类型 描述
errcode number 错误码
errmsg string 提示信息
data object 数据
data.total string 总数
data.items array 家书列表
data.items.id string 家书ID
data.items.title string 家书标题
data.items.cover_url string 家书封面
data.items.has_published string 家书是否发布
data.items.created_on string 家书创建时间
data.items.is_deleted string 家书是否删除

失败返回示例

{
  "errcode": 0,
  "errmsg": "获取成功"
}

返回参数说明(失败)

参数名 参数类型 描述
errcode number 错误码
errmsg string 提示信息

results matching ""

    No results matching ""