3.46航班对象
# 3.46 航班对象
</br>
## 数据结构说明
| 字段 | 数据类型 | 释义 | 取值 | 取值释义 |
|----------|----------|------------------|------|----------|
| id | int | 目标对象ID | 357| |
| city| String | 出发城市 | | |
| endcity| String | 到达城市 || |
| flightno| String | 航班号 | | |
| date| String | 起飞日期 | | |
| departtime| String | 预计起飞时间 | | |
| arrivaltime| String | 预计到达时间 | | |
| craft| String | 机型 | | |
| costtime| String | 用时 | | |
| airline| String | 航空公司 | | |
| departport| String | 出发机场 | | |
| arrivalport| String |到达机场 | | |
| dep| String | 出发机场-简称 | | |
| arp| String |到达机场-简称 | | |
| day| int |天数 | | 1=当天抵达,2=第二天抵达…… |
| weekday| String |起飞星期 | | |
| departterminal| String |起飞航站楼 | | |
| arrivalterminal| String |到达航站楼 | | |
| gate| String |登机口 | | |
| counter| String |值机柜台 | | |
| arrpunctualrate| String |准点率 | | |
| status| String |状态 | | |
| luggagetray| String |行李盘 | | |
| actualdepart| String |实际起飞时间 | | |
| actualarrival| String |实际到达时间 | | |
</br>
## 返回结果json示例
~~~
输入:明天上午8点从广州到北京的航班
输出:
{
"rtext":"我帮你查到了7趟上午8点前后的航班:\n第1,7点50分从白云国际机场到首都国际机场的海南航空H U 7 8 0 2(大型机),到达时间是10点55分;\n第2,7点55分从白云国际机场到大兴机场的东方航空M U 6 3 0 2(中型机),到达时间是10点55分;\n第3,8点整从白云国际机场到大兴机场的南方航空C Z 3 1 0 1(中型机),到达时间是10点55分;\n第4,8点05分从白云国际机场到首都国际机场的中国国航C A 1 3 1 0(中型机),到达时间是11点10分;\n第5,9点整从白云国际机场到大兴机场的南方航空C Z 3 0 9 9(中型机),到达时间是12点10分;\n第6,9点15分从白云国际机场到首都国际机场的海南航空H U 7 8 0 4(大型机),到达时间是12点15分;\n第7,9点40分从白云国际机场到首都国际机场的中国国航C A 1 3 8 0(中型机),到达时间是12点40分。",
"outc":0,
"actions":[
{
"action":"VIEW",
"target":{
"id":357,
"city":"广州",
"endcity":"北京",
"flightno":"HU7802",
"date":"2023-10-08",
"departtime":"07:50",
"arrivaltime":"10:55",
"craft":"空客330(大)",
"costtime":"3小时5分钟",
"airline":"海南航空",
"departport":"白云国际机场",
"arrivalport":"首都国际机场",
"dep":"白云",
"arp":"首都",
"day":1
}
},
{
"action":"VIEW",
"target":{
"id":357,
"city":"广州",
"endcity":"北京",
"flightno":"MU6302",
"date":"2023-10-08",
"departtime":"07:55",
"arrivaltime":"10:55",
"craft":"波音737(中)",
"costtime":"3小时",
"airline":"东方航空",
"departport":"白云国际机场",
"arrivalport":"大兴机场",
"dep":"白云",
"arp":"大兴",
"day":1
}
},
{
"action":"VIEW",
"target":{
"id":357,
"city":"广州",
"endcity":"北京",
"flightno":"CZ3101",
"date":"2023-10-08",
"departtime":"08:00",
"arrivaltime":"10:55",
"craft":"空客350(大)",
"costtime":"2小时55分钟",
"airline":"南方航空",
"departport":"白云国际机场",
"arrivalport":"大兴机场",
"dep":"白云",
"arp":"大兴",
"day":1
}
},
{
"action":"VIEW",
"target":{
"id":357,
"city":"广州",
"endcity":"北京",
"flightno":"CA1310",
"date":"2023-10-08",
"departtime":"08:05",
"arrivaltime":"11:10",
"craft":"空客350(大)",
"costtime":"3小时5分钟",
"airline":"中国国航",
"departport":"白云国际机场",
"arrivalport":"首都国际机场",
"dep":"白云",
"arp":"首都",
"day":1
}
},
{
"action":"VIEW",
"target":{
"id":357,
"city":"广州",
"endcity":"北京",
"flightno":"CZ3099",
"date":"2023-10-08",
"departtime":"09:00",
"arrivaltime":"12:10",
"craft":"波音777(大)",
"costtime":"3小时10分钟",
"airline":"南方航空",
"departport":"白云国际机场",
"arrivalport":"大兴机场",
"dep":"白云",
"arp":"大兴",
"day":1
}
},
{
"action":"VIEW",
"target":{
"id":357,
"city":"广州",
"endcity":"北京",
"flightno":"HU7804",
"date":"2023-10-08",
"departtime":"09:15",
"arrivaltime":"12:15",
"craft":"空客330(大)",
"costtime":"3小时",
"airline":"海南航空",
"departport":"白云国际机场",
"arrivalport":"首都国际机场",
"dep":"白云",
"arp":"首都",
"day":1
}
},
{
"action":"VIEW",
"target":{
"id":357,
"city":"广州",
"endcity":"北京",
"flightno":"CA1380",
"date":"2023-10-08",
"departtime":"09:40",
"arrivaltime":"12:40",
"craft":"波音777(大)",
"costtime":"3小时",
"airline":"中国国航",
"departport":"白云国际机场",
"arrivalport":"首都国际机场",
"dep":"白云",
"arp":"首都",
"day":1
}
}
],
"intention":"PLANE",
"score":"1"
}
~~~
~~~
输入:cz3101起飞航站楼
输出:
{
"rtext": "cz3101起飞航站楼是T2",
"outc": 0,
"actions": [
{
"action": "VIEW",
"target": {
"id": 357,
"city": "广州",
"endcity": "北京",
"flightno": "CZ3101",
"date": "2024-05-27",
"weekday": "星期一",
"departtime": "08:00",
"arrivaltime": "11:05",
"costtime": "3小时5分钟",
"airline": "南方航空",
"departport": "新白云国际机场",
"arrivalport": "大兴机场",
"dep": "新白云",
"arp": "大兴",
"day": 1,
"departterminal": "T2",
"arrivalterminal": "",
"gate": "B173",
"counter": "E,F,G,H,J",
"arrpunctualrate": "",
"status": "到达",
"luggagetray": "24",
"actualdepart": "08:26",
"actualarrival": "10:48"
}
}
],
"intention": "PLANE"
}
~~~