GetRateList

≥4.6

接口功能

查询document中的评分记录

请求参数
参数 类型 说明
RateListInput RateListInput 包含FormAlias, FieldName, DocIds等属性

[warning] 注意

为控制接口性能,接口默认不返回评分人的头像信息。数据量越大返回头像信息对接口整体性能影响越大。调用者需根据实际场景权衡。

返回数据类型

参考返回示例

输入示例
{
    "FormAlias": "demoformalias",
    "FieldName": "textbx_name",
    "Size": 10,
    "DocIds": [
        "91e417f5-84f4-4dd2-b7fa-ff2f7cbc79ad",
        "5c307795-804e-4208-9cca-39d7080b3eb4"
    ],
    "RateValue": [
        3.0,
        5.0
    ],
    "CreateDate": [
        "2021-05-18T10:04:43.968+08:00",
        "2021-05-14T14:35:08.292+08:00"
    ],
    "CreateBy": "DemoUser",
    "Order": {
        "RateValue": 0
    }
}
返回示例
{
  "StatusCode": 200,
  "Info": "Request (or process) succeeded",
  "Data": {
    "TotalCount": 1,
    "Datas": [
      {
        "_id": "cb5405a7f33c4077bc99cecc781da9cf",
        "RateValue": 5.0,
        "CreateBy": "DemoUser",
        "CreateById": "44e08f1e-5ebd-4452-8943-72f9ddc4aeb7",
        "CreateDate": "2019-04-20T06:41:43.668Z",
        "ModifyDate": "2019-04-20T09:03:48.146Z",
        "ReplyCommentsId": null,
        "ReplyBy": null,
        "ReplyById": null,
        "Message": "hello Rate 1",
        "IsDeleted": false,
        "DataId": "b00602f8fc614a25b2a2abfc483a5b95",
        "TenantId": "DemoTenant",
        "AppCode": "DemoApp",
        "Env": "Prod",
        "FieldName": "Rate",
        "Avatar": ""
      }
    ]
  }
}
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2023-02-02 10:40:12

results matching ""

    No results matching ""