MarketUP开发接口

API文档示例


批量获取线索

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>线索批量获取接口: 查询参数中cursor为起始查询的游标,size是每次返回数据量。 返回数据会返回下一批的起始的cursor:nextCursor。</li> </ul> <h5>请求 URL</h5> <ul> <li><code>https://openplatform.marketup.cn/api/open-platform/v1/leads/batchGetLeads</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET</li> </ul> <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> <tr> <td style="text-align: left;">cursor</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>批量查询起始游标,默认0</td> </tr> <tr> <td style="text-align: left;">size</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>批量查询数量 默认10</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code class="language-json">{ &amp;quot;code&amp;quot;: 200, &amp;quot;message&amp;quot;: &amp;quot;SUCCESS&amp;quot;, &amp;quot;data&amp;quot;: { &amp;quot;leads&amp;quot;: [ { &amp;quot;emailAddress&amp;quot;: &amp;quot;2131@qq.com&amp;quot;, &amp;quot;leadsId&amp;quot;: &amp;quot;3643371674273792&amp;quot;, &amp;quot;mobilePhone&amp;quot;: &amp;quot;17878234324&amp;quot;, &amp;quot;company&amp;quot;: &amp;quot;某电器有限公司&amp;quot;, &amp;quot;title&amp;quot;: &amp;quot;市场对接&amp;quot;, &amp;quot;username&amp;quot;: &amp;quot;风离&amp;quot; }, { &amp;quot;emailAddress&amp;quot;: &amp;quot;123123@qq.coim&amp;quot;, &amp;quot;leadsId&amp;quot;: &amp;quot;3707283895567361&amp;quot;, &amp;quot;mobilePhone&amp;quot;: &amp;quot;17878234324&amp;quot;, &amp;quot;company&amp;quot;: &amp;quot;某阀门有限公司&amp;quot;, &amp;quot;title&amp;quot;: &amp;quot;销售&amp;quot;, &amp;quot;username&amp;quot;: &amp;quot;王某某&amp;quot; } ], &amp;quot;nextCursor&amp;quot;: 3767765416053760 } }</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>接口返回状态 200 接口返回正常 其他:接口返回异常</td> </tr> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">Object</td> <td>返回的数据</td> </tr> <tr> <td style="text-align: left;">data.leads</td> <td style="text-align: left;">Array</td> <td>线索集合</td> </tr> <tr> <td style="text-align: left;">data.nextCursor</td> <td style="text-align: left;">long</td> <td>下一次批量请求起始游标</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>请求的认证和鉴权参考 <a href="https://www.showdoc.com.cn/2104732250979632/9479093669088879"><a href="https://www.showdoc.com.cn/2104732250979632/9479093669088879">https://www.showdoc.com.cn/2104732250979632/9479093669088879</a></a></li> <li>更多错误码请参考 <a href="https://www.showdoc.com.cn/2104732250979632/9459388393915028"><a href="https://www.showdoc.com.cn/2104732250979632/9459388393915028">https://www.showdoc.com.cn/2104732250979632/9459388393915028</a></a></li> </ul>

页面列表

ITEM_HTML