淘宝客私域用户备案(授权)
<p><strong>简要描述:</strong> </p>
<ul>
<li>淘宝客私域用户备案</li>
</ul>
<p><strong>作者:</strong> </p>
<ul>
<li>丁晓忠</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/xtwl_write_interface/cmd</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<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>
<tr>
<td style="text-align: left;">custId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>客户id</td>
</tr>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>获取用户令牌码</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>{
"modular": "writeTbk",
"param": {
"userKey": "6A41AF1669AD4FB6E0530100007F01C0",
"secretKey": "F1ACF1AE0D0360BF6AB24DD0EAB73E1C",
"dtype": 5,
"authKey": "0",
"uuid": "e3ae47ff-6c88-4285-9564-b2b265c512b8",
"timeStamp": "1507511462632",
"custId": "D78AEA3418834147BE226395B0309642",
"code":"58IsxsVWIHLS3uh5NZYPBGj99426397"
},
"requestname": "keepOnRecord",
"version": "3.0"
}
</code></pre>
<p><strong>返回参数说明</strong> </p>
<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;"></td>
<td style="text-align: left;"></td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"result": "授权成功",
"resultcode": "0",
"resultdesc": "success"
}
{
"resultcode": "0002",
"resultdesc": "您的淘宝账号已授权,请勿重复授权"
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>