接口描述
此接口是服务云中转服务平台接收行李保障平台推送的行李状态变化,目前一件行李正常可以收到三次状态的变更:
* 前段航班到达后地服人员行李卸机时扫码到预约的行李免提订单,行李平台调用此接口推送行李状态为转运中
* 地报人员装机扫码到行李免提订单,行李平台调用此接口推送行李状态为已装机
* 行李保障中出现异常需要中终直挂时,行李平台调用此接口推送行李状态为已中断
接口地址
https://ip/api/luggage/changeDetailsStatus
请求参数
| 字段 |类型 |描述|是否必须|备注|
| --- | --- |---|---|---|
|airportOwner|String|进港机场|是|机场三字码,如西安:XIY
|orderId|String|订单ID|是|订单创建时的ID|
|luggageInNo|String|行李号进港|否|行李直挂的必输,其它不用|
|luggageOutNo|String|行李号出港|否|
|luggageTagType|String|行李标记类型|否|1超大,2晚到,3活物,4破损,5易碎(多个用逗号隔开)|
|luggageStatus|int|行李状态|否|行李直挂的必输(进港:1行李卸机,3行李中断,4行李分拣 5行李运输,6行李提取,出港:7行李托运,8行李安检,9行李分拣,10行李运输, 2行李装机)
|interruption|int|中断原因|否|异常类型:1航班延误2行李破损3旅客自提9其它|
|handingtime|Datetime|处理时间|是|状态更新时间yyyy-MM-dd HH:mm:ss
|operator|String|处理人|是|状态更新人|
|remark1|String|保留字段1|否|备用|
|remark2|String|保留字段2|否|备用|
|remark3|String|保留字段3|否|备用|
请求报文
数据类型Content-Type: Params
~~~
appCode=""timeStamp=""sign=""
~~~
数据类型Content-Type: application/json
```
{
"airportOwner":"string",
"interruption":"string",
"luggageInNo":"string",
"luggageOutNo":"string",
"luggageStatus":1,
"luggageTagType":"string",
"operator":"string",
"orderId":"string",
"remark1":"string",
"remark2":"string",
"remark3":"string"
}
```
响应参数
| 字段 | | 类型 |描述 |备注
| --- | --- | --- | --- |--- | --- |
| code | |String|返回状态|0 - 失败 1 - 成功|
| message| |String|错误说明|请求失败或者发生错误的具体描述
| timeStamp| |datetime|请求时间戳|请求时带的时间戳
| result| |Object||结果集|1:创建行程 2:退票3:改签 4:旅客取消
| | orderId|String|订单ID|
| | luggageNoString|String|行李号|
| | remark1|String|保留字段1|
| | remark2|String|保留字段2|
| | remark3|String|保留字段3|
响应格式
```
{
"success":true,
"message":"success",
"code":1,
"timestamp":1567663129728,
"result":{
"orderDetailsId":"0264ce4f4f6d44b0804a7fe8f276bcb4",
"luggageInNo":"3324036756",
"orderId":"85398a5cb8aa4f45b000bacafbdb4dfb",
"updateTime":"2019-09-05 13:58:49",
"dest":null,
"luggageNum":2,
"luggageImages":null,
"luggageOutNo":null,
"luggageWeight":20,
"createTime":"2019-09-05 11:12:12",
"luggageTagType":"big",
"remark1":null,
"luggageStatus":1,
"remark3":null,
"remark2":null
}
}
```