车享-嗨拉运好车接口文档

嗨拉运好车开放平台API文档


验车确认指令

<h3>功能描述</h3> <p>验车确认的三种可能性</p> <ul> <li>情景1: 确认验车,可以提车,启动运输流程。</li> <li>情景2: 客户发送换车指令,运单关联的车架号将更新为新车架号,同时对新车进行验车。</li> <li>情景3: 取消运输,终止该运输任务。</li> </ul> <h3>请求方式 <code>POST</code></h3> <h3>请求路径 <code>{BASE_API}/vehicleInspectionConfirm</code></h3> <h3>请求头 Headers</h3> <p><code>BASE_API</code>和请求头Headers的设置,详见步骤<a href="https://www.showdoc.com.cn/hilaV2/7341470508145981">3 根路径和请求Headers参数</a></p> <h3>请求参数 Body</h3> <table> <thead> <tr> <th>字段</th> <th>字段类型</th> <th>必填</th> <th>字段说明</th> </tr> </thead> <tbody> <tr> <td>waybillNumber</td> <td>string</td> <td>是</td> <td>运单号</td> </tr> <tr> <td>option</td> <td>string</td> <td>否</td> <td>验车结果选项(默认值为<code>1</code>即<code>确认验车</code>)</td> </tr> <tr> <td>orderCanceledRemark</td> <td>string</td> <td>否</td> <td>取消验车原因(备注:如果<code>验车结果选项</code>选了<code>3</code>,可以填写<code>取消验车原因</code>)</td> </tr> <tr> <td>newVin</td> <td>string</td> <td>否</td> <td>新车架号(备注:如果<code>验车结果选项</code>选了<code>2</code>,则必须填写<code>新车架号</code>)</td> </tr> </tbody> </table> <h4>请求示例</h4> <ul> <li>情景1(<code>验车结果选项 option</code>为<code>1</code>): 确认验车,可以提车,启动运输流程。 <pre><code>{ "waybillNumber": "TD204621060011", "option":"1" }</code></pre></li> <li> <p>情景2(<code>验车结果选项 option</code>为<code>2</code>): 客户发送换车指令,运单关联的车架号将更新为新车架号,同时对新车进行验车。</p> <pre><code>{ "waybillNumber": "TD204621060011", "option":"2", "newVin":"LBV1W7107MM098261" }</code></pre> </li> <li>情景3(<code>验车结果选项 option</code>为<code>3</code>): 取消运输,终止该运输任务。 <pre><code>{ "waybillNumber": "TD204621060011", "option":"3", "orderCanceledRemark":"有车损,取消运单" }</code></pre></li> </ul> <h3>返回结果</h3> <p>返回确认</p> <h4>返回结果示例</h4> <pre><code class="language-json">{ "success": true "data": { "waybillNumber": "TD204621060011" } }</code></pre>

页面列表

ITEM_HTML