移动支付产品接入

移动支付产品接入文档


物联网卡信息批量查询接口

<p><strong>简要描述:</strong> </p> <ul> <li>接口支持批量查询,最大支持20个号码查询,可以同时传递IMEI或同时传递ICCID信息查询,不支持IMEI和ICCID混合查询,默认查询数据状态为截至前一天的信息,如需实时信息,请传递update状态为true,此时会动态请求移动服务器,查询速度较慢</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://app.szzkc.com/api/app/querySimCardBatch</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>请求参数(JSON):</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;">imeis</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>IMEI 或 ICCID,多个号码英文逗号分隔,最大记录20</td> </tr> <tr> <td style="text-align: left;">update</td> <td style="text-align: left;">否</td> <td style="text-align: left;">bool</td> <td>是否即时查询,传递true或false,默认为截至前一天的数据</td> </tr> </tbody> </table> <p><strong>请求示例</strong></p> <pre><code>{ &amp;quot;imeis&amp;quot;: &amp;quot;352019040635785,352019040625281,352019041648936&amp;quot; }</code></pre> <p><strong>返回参数示例</strong></p> <pre><code>{ &amp;quot;state&amp;quot;: true, &amp;quot;result&amp;quot;: [ { &amp;quot;ServiceNum&amp;quot;: &amp;quot;460044352904839&amp;quot;, &amp;quot;IMEI&amp;quot;: &amp;quot;352019040635785&amp;quot;, &amp;quot;ICCID&amp;quot;: &amp;quot;89860423191970454839&amp;quot;, &amp;quot;Status&amp;quot;: 1, &amp;quot;ActiveTS&amp;quot;: &amp;quot;2019-07-02T11:03:42&amp;quot;, &amp;quot;ExpireTS&amp;quot;: &amp;quot;2020-07-05T15:08:49&amp;quot;, &amp;quot;Balance&amp;quot;: &amp;quot;8306.00KB&amp;quot; }, { &amp;quot;ServiceNum&amp;quot;: &amp;quot;460044352904000&amp;quot;, &amp;quot;IMEI&amp;quot;: &amp;quot;352019040625281&amp;quot;, &amp;quot;ICCID&amp;quot;: &amp;quot;89860423191970454000&amp;quot;, &amp;quot;Status&amp;quot;: 1, &amp;quot;ActiveTS&amp;quot;: &amp;quot;2019-06-21T19:38:22&amp;quot;, &amp;quot;ExpireTS&amp;quot;: &amp;quot;2019-06-22T14:29:44&amp;quot;, &amp;quot;Balance&amp;quot;: &amp;quot;0KB&amp;quot; }, { &amp;quot;ServiceNum&amp;quot;: &amp;quot;460044300203314&amp;quot;, &amp;quot;IMEI&amp;quot;: &amp;quot;352019041648936&amp;quot;, &amp;quot;ICCID&amp;quot;: &amp;quot;898604231919c0083314&amp;quot;, &amp;quot;Status&amp;quot;: 1, &amp;quot;ActiveTS&amp;quot;: &amp;quot;2019-08-09T08:48:15&amp;quot;, &amp;quot;ExpireTS&amp;quot;: &amp;quot;2020-08-15T17:55:27&amp;quot;, &amp;quot;Balance&amp;quot;: &amp;quot;4.00KB&amp;quot; } ], &amp;quot;error&amp;quot;: &amp;quot;&amp;quot; }</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;">state</td> <td style="text-align: left;">bool</td> <td>查询状态</td> </tr> <tr> <td style="text-align: left;">ServiceNum</td> <td style="text-align: left;">string</td> <td>物理卡号</td> </tr> <tr> <td style="text-align: left;">Status</td> <td style="text-align: left;">int</td> <td>卡状态信息:0:暂停 1:恢复(或正常)</td> </tr> <tr> <td style="text-align: left;">ActiveTS</td> <td style="text-align: left;">string</td> <td>激活时间</td> </tr> <tr> <td style="text-align: left;">ExpireTS</td> <td style="text-align: left;">string</td> <td>到期时间</td> </tr> <tr> <td style="text-align: left;">Balance</td> <td style="text-align: left;">string</td> <td>当月剩余用量</td> </tr> </tbody> </table> <hr /> <p>*<strong>错误返回示例</strong></p> <pre><code>{ &amp;quot;state&amp;quot;: false, &amp;quot;result&amp;quot;: null, &amp;quot;error&amp;quot;: &amp;quot;未查询到任何数据&amp;quot; }</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;">state</td> <td style="text-align: left;">bool</td> <td>查询状态</td> </tr> <tr> <td style="text-align: left;">result</td> <td style="text-align: left;">string</td> <td>null</td> </tr> <tr> <td style="text-align: left;">error</td> <td style="text-align: left;">string</td> <td>错误描述,例如:未查询到任何数据</td> </tr> </tbody> </table>

页面列表

ITEM_HTML