查询核查记录
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>查询客户核查记录。</li>
</ul>
<h3>请求URL</h3>
<ul>
<li><code>http://ip:port/boss/customer/survey</code></li>
</ul>
<h3>请求方式</h3>
<ul>
<li>POST </li>
</ul>
<h3>请求参数</h3>
<table>
<thead>
<tr>
<th>字段名</th>
<th>类型</th>
<th>是否必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>customerId</code></td>
<td><code>String</code></td>
<td>是</td>
<td>客户 ID。</td>
</tr>
<tr>
<td><code>startTime</code></td>
<td><code>date</code></td>
<td>是</td>
<td>查询开始时间 YYYY-MM-DD</td>
</tr>
<tr>
<td><code>endTime</code></td>
<td><code>date</code></td>
<td>是</td>
<td>查询结束时间 YYYY-MM-DD</td>
</tr>
</tbody>
</table>
<h3>请求示例</h3>
<pre><code class="language-json">{
&quot;customerId&quot;: &quot;123456&quot;,
&quot;startTime&quot;: &quot;2021-10-01&quot;,
&quot;endTime&quot;: &quot;2021-12-01&quot;
}</code></pre>
<h3>响应参数</h3>
<table>
<thead>
<tr>
<th>字段名</th>
<th>类型</th>
<th>是否必填</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>code</code></td>
<td><code>number</code></td>
<td>是</td>
<td>20000成功 其余失败。</td>
</tr>
<tr>
<td><code>data</code></td>
<td><code>object</code></td>
<td>是</td>
<td>响应信息。</td>
</tr>
<tr>
<td><code>data.surveyInfos</code></td>
<td><code>array[object]</code></td>
<td>是</td>
<td>查询到的客户调研列表。</td>
</tr>
<tr>
<td><code>data.surveyInfos.custSurveyId</code></td>
<td><code>string</code></td>
<td>是</td>
<td>调研编号。</td>
</tr>
<tr>
<td><code>data.surveyInfos.surveyTypeCode</code></td>
<td><code>string</code></td>
<td>是</td>
<td>调研类型 枚举: 外呼:Call,用户信息核实:Verify。</td>
</tr>
<tr>
<td><code>data.surveyInfos.surveyStatusCode</code></td>
<td><code>string</code></td>
<td>是</td>
<td>调研状态 已调研:Success,未调研:Failure,未知:Unknown。</td>
</tr>
<tr>
<td><code>data.surveyInfos.surveyDate</code></td>
<td><code>string</code></td>
<td>是</td>
<td>调研时间。</td>
</tr>
<tr>
<td><code>data.surveyInfos.surveyResult</code></td>
<td><code>string</code></td>
<td>是</td>
<td>调研结果。</td>
</tr>
<tr>
<td><code>data.surveyInfos.failureCause</code></td>
<td><code>string</code></td>
<td>是</td>
<td>失败原因。</td>
</tr>
<tr>
<td><code>data.surveyInfos.description</code></td>
<td><code>string</code></td>
<td>是</td>
<td>描述信息。</td>
</tr>
</tbody>
</table>
<h3>返回示例</h3>
<pre><code class="language-json">{
&quot;code&quot;: 20000,
&quot;data&quot;: {
&quot;surveyInfos&quot;: [
{
&quot;custSurveyId&quot;: &quot;123456&quot;,
&quot;surveyTypeCode&quot;: &quot;Call&quot;,
&quot;surveyStatusCode&quot;: &quot;Success&quot;,
&quot;surveyDate&quot;: &quot;2021-10-01 10:00:00&quot;,
&quot;surveyResult&quot;: &quot;调研结果&quot;,
&quot;failureCause&quot;: &quot;&quot;,
&quot;description&quot;: &quot;调研描述&quot;
},
{
&quot;custSurveyId&quot;: &quot;789012&quot;,
&quot;surveyTypeCode&quot;: &quot;Verify&quot;,
&quot;surveyStatusCode&quot;: &quot;Failure&quot;,
&quot;surveyDate&quot;: &quot;2021-10-02 10:00:00&quot;,
&quot;surveyResult&quot;: &quot;&quot;,
&quot;failureCause&quot;: &quot;客户未接听&quot;,
&quot;description&quot;: &quot;调研描述&quot;
}
]
}
}</code></pre>