社会维度人群分类
<h5>简要描述</h5>
<ul>
<li>社会维度人群分类接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://iptest.brslgj.com/api/twelveSociety?id=2002</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </li>
</ul>
<h5>Authorization header</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">参数值</th>
<th style="text-align: left;">类型</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Authorization</td>
<td style="text-align: left;">Bearer access_token</td>
<td style="text-align: left;">string</td>
</tr>
</tbody>
</table>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 200,
&quot;message&quot;: &quot;成功&quot;,
&quot;data&quot;: {
&quot;主维度&quot;: [
{
&quot;name&quot;: &quot;中产小家&quot;,
&quot;option_count&quot;: 10447,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 28.79,
&quot;rank_num&quot;: 1
},
{
&quot;name&quot;: &quot;新进中产&quot;,
&quot;option_count&quot;: 7717,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 21.27,
&quot;rank_num&quot;: 2
},
{
&quot;name&quot;: &quot;职场白领&quot;,
&quot;option_count&quot;: 6491,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 17.89,
&quot;rank_num&quot;: 3
},
{
&quot;name&quot;: &quot;小镇家庭&quot;,
&quot;option_count&quot;: 3242,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 8.93,
&quot;rank_num&quot;: 4
},
{
&quot;name&quot;: &quot;工薪伴侣&quot;,
&quot;option_count&quot;: 2283,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 6.29,
&quot;rank_num&quot;: 5
},
{
&quot;name&quot;: &quot;草根青年&quot;,
&quot;option_count&quot;: 2174,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 5.99,
&quot;rank_num&quot;: 6
},
{
&quot;name&quot;: &quot;中年蓝领&quot;,
&quot;option_count&quot;: 2084,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 5.74,
&quot;rank_num&quot;: 7
},
{
&quot;name&quot;: &quot;基层家庭&quot;,
&quot;option_count&quot;: 706,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 1.95,
&quot;rank_num&quot;: 8
},
{
&quot;name&quot;: &quot;殷实小家&quot;,
&quot;option_count&quot;: 421,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 1.16,
&quot;rank_num&quot;: 9
},
{
&quot;name&quot;: &quot;领袖精英&quot;,
&quot;option_count&quot;: 306,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 0.84,
&quot;rank_num&quot;: 10
},
{
&quot;name&quot;: &quot;富裕二代&quot;,
&quot;option_count&quot;: 229,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 0.63,
&quot;rank_num&quot;: 11
},
{
&quot;name&quot;: &quot;富足之家&quot;,
&quot;option_count&quot;: 87,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 0.24,
&quot;rank_num&quot;: 12
},
{
&quot;name&quot;: &quot;美满晚年&quot;,
&quot;option_count&quot;: 67,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 0.18,
&quot;rank_num&quot;: 13
},
{
&quot;name&quot;: &quot;留守老人&quot;,
&quot;option_count&quot;: 34,
&quot;sample_count&quot;: 36288,
&quot;value&quot;: 0.09,
&quot;rank_num&quot;: 14
}
]
}
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td>状态码</td>
</tr>
<tr>
<td style="text-align: left;">message</td>
<td style="text-align: left;">string</td>
<td>消息提示</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>