帮助中心

2040-订单评价

2020-12-15

接口编号 2040

接口说明

1、查询订单评价数据。每页返回100条,pageIndex最小1,最大2147483647。

2、订单号和查询时间范围,二选一必填。开始和结束时间间隔最大半小时。

请求说明

  • HTTP请求方式:POST

  • 返回数据格式:JSON

  • 请求路径:api/morder/getordercomment

  • 每页查询数量默认100条;订单号和查询时间不可同时为空。

请求参数


字段类型为空长度描述
SaleNostring0~26订单号
BegCommtTimeDateTime-开始时间(yyyy-MM-dd HH:mm:ss)
EndCommtTimeDateTime-结束时间(yyyy-MM-dd HH:mm:ss)
SaleShopIdstring1~16渠道代码(销售门店)
PageIndexint-默认1



请求参数示例代码(json对象)

{
   "SaleNo": "r0905000129",
   "BegCommtTime": "",
   "EndCommtTime": "",
   "ShopCode": "",
   "PageIndex": 1
}

返回参数

字段类型描述
SaleNostring订单号
BegCommtTimeDateTime开始时间(yyyy-MM-dd HH:mm:ss)
EndCommtTimeDateTime结束时间(yyyy-MM-dd HH:mm:ss)
SaleShopCodestring渠道代码(销售门店)
ServiceChannelstring服务门店
ServiceSalerstring服务导购
CommtTimestring评价时间
CommtScore1int一级评价
CommtScore2int二级评价
CommtScore3int三级评价
TotalScoredouble总分
Contentstring评价内容
CommtReplyUserstring评价回复人
CommtReplyTimestring回复时间
CommtReplystring回复内容
IsReplybool是否可以回复
CommtSecondTags1string一级评论维度1下的二级维度标签组
CommtSecondTags2string二级评论维度2下的二级维度标签组
CommtSecondTags3string三级评论维度3下的二级维度标签组
CommtTotalSecondTagsstring一级评论总评价下的二级维度标签组
IsCommtHistorybool是否是历史数据
CmmtResultTypeint0不参与好评/差评1好评2差评


系统级返回结果示例(json)

{
   "PageCount": 1,
   "Sign": "8D2E518CDA46DB14736643CAA96C800B69C26ECD",
   "Result": [
       {
           "SaleNo": "r0905000129",
           "SaleShopId": "MD001",
           "ServiceChannel": "MD001",
           "ServiceSaler": "MD0102",
           "CommtTime": "2020-10-28 20:10:51",
           "CommtScore1": 1,
           "CommtScore2": 3,
           "CommtScore3": 4,
           "TotalScore": 3.0,
           "Content": "快快快",
           "CommtReplyUserId": "",
           "CommtReplyTime": "0001-01-01 00:00:00",
           "CommtReply": "",
           "IsReply": false,
           "CommtSecondTags1": "170237",
           "CommtSecondTags2": "170233",
           "CommtSecondTags3": "160232",
           "CommtTotalSecondTags": "190232",
           "IsCommtHistory": true
       },
       {
           "SaleNo": "r0905000129",
           "SaleShopId": "MD001",
           "ServiceChannel": "MD001",
           "ServiceSaler": "MD0102",
           "CommtTime": "2020-10-28 20:10:51",
           "CommtScore1": 1,
           "CommtScore2": 3,
           "CommtScore3": 4,
           "TotalScore": 3.0,
           "Content": "快快快",
           "CommtReplyUserId": "",
           "CommtReplyTime": "0001-01-01 00:00:00",
           "CommtReply": "",
           "IsReply": false,
           "CommtSecondTags1": "170237",
           "CommtSecondTags2": "170233",
           "CommtSecondTags3": "160232",
           "CommtTotalSecondTags": "190232",
           "IsCommtHistory": true
       }
   ],
   "Status": true,
   "StatusCode": 200,
   "Msg": "成功",
   "Timestamp": "20201204181855"
}




评价 810