分享页面

业务购买询价

<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">line_code</td> <td style="text-align:left">是</td> <td style="text-align:left">string</td> <td>线路编码</td> </tr> <tr> <td style="text-align:left">spec_code</td> <td style="text-align:left">是</td> <td style="text-align:left">string</td> <td>规格编码</td> </tr> <tr> <td style="text-align:left">bandwidth</td> <td style="text-align:left">是</td> <td style="text-align:left">integer</td> <td>带宽</td> </tr> <tr> <td style="text-align:left">ipnum</td> <td style="text-align:left">是</td> <td style="text-align:left">integer</td> <td>IP数量</td> </tr> <tr> <td style="text-align:left">defense</td> <td style="text-align:left">否</td> <td style="text-align:left">integer</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/>- 不填: 试用 <br/>- 1D:日付<br/>- 7D:周付<br/>- 数字: 月份 例:1(1个月)</td> </tr> <tr> <td style="text-align:left">number</td> <td style="text-align:left">是</td> <td style="text-align:left">integer</td> <td>购买数量</td> </tr> </tbody> </table> <p> <strong>输入示例:</strong></p> <ul> <li><p><a href="https://qg.net/api/physical-business/getOrderPrice?line_code=value&amp;spec_code=value&amp;bandwidth=value&amp;ipnum=value&amp;defense=value&amp;duration=value&amp;number=value">https://qg.net/api/physical-business/getOrderPrice?line_code=value&amp;spec_code=value&amp;bandwidth=value&amp;ipnum=value&amp;defense=value&amp;duration=value&amp;number=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><br>JSON格式</p> <pre><code>{ &quot;RequestId&quot;: &quot;4C467B38-3910-447D-87BC-AC049166F216&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>
本文导读