Skip to content

查询投诉协商历史

商户可通过调用此接口,查询指定投诉的用户商户协商历史,以分页输出查询结果,方便商户根据处理历史来制定后续处理方案。

请求参数类型描述
complaint_idstring投诉单号
queryobject声明请求的查询参数
limitinteger分页大小
offsetinteger分页开始位置
php
$instance->v3->merchantService->complaintsV2->_complaint_id_->negotiationHistorys->getAsync([
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'  => 50,
    'offset' => 10,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/merchant-service/complaints-v2/{complaint_id}/negotiation-historys')->getAsync([
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'  => 50,
    'offset' => 10,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/merchant-service/complaints-v2/{complaint_id}/negotiation-historys']->getAsync([
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'  => 50,
    'offset' => 10,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->merchantService->complaintsV2->_complaint_id_->negotiationHistorys->get([
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'  => 50,
    'offset' => 10,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/merchant-service/complaints-v2/{complaint_id}/negotiation-historys')->get([
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'  => 50,
    'offset' => 10,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/merchant-service/complaints-v2/{complaint_id}/negotiation-historys']->get([
  'complaint_id' => '200201820200101080076610000',
  'query' => [
    'limit'  => 50,
    'offset' => 10,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
dataobject[]投诉协商历史
complaint_media_listobject操作资料列表
media_typestring媒体文件业务类型
USER_COMPLAINT_IMAGE | OPERATION_IMAGE 枚举值之一
media_urlstring[]媒体文件请求url
log_idstring操作流水号
operatorstring操作人
operate_timestring操作时间
operate_typestring操作类型
operate_detailsstring操作内容
image_liststring[]图片凭证
user_appy_platform_service_reasonstring用户申请平台协助原因
user_appy_platform_service_reason_descriptionstring用户申请平台协助原因描述
limitinteger分页大小
offsetinteger分页开始位置
total_countinteger投诉协商历史总条数

参阅 官方文档 官方文档

Published on the GitHub by TheNorthMemory