查询投诉协商历史
商户可通过调用此接口,查询指定投诉的用户商户协商历史,以分页输出查询结果,方便商户根据处理历史来制定后续处理方案。
请求参数 | 类型 | 描述 |
---|---|---|
complaint_id | string | 投诉单号 |
query | object | 声明请求的查询参数 |
limit | integer | 分页大小 |
offset | integer | 分页开始位置 |
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));
返回字典 | 类型 | 描述 |
---|---|---|
data | object[] | 投诉协商历史 |
complaint_media_list | object | |
media_type | string | 媒体文件业务类型USER_COMPLAINT_IMAGE | OPERATION_IMAGE 枚举值之一 |
media_url | string[] | 媒体文件请求url |
log_id | string | 操作流水号 |
operator | string | 操作人 |
operate_time | string | 操作时间 |
operate_type | string | 操作类型 |
operate_details | string | 操作内容 |
image_list | string[] | 图片凭证 |
user_appy_platform_service_reason | string | 用户申请平台协助原因 |
user_appy_platform_service_reason_description | string | 用户申请平台协助原因描述 |
limit | integer | 分页大小 |
offset | integer | 分页开始位置 |
total_count | integer | 投诉协商历史总条数 |