服务订单回调
<p><strong>请求URL由第三方提供:</strong> </p>
<p>橙医回调第三方接口,即当第三方向橙医提交数据后,橙医会异步的操作订单状态,订单的状态同步会通过回调第三方提供的接口,将数据状态同步给第三方。</p>
<p><strong>数据字段如下:</strong></p>
<pre><code>{
&quot;outOrderNo&quot;: &quot;外部订单号&quot;,
&quot;serviceOrderNo&quot;: &quot;服务单号&quot;,
&quot;cardNo&quot;: &quot;用户卡号&quot;,
&quot;hospital&quot;: &quot;医院&quot;,
&quot;department&quot;: &quot;科室&quot;,
&quot;expectedAt&quot;: &quot;预约时间(0000-00-00)&quot;,
&quot;remark&quot;: &quot;备注&quot;,
&quot;status&quot;: &quot;预约单状态code&quot;,
&quot;statusCn&quot;: &quot;预约单状态中文显示&quot;,
&quot;fullname&quot;: &quot;预约使用人&quot;,
&quot;symptom&quot;: &quot;symptom&quot;,
&quot;demand&quot;: &quot;demand&quot;,
&quot;age&quot;: 0,
&quot;sex&quot;: 0,
&quot;goodsCategoryName&quot;: &quot;服务类型&quot;,
&quot;event&quot;: {
&quot;code&quot;: 11111,
&quot;name&quot;: &quot;事件名称&quot;
}
}</code></pre>
<ol>
<li>status 状态码</li>
</ol>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>待处理</td>
</tr>
<tr>
<td>2</td>
<td>处理中</td>
</tr>
<tr>
<td>3</td>
<td>处理完成 (已完结)</td>
</tr>
<tr>
<td>5</td>
<td>已取消 (已完结)</td>
</tr>
<tr>
<td>9</td>
<td>处理失败 (已完结)</td>
</tr>
</tbody>
</table>
<ol>
<li>event 事件说明</li>
</ol>
<table>
<thead>
<tr>
<th>事件</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>10012001</td>
<td>新建待处理</td>
</tr>
<tr>
<td>10012002</td>
<td>待陪诊师确认</td>
</tr>
<tr>
<td>10012003</td>
<td>陪诊师确认派单</td>
</tr>
<tr>
<td>10012004</td>
<td>已完成</td>
</tr>
<tr>
<td>10012005</td>
<td>客户取消</td>
</tr>
</tbody>
</table>