分享页面

业务续费询价

<p><strong>简要描述:</strong></p> <ul> <li>本接口用于业务续费询价</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">suid</td> <td style="text-align:left">是</td> <td style="text-align:left">string</td> <td>业务标识</td> </tr> <tr> <td style="text-align:left">duration</td> <td style="text-align:left">是</td> <td style="text-align:left">string</td> <td>购买时长<br/>单位: <br/>- 1D:日付<br/>- 7D:周付<br/>- 数字: 月份 例:1(1个月)</td> </tr> </tbody> </table> <p> <strong>输入示例:</strong></p> <ul> <li><p><a href="https://qg.net/api/physical-business/getRenewPrice?suid=value&amp;duration=value">https://qg.net/api/physical-business/getRenewPrice?suid=value&amp;duration=value</a></p> <p><strong>返回参数:</strong></p> </li></ul> <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">RequestId</td> <td style="text-align:left">string</td> <td>请求编号</td> </tr> <tr> <td style="text-align:left">Code</td> <td style="text-align:left">integer</td> <td>返回编号</td> </tr> <tr> <td style="text-align:left">Message</td> <td style="text-align:left">string</td> <td>返回内容</td> </tr> <tr> <td style="text-align:left">Data.OriginPrice</td> <td style="text-align:left">string</td> <td>原价</td> </tr> <tr> <td style="text-align:left">Data.Discount.Discount</td> <td style="text-align:left">string</td> <td>折扣</td> </tr> <tr> <td style="text-align:left">Data.Discount.ActivityDiscount</td> <td style="text-align:left">string</td> <td>活动折扣</td> </tr> <tr> <td style="text-align:left">Data.Discount.TotalPrice</td> <td style="text-align:left">string</td> <td>支付价格</td> </tr> </tbody> </table> <p><strong>返回示例:</strong></p> <p>JSON格式</p> <pre><code>{ &quot;RequestId&quot;: &quot;34EEE948-986B-75F0-6D61-01AB03746E1E&quot;, &quot;Code&quot; : &quot;200&quot; &quot;Message&quot;:&quot;xxxxxxx&quot; &quot;Data&quot;: { &quot;Discount&quot;: { &quot;Discount &quot;: &quot;80&quot;, &quot;ActivityDiscount &quot;: 10, &quot;TotalPrice &quot;: &quot;240.00&quot; }, &quot;OriginPrice&quot;: &quot;300.00&quot; } } </code></pre><p> <strong>错误码:</strong></p> <table> <thead> <tr> <th style="text-align:left">错误码</th> <th style="text-align:left">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align:left">-</td> <td style="text-align:left">-</td> </tr> </tbody> </table> <p> <strong>备注</strong></p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li></ul>
本文导读