diff options
Diffstat (limited to 'data/zh_cn/airticketopen')
| -rw-r--r-- | data/zh_cn/airticketopen/2023-01-17/api-docs.php | 13195 |
1 files changed, 3073 insertions, 10122 deletions
diff --git a/data/zh_cn/airticketopen/2023-01-17/api-docs.php b/data/zh_cn/airticketopen/2023-01-17/api-docs.php index 312576b..c50505f 100644 --- a/data/zh_cn/airticketopen/2023-01-17/api-docs.php +++ b/data/zh_cn/airticketopen/2023-01-17/api-docs.php @@ -1,298 +1,596 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'airticketOpen', - 'version' => '2023-01-17', - ], + 'info' => ['style' => 'ROA', 'product' => 'airticketOpen', 'version' => '2023-01-17'], 'directories' => [ [ - 'id' => 180765, - 'title' => 'Token凭证', - 'type' => 'directory', - 'children' => [ - 'GetToken', - ], - ], - [ - 'id' => 180770, - 'title' => '正向', + 'children' => ['GetToken'], 'type' => 'directory', - 'children' => [ - 'Search', - 'Enrich', - 'AncillarySuggest', - 'Pricing', - 'Book', - 'TicketingCheck', - 'Ticketing', - 'Cancel', - 'OrderDetail', - 'OrderList', - ], + 'title' => 'Token凭证', + 'id' => 453289, ], [ - 'id' => 180787, - 'title' => '退票', + 'children' => ['Search', 'Enrich', 'AncillarySuggest', 'Pricing', 'Book', 'TicketingCheck', 'Ticketing', 'Cancel', 'OrderDetail', 'OrderList'], 'type' => 'directory', - 'children' => [ - 'RefundApply', - 'RefundDetailList', - 'RefundDetail', - ], + 'title' => '正向', + 'id' => 453290, ], [ - 'id' => 180791, - 'title' => '改期', + 'children' => ['RefundApply', 'RefundDetailList', 'RefundDetail'], 'type' => 'directory', - 'children' => [ - 'ChangeConfirm', - 'ChangeCancel', - 'ChangeDetailListOfBuyer', - 'ChangeDetail', - 'ChangeApply', - 'ChangeDetailListOfOrderNum', - ], + 'title' => '退票', + 'id' => 453291, ], [ - 'id' => 180799, - 'title' => '航变', + 'children' => ['ChangeConfirm', 'ChangeCancel', 'ChangeDetailListOfBuyer', 'ChangeDetail', 'ChangeApply', 'ChangeDetailListOfOrderNum'], 'type' => 'directory', - 'children' => [ - 'FlightChangeOfOrder', - ], + 'title' => '改期', + 'id' => 453292, ], [ - 'id' => 182563, - 'title' => '其他', + 'children' => ['FlightChangeOfOrder'], 'type' => 'directory', - 'children' => [ - 'AccountFlowList', - 'FileUpload', - 'LuggageDirect', - 'TransitVisa', - 'CollectFlightLowestPrice', - ], + 'title' => '航变', + 'id' => 453293, ], [ - 'id' => 0, - 'title' => '其它', + 'children' => ['AccountFlowList', 'FileUpload', 'LuggageDirect', 'TransitVisa', 'CollectFlightLowestPrice', 'StandardSearch'], 'type' => 'directory', - 'children' => [ - 'StandardSearch', - ], + 'title' => '其他', + 'id' => 453294, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'GetToken' => [ - 'summary' => '获取接口调用 token 凭证,token 有效期2小时。', - 'path' => '/airticket/v1/token', - 'methods' => [ - 'get', + 'AccountFlowList' => [ + 'summary' => '账号资金流水列表。', + 'path' => '/airticket/v1/account/flow-list', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'utc_begin_time', + 'in' => 'query', + 'schema' => ['title' => '开始搜索时间戳具体生效到天,UTC 13位时间戳', 'description' => '开始搜索时间戳具体生效到天,UTC 13位时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1677427200000'], + ], + [ + 'name' => 'day_num', + 'in' => 'query', + 'schema' => ['title' => '搜索多少天 最大30天 取值范围[0,30]', 'description' => '搜索多少天 最大30天 取值范围[0,30]', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], + ], + [ + 'name' => 'page_index', + 'in' => 'query', + 'schema' => ['title' => '页索引', 'description' => '页索引', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'page_size', + 'in' => 'query', + 'schema' => ['title' => '页大小', 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], ], - 'schemes' => [ - 'https', - 'http', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopBaseRes<PageData<AccountFlow>, Object>', + 'description' => 'PopBaseRes<PageData<AccountFlow>, Object>', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => [ + 'title' => '正确处理返回数据', + 'description' => '正确处理返回数据', + 'type' => 'object', + 'properties' => [ + 'list' => [ + 'title' => '数据列表', + 'description' => '数据列表', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'flow_id' => ['title' => '流水ID', 'description' => '流水ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1627239841225842666'], + 'gmt_create' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1676799185000'], + 'gmt_modified' => ['title' => '修改时间', 'description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1676966530000'], + 'op_type' => ['title' => '操作类型 详见BalanceOpTypeEnum, 1:付款; 2:退款; 3:充值', 'description' => '操作类型 1:付款; 2:退款; 3:充值', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'op_amount' => ['title' => '操作金额(元)', 'description' => '操作金额(元)', 'type' => 'number', 'format' => 'double', 'example' => '950.5'], + 'before_available_amount' => ['title' => '操作前可用余额(元)', 'description' => '操作前可用余额(元)', 'type' => 'number', 'format' => 'double', 'example' => '1950.5'], + 'after_available_amount' => ['title' => '操作后可用余额(元)', 'description' => '操作后可用余额(元)', 'type' => 'number', 'format' => 'double', 'example' => '1000'], + 'order_num' => ['title' => '正向订单号', 'description' => '正向订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4988430***971'], + 'out_order_num' => ['title' => '正向外部订单号', 'description' => '正向外部订单号', 'type' => 'string', 'example' => '4988430***971'], + 'change_order_num' => ['title' => '改签单号,如果是改签的流水,这个值不为空', 'description' => '改签单号,如果是改签的流水,这个值不为空', 'type' => 'integer', 'format' => 'int64', 'example' => '49880***971'], + 'refund_order_num' => ['title' => '退票单号。如果是退款的流水,这个值不为空', 'description' => '退票单号。如果是退款的流水,这个值不为空', 'type' => 'integer', 'format' => 'int64', 'example' => '48430***971'], + 'order_type' => ['title' => '订单类型', 'description' => '订单类型 0:正向交易 1:改签单支付 2:退款', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], + ], + 'pagination' => [ + 'title' => '分页信息', + 'description' => '分页信息', + 'type' => 'object', + 'properties' => [ + 'total_count' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'total_page' => ['title' => '共几页', 'description' => '共几页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'current_page' => ['title' => '当前第几页', 'description' => '当前第几页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'page_size' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + ], + ], + ], + ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"flow_id\\": 1627239841225842700,\\n \\"gmt_create\\": 1676799185000,\\n \\"gmt_modified\\": 1676966530000,\\n \\"op_type\\": 2,\\n \\"op_amount\\": 950.5,\\n \\"before_available_amount\\": 1950.5,\\n \\"after_available_amount\\": 1000,\\n \\"order_num\\": 0,\\n \\"out_order_num\\": \\"4988430***971\\",\\n \\"change_order_num\\": 0,\\n \\"refund_order_num\\": 0,\\n \\"order_type\\": 1\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'AccountFlowList', + ], + 'AncillarySuggest' => [ + 'summary' => '辅营推荐。', + 'path' => '/airticket/v1/ancillary/action-suggest', + 'methods' => ['post'], + 'schemes' => ['https', 'http'], 'security' => [ [ - 'rootTokenAuth' => [], + 'accessTokenAuth' => [], ], ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ - 'name' => 'app_key', - 'in' => 'query', + 'name' => 'solution_id', + 'in' => 'formData', + 'schema' => ['title' => '机票 solution_id', 'description' => '机票 solution_id', 'type' => 'string', 'required' => true, 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ'."\n"], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopBaseRes<AncillarySuggestRes, Object>', + 'description' => 'PopBaseRes<AncillarySuggestRes, Object>', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => [ + 'title' => '正确处理返回数据', + 'description' => '正确处理返回数据', + 'type' => 'object', + 'properties' => [ + 'solution_id' => ['title' => '机票 solution_id', 'description' => '机票 solution_id', 'type' => 'string', 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ'], + 'seg_ancillary_map_list' => [ + 'title' => '机票-辅营映射关系', + 'description' => '机票-辅营映射关系', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'segment_id_list' => [ + 'title' => '航段ID列表 这些航段使用同一个辅营', + 'description' => '航段ID列表 这些航段使用同一个辅营', + 'type' => 'array', + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'."\n"], + ], + 'ancillary' => [ + 'title' => '辅营产品', + 'description' => '辅营产品', + 'type' => 'object', + 'properties' => [ + 'ancillary_id' => ['title' => '辅营商品ID', 'description' => '辅营商品ID', 'type' => 'string', 'example' => 'eJwz8DeySEo0NjQ01TU3TU'], + 'ancillary_type' => ['title' => '辅营产品类型 当前支持 4:付费行李', 'description' => '辅营产品类型 当前支持 4:付费行李', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'baggage_ancillary' => [ + 'title' => '行李辅营详情', + 'description' => '行李辅营详情', + 'type' => 'object', + 'properties' => [ + 'baggage_amount' => ['title' => '行李件数 取值如:3、2、1、0、-2。 -2 表示计重', 'description' => '行李件数 取值如:3、2、1、0、-2。 -2 表示计重', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'baggage_weight' => ['title' => '行李重量,0-50。isAllWeght=true 时,表示所有件数总重量。', 'description' => '行李重量,0-50。isAllWeght=true 时,表示所有件数总重量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'baggage_weight_unit' => ['title' => '行李重量单位', 'description' => '行李重量单位', 'type' => 'string', 'example' => 'KG'], + 'is_all_weight' => ['title' => '是否所有行李重量', 'description' => '是否所有行李重量', 'type' => 'boolean', 'example' => 'true'], + 'price' => ['title' => '总价', 'description' => '总价', 'type' => 'number', 'format' => 'double', 'example' => '10.0'], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"seg_ancillary_map_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"ancillary\\": {\\n \\"ancillary_id\\": \\"eJwz8DeySEo0NjQ01TU3TU\\",\\n \\"ancillary_type\\": 4,\\n \\"baggage_ancillary\\": {\\n \\"baggage_amount\\": 0,\\n \\"baggage_weight\\": 0,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"price\\": 10\\n }\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'AncillarySuggest', + ], + 'Book' => [ + 'summary' => '预定生单。', + 'path' => '/airticket/v1/trade/action-book', + 'methods' => ['post'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'solution_id', + 'in' => 'formData', + 'schema' => ['title' => 'solution_id', 'description' => 'solution_id', 'type' => 'string', 'required' => true, 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ'], + ], + [ + 'name' => 'out_order_num', + 'in' => 'formData', + 'schema' => ['title' => '外部订单号', 'description' => '外部订单号', 'type' => 'string', 'required' => true, 'example' => 'x091-2023-0220-j-0001'], + ], + [ + 'name' => 'contact', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => 'appKey', - 'description' => 'appKey', - 'type' => 'string', + 'title' => '联系信息', + 'description' => '联系信息', + 'type' => 'object', + 'properties' => [ + 'last_name' => ['title' => '姓', 'description' => '姓', 'type' => 'string', 'required' => false, 'example' => 'ZHANG'], + 'first_name' => ['title' => '名', 'description' => '名', 'type' => 'string', 'required' => false, 'example' => 'SAN'], + 'mobile_phone_num' => ['title' => '手机号', 'description' => '手机号', 'type' => 'string', 'required' => false, 'example' => '183******96'], + 'mobile_country_code' => ['title' => '国家区位码', 'description' => '国家区位码', 'type' => 'string', 'required' => false, 'example' => '86'], + 'email' => ['title' => '邮件地址', 'description' => '邮件地址', 'type' => 'string', 'required' => false, 'example' => 'gao******@gmail.com'], + ], 'required' => true, - 'example' => 'fu1bltcu3400iurywuri', ], ], [ - 'name' => 'app_secret', - 'in' => 'query', + 'name' => 'passenger_list', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => 'appSecret', - 'description' => 'appSecret', - 'type' => 'string', + 'title' => '乘机人列表', + 'description' => '乘机人列表', + 'type' => 'array', + 'items' => [ + 'description' => 'passenger', + 'type' => 'object', + 'properties' => [ + 'last_name' => ['title' => '姓', 'description' => '姓', 'type' => 'string', 'required' => true, 'example' => 'ZHANG'], + 'first_name' => ['title' => '名', 'description' => '名', 'type' => 'string', 'required' => true, 'example' => 'SAN'], + 'birthday' => ['title' => '生日 yyyyMMdd', 'description' => '生日 yyyyMMdd', 'type' => 'string', 'required' => false, 'example' => '20200320'], + 'type' => ['title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], + 'mobile_phone_number' => ['title' => '手机号', 'description' => '手机号', 'type' => 'string', 'required' => true, 'example' => '183******95'], + 'mobile_country_code' => ['title' => '手机号-国家码', 'description' => '手机号-国家码', 'type' => 'string', 'required' => true, 'example' => '86'], + 'gender' => ['title' => '性别 0:MALE; 1:FEMALE', 'description' => '性别 0:MALE; 1:FEMALE', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], + 'nationality' => ['title' => '国籍二字码', 'description' => '国籍,二字码', 'type' => 'string', 'required' => false, 'example' => 'CN'], + 'credential' => [ + 'title' => '证件', + 'description' => '证件', + 'type' => 'object', + 'properties' => [ + 'cert_issue_place' => ['title' => '签发地,二字码', 'description' => '签发地,二字码', 'type' => 'string', 'required' => false, 'example' => 'CN'], + 'credential_num' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'required' => false, 'example' => 'E1***5674'], + 'expire_date' => ['title' => '证件过期时间', 'description' => '证件过期时间', 'type' => 'string', 'required' => false, 'example' => '20290101'], + 'credential_type' => ['title' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:台湾通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:台湾居民居住证; 19:无证件', 'description' => '证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + 'required' => false, + ], + ], + 'required' => false, + ], 'required' => true, - 'example' => 'ZzQ3MW1mb3E1ODAwI2ldUjYlWUdJn5YI', ], ], + [ + 'name' => 'passenger_ancillary_purchase_map_list', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '乘机人-辅营购买关系', + 'description' => '乘机人-辅营购买关系', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'passenger_list' => [ + 'title' => '购买统一辅营的乘机人列表', + 'description' => '购买统一辅营的乘机人列表', + 'type' => 'array', + 'items' => [ + 'description' => 'passenger', + 'type' => 'object', + 'properties' => [ + 'last_name' => ['title' => '姓', 'description' => '姓', 'type' => 'string', 'required' => true, 'example' => 'ZHANG'], + 'first_name' => ['title' => '名', 'description' => '名', 'type' => 'string', 'required' => true, 'example' => 'SAN'], + 'birthday' => ['title' => '生日 yyyyMMdd', 'description' => '生日 yyyyMMdd', 'type' => 'string', 'required' => false, 'example' => '20020320'], + 'type' => ['title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], + 'mobile_phone_number' => ['title' => '手机号', 'description' => '手机号', 'type' => 'string', 'required' => true, 'example' => '182******92'], + 'mobile_country_code' => ['title' => '手机号-国家码', 'description' => '手机号-国家码', 'type' => 'string', 'required' => true, 'example' => '86'], + 'gender' => ['title' => '性别 0:MALE; 1:FEMALE', 'description' => '性别 0:MALE; 1:FEMALE', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'nationality' => ['title' => '国籍二字码', 'description' => '国籍', 'type' => 'string', 'required' => false, 'example' => 'CN'], + 'credential' => [ + 'title' => '证件', + 'description' => '证件', + 'type' => 'object', + 'properties' => [ + 'cert_issue_place' => ['title' => '签发地,二字码', 'description' => '签发地,二字码', 'type' => 'string', 'required' => false, 'example' => 'CN'], + 'credential_num' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'required' => false, 'example' => 'E1***5673'], + 'expire_date' => ['title' => '证件过期时间', 'description' => '证件过期时间', 'type' => 'string', 'required' => false, 'example' => '20290102'], + 'credential_type' => ['title' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:台湾通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:台湾居民居住证; 19:无证件', 'description' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:Taiwan通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:Taiwan居民居住证', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'book_ancillary_req_item' => [ + 'title' => '辅营对象', + 'description' => '生单入参辅营对象', + 'type' => 'object', + 'properties' => [ + 'ancillary_id' => ['title' => '辅营商品ID', 'description' => '辅营商品ID', 'type' => 'string', 'required' => false, 'example' => 'MDY2NTAxLCJleHAiOjE2NxNzM3MDEsIm5ix'], + 'ancillary_type' => ['title' => '辅营产品类型 当前支持 4:付费行李', 'description' => '辅营产品类型 当前支持 4:付费行李,未来会扩展', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'title' => 'PopBaseRes<TokenInfoDTO, Object>', - 'description' => 'PopBaseRes<TokenInfoDTO, Object>', + 'title' => 'PopBaseRes<BookRes, BookRes>', + 'description' => 'PopBaseRes<BookRes, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', 'type' => 'object', 'properties' => [ - 'token' => [ - 'title' => 'token', - 'description' => 'token', - 'type' => 'string', - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiIyUlRjY0Ezc1puSndpYU11R1ctTkVRIiwiaWF0IjoxNjc3MTU1Njg3LCJleHAiOjE2NzcxNjI4ODcsIm5iZiI6MTY3NzE1NTYyN30.bd8qBedJ7R24NC8VpMtM4Ni5OR-Cc0utPiKSx8fjoj9taalt7zXBF8uIVTETw1N-Fx9reLflwVXrbDHky7ZKqlE5o_B5Bkx-crQKlJL-NzasEmNnuJNb5kmmbCy3mvIrQfo5Q5Y0ZaQ110pXK4qd1shRbklvuQXn8lPueJtNqo8VdIOAPGG_rPwOw2P767I0fyFHcome8FR4ST1UrwxeApNKMB_BkpCsUZLgpm9h9trhKbB-3qtk6UK1GKmfw6qlWpL3PQN7FAObNruS0r0CGh3Muc9PaGsuu8Xu5on21h9WmI7L0-jatZkS55p4PEerU56XpkwJfa35_hltKNTauu', - ], - 'expire_time' => [ - 'title' => 'token 剩余有效时间 单位秒', - 'description' => 'token 剩余有效时间 单位秒', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '7200', - ], - 'generate_time' => [ - 'title' => 'token生成时间戳,秒级别', - 'description' => 'token生成时间戳 秒级别', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677055176', + 'order_list' => [ + 'title' => '订单信息列表', + 'description' => '订单信息列表', + 'type' => 'array', + 'items' => [ + 'description' => '订单号列表', + 'type' => 'object', + 'properties' => [ + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4966***617111'], + ], + ], ], ], ], 'error_data' => [ 'title' => '错误处理携带数据', 'description' => '错误处理携带数据', - 'type' => 'any', + 'type' => 'object', + 'properties' => [ + 'order_list' => [ + 'title' => '订单信息列表', + 'description' => '订单信息列表,相同入参重复 Book 时,若已经 Book 成功,会携带订单号返回。', + 'type' => 'array', + 'items' => [ + 'description' => '订单号列表', + 'type' => 'object', + 'properties' => [ + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4966***617111'], + ], + ], + ], + ], 'example' => 'null', ], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"token\\": \\"eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiIyUlRjY0Ezc1puSndpYU11R1ctTkVRIiwiaWF0IjoxNjc3MTU1Njg3LCJleHAiOjE2NzcxNjI4ODcsIm5iZiI6MTY3NzE1NTYyN30.bd8qBedJ7R24NC8VpMtM4Ni5OR-Cc0utPiKSx8fjoj9taalt7zXBF8uIVTETw1N-Fx9reLflwVXrbDHky7ZKqlE5o_B5Bkx-crQKlJL-NzasEmNnuJNb5kmmbCy3mvIrQfo5Q5Y0ZaQ110pXK4qd1shRbklvuQXn8lPueJtNqo8VdIOAPGG_rPwOw2P767I0fyFHcome8FR4ST1UrwxeApNKMB_BkpCsUZLgpm9h9trhKbB-3qtk6UK1GKmfw6qlWpL3PQN7FAObNruS0r0CGh3Muc9PaGsuu8Xu5on21h9WmI7L0-jatZkS55p4PEerU56XpkwJfa35_hltKNTauu\\",\\n \\"expire_time\\": 7200,\\n \\"generate_time\\": 1677055176\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'GetToken', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_list\\": [\\n {\\n \\"order_num\\": 0\\n }\\n ]\\n },\\n \\"error_data\\": {\\n \\"order_list\\": [\\n {\\n \\"order_num\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'Book', + 'changeSet' => [], ], - 'Search' => [ - 'summary' => '搜索询价,目前给出的多航班最低价。注意该接口目前返参里无退改规则、免费行李额、行李直挂规则给出。', - 'path' => '/airticket/v1/trade/action-search', - 'methods' => [ - 'post', + 'Cancel' => [ + 'summary' => '未支付取消。', + 'path' => '/airticket/v1/trade/action-cancel', + 'methods' => ['post'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'order_num', + 'in' => 'formData', + 'schema' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '496***2617111'], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], ], - 'schemes' => [ - 'https', - 'http', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopBaseRes<CancelRes, Object>', + 'description' => 'PopBaseRes<CancelRes, Object>', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => [ + 'title' => '正确处理返回数据', + 'description' => '正确处理返回数据', + 'type' => 'object', + 'properties' => [ + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '496***2617111'."\n"], + ], + ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'Cancel', + 'changeSet' => [], + ], + 'ChangeApply' => [ + 'summary' => '改签申请。', + 'path' => '/airticket/v1/change/action-apply', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'accessTokenAuth' => [], ], ], 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'cabin_class', + 'name' => 'order_num', + 'in' => 'formData', + 'schema' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4988430***950'], + ], + [ + 'name' => 'type', + 'in' => 'formData', + 'schema' => ['title' => '改期类型0:自愿改期; 1:航班变动/航班取消', 'description' => '改期类型0:自愿改期; 1:航班变动/航班取消', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], + ], + [ + 'name' => 'change_passenger_list', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '不填写默认为 ALL_CABIN。舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', - 'description' => '舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', - 'type' => 'string', - 'required' => false, - 'example' => 'ALL_CABIN', + 'title' => '改签乘机人列表', + 'description' => '改签乘机人列表', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'first_name' => ['title' => '乘机人名', 'description' => '乘机人名', 'type' => 'string', 'required' => true, 'example' => 'SAN'], + 'last_name' => ['title' => '乘机人姓', 'description' => '乘机人姓', 'type' => 'string', 'required' => true, 'example' => 'ZHANG'], + 'document' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'required' => false, 'example' => '411***********4411'], + ], + 'required' => false, + ], + 'required' => true, ], ], [ - 'name' => 'air_legs', + 'name' => 'changed_journeys', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'title' => '行程数组 departure_city,departure_airport_list 二者至少一个不为空,departure_airport_list 有值时必须属于同一个城市; arrival_city,arrival_airport_list 二者至少一个不为空,arrival_airport_list 有值时必须属于同一个城市', - 'description' => '行程数组', + 'title' => '改签目标航程', + 'description' => '改签目标航程', 'type' => 'array', 'items' => [ - 'description' => '行程', + 'description' => '元素', 'type' => 'object', 'properties' => [ - 'departure_city' => [ - 'title' => '出发城市三字码', - 'description' => '出发城市三字码', - 'type' => 'string', - 'required' => false, - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '到达城市三字码', - 'description' => '到达城市三字码', - 'type' => 'string', - 'required' => false, - 'example' => 'MFM', - ], - 'departure_airport_list' => [ - 'title' => '出发机场三字码', - 'description' => '出发机场三字码列表', - 'type' => 'array', - 'items' => [ - 'description' => '出发机场三字码', - 'type' => 'string', - 'required' => false, - 'example' => 'PVG', - ], - 'required' => false, - 'example' => 'PVG', - ], - 'arrival_airport_list' => [ - 'title' => '到达机场三字码', - 'description' => '到达机场三字码列表', + 'segment_list' => [ + 'title' => '改签目标航段列表', + 'description' => '改签目标航段列表', 'type' => 'array', 'items' => [ - 'description' => '到达机场三字码', - 'type' => 'string', + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'departure_airport' => ['title' => '航班起飞机场三字码', 'description' => '航班起飞机场三字码', 'type' => 'string', 'required' => false, 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码', 'description' => '航班到达机场三字码', 'type' => 'string', 'required' => false, 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码', 'description' => '航班起飞城市三字码', 'type' => 'string', 'required' => true, 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码', 'description' => '航班到达城市三字码', 'type' => 'string', 'required' => true, 'example' => 'MFM'], + 'departure_date' => ['title' => '起飞日期 (eg: yyyyMMdd)', 'description' => '起飞日期 (eg: yyyyMMdd)', 'type' => 'string', 'required' => true, 'example' => '20230320'], + 'departure_time' => ['title' => '航班起飞日期,utc时间戳', 'description' => '(该属性废弃)航班起飞日期,utc时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1677232998000'], + 'departure_time_str' => ['title' => '航班起飞日期时间,以出发地时区传入,yyyy-MM-dd HH:mm:ss', 'description' => '(必填参数)航班起飞日期时间,航班的旅行时间,格式:yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2024-03-20 09:30:00'], + 'arrive_time' => ['title' => '航班到达日期时间,utc时间戳', 'description' => '(该属性废弃)航班到达日期时间,utc时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1677232999000'], + 'arrive_time_str' => ['title' => '航班到达日期时间,yyyy-MM-dd HH:mm:ss', 'description' => '(必填参数)航班到达日期时间,航班的旅行时间,格式:yyyy-MM-dd HH:mm:ss', 'type' => 'string', 'required' => false, 'example' => '2024-03-20 12:30:00'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'required' => false, 'example' => 'T2'], + 'arrive_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'required' => false, 'example' => 'T1'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:KA5809)', 'description' => '市场方航班号(如:KA5809)', 'type' => 'string', 'required' => true, 'example' => 'HO1295'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'required' => false, 'example' => 'HO1295'], + 'code_share' => ['title' => '是否共享航班', 'description' => '是否共享航班', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], 'required' => false, - 'example' => 'MFM', ], 'required' => false, - 'example' => 'MFM', - ], - 'departure_date' => [ - 'title' => '起飞日期 (eg: yyyyMMdd)', - 'description' => '起飞日期 (eg: yyyyMMdd)', - 'type' => 'string', - 'required' => true, - 'example' => '20230310', ], ], 'required' => false, @@ -301,772 +599,823 @@ ], ], [ - 'name' => 'adults', + 'name' => 'contact', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '成人乘客数 1-9', - 'description' => '成人乘客数 1-9', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', + 'title' => '改签联系人信息', + 'description' => '改签联系人信息', + 'type' => 'object', + 'properties' => [ + 'mobile_country_code' => ['title' => '国家区位码', 'description' => '国家区位码', 'type' => 'string', 'required' => false, 'example' => '86'], + 'mobile_phone_num' => ['title' => '联系人用户手机号', 'description' => '联系人用户手机号', 'type' => 'string', 'required' => false, 'example' => '183*****92'], + 'email' => ['title' => '邮件地址', 'description' => '邮件地址', 'type' => 'string', 'required' => false, 'example' => 'gao******@gmail.com'], + ], + 'required' => true, ], ], [ - 'name' => 'children', + 'name' => 'remark', 'in' => 'formData', + 'schema' => ['title' => '买家备注', 'description' => '买家备注', 'type' => 'string', 'required' => false, 'example' => 'remark desc'], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '儿童乘客数 0-9', - 'description' => '儿童乘客数 0-9', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'title' => 'PopBaseRes<ApplyChangeRes, Object>', + 'description' => 'PopBaseRes<ApplyChangeRes, Object>', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => [ + 'title' => '正确处理返回数据', + 'description' => '正确处理返回数据', + 'type' => 'object', + 'properties' => [ + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4988430***950'], + 'change_orders' => [ + 'title' => '改签单申请结果列表', + 'description' => '改签单申请结果列表', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'change_order_num' => ['title' => '改签单号', 'description' => '改签单号', 'type' => 'integer', 'format' => 'int64', 'example' => '49884*****950'], + 'change_order_status' => ['title' => '改签单状态。 0:改签单创建成功; 5:改签单创建失败', 'description' => '改签单状态。 0:改签单创建成功; 5:改签单创建失败', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'fail_reason' => ['title' => '改签单创建失败的原因', 'description' => '改签单创建失败的原因', 'type' => 'string', 'example' => 'desc reason'], + 'passengers' => [ + 'title' => '改签单乘机人信息', + 'description' => '改签单乘机人信息', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'first_name' => ['title' => '乘机人名', 'description' => '乘机人名', 'type' => 'string', 'example' => 'SAN'], + 'last_name' => ['title' => '乘机人姓', 'description' => '乘机人姓', 'type' => 'string', 'example' => 'ZHANG'], + 'document' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => '411***********4411'], + ], + ], + ], + ], + ], + ], + ], + ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0,\\n \\"change_orders\\": [\\n {\\n \\"change_order_num\\": 0,\\n \\"change_order_status\\": 0,\\n \\"fail_reason\\": \\"desc reason\\",\\n \\"passengers\\": [\\n {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'ChangeApply', + 'changeSet' => [ + ['createdAt' => '2025-05-08T09:47:18.000Z', 'description' => 'OpenAPI 下线'], + ], + ], + 'ChangeCancel' => [ + 'summary' => '取消改签。', + 'path' => '/airticket/v1/change/action-cancel', + 'methods' => ['post'], + 'schemes' => ['https', 'http'], + 'security' => [ [ - 'name' => 'infants', + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'change_order_num', 'in' => 'formData', + 'schema' => ['title' => '改签单号', 'description' => '改签单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4988430***950'], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '婴儿乘客数 0-9', - 'description' => '婴儿乘客数 0-9', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'title' => 'PopBaseRes', + 'description' => 'PopBaseRes', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => ['title' => '正确处理返回数据', 'description' => '正确处理返回数据', 'type' => 'any', 'example' => 'null'], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": \\"null\\",\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'ChangeCancel', + ], + 'ChangeConfirm' => [ + 'summary' => '确认改签。', + 'path' => '/airticket/v1/change/action-confirm', + 'methods' => ['post'], + 'schemes' => ['https', 'http'], + 'security' => [ [ - 'name' => 'search_control_options', + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'change_order_num', 'in' => 'formData', - 'style' => 'json', + 'schema' => ['title' => '改签单号', 'description' => '改签单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4988430***950'], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '搜索控制项,可选', - 'description' => '搜索控制项,可选', + 'title' => 'PopBaseRes<ConfirmChangeRes, Object>', + 'description' => 'PopBaseRes<ConfirmChangeRes, Object>', 'type' => 'object', 'properties' => [ - 'airline_prefer_list' => [ - 'title' => '优选航司', - 'description' => '优选航司列表', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - 'example' => 'FD', - ], - 'required' => false, - 'example' => 'FD', - ], - 'airline_excluded_list' => [ - 'title' => '航司排除列表', - 'description' => '排除航司列表', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - 'example' => 'AK', + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => [ + 'title' => '正确处理返回数据', + 'description' => '正确处理返回数据', + 'type' => 'object', + 'properties' => [ + 'pay_amount' => ['title' => '改签支付金额', 'description' => '改签支付金额', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'transaction_no' => ['title' => '改签支付流水号', 'description' => '改签支付流水号', 'type' => 'string', 'example' => 'hkduendkd-2023-dj0'], ], - 'required' => false, - 'example' => '7C', - ], - 'service_quality' => [ - 'title' => '出票服务质量', - 'description' => '服务质量标识', - 'type' => 'string', - 'required' => false, - 'example' => 'A1', ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], - 'required' => false, ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"pay_amount\\": 30,\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'ChangeConfirm', + ], + 'ChangeDetail' => [ + 'summary' => '改签详情。', + 'path' => '/airticket/v1/change/detail', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'change_order_num', + 'in' => 'query', + 'schema' => ['title' => '改签单号', 'description' => '改签单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4988430***950'], + ], [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PopBaseRes<SearchRes, Object>', - 'description' => 'PopBaseRes<SearchRes, Object>', + 'title' => 'PopBaseRes<ChangeOrderDetail, Object>', + 'description' => 'PopBaseRes<ChangeOrderDetail, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '2236993B-7BE7-5F92-B179-21FF08570165', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', 'type' => 'object', 'properties' => [ - 'solution_list' => [ - 'title' => '搜索询价结果', - 'description' => '搜索询价结果', + 'change_order_num' => ['title' => '改签单号', 'description' => '改签单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4988430***950'], + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '5988430***541'], + 'change_passengers' => [ + 'title' => '改签的乘机人列表', + 'description' => '改签的乘机人列表', 'type' => 'array', 'items' => [ - 'description' => 'solution', + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'first_name' => ['title' => '乘机人名', 'description' => '乘机人名', 'type' => 'string', 'example' => 'SAN'], + 'last_name' => ['title' => '乘机人姓', 'description' => '乘机人姓', 'type' => 'string', 'example' => 'ZHANG'], + 'document' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => '411***********4411'], + ], + ], + ], + 'total_amount' => ['title' => '改签单支付总金额', 'description' => '改签单支付总金额', 'type' => 'number', 'format' => 'double', 'example' => '300'], + 'order_status' => ['title' => '改签单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', 'description' => '改签单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'close_reason' => ['title' => '改签关单原因', 'description' => '改签关单原因', 'type' => 'string', 'example' => 'reason desc'], + 'transaction_no' => ['title' => '交易流水号', 'description' => '交易流水号', 'type' => 'string', 'example' => 'hkduendkd-2023-dj0'], + 'change_reason_type' => ['title' => '改签原因类型 0:自愿改期; 1:航班变动/航班取消; 2:因疫情改签', 'description' => '改签原因类型 0:自愿改期; 1:航班变动/航班取消; 2:因疫情改签', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'create_utc_time' => ['title' => '改签单创建时间,UTC时间戳', 'description' => '改签单创建时间,UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677415276000'], + 'last_confirm_utc_time' => ['title' => '买家最迟支付时间,UTC时间戳', 'description' => '买家最迟支付时间,UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677415278000'], + 'pay_status' => ['title' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', 'description' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'pay_success_utc_time' => ['title' => '买家支付成功时间,UTC时间戳', 'description' => '买家支付成功时间,UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677415255000'], + 'close_utc_time' => ['title' => '订单关闭时间,UTC时间戳', 'description' => '订单关闭时间,UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677415244000'], + 'contact' => [ + 'title' => '改签联系人信息', + 'description' => '改签联系人信息', + 'type' => 'object', + 'properties' => [ + 'mobile_country_code' => ['title' => '国家区位码', 'description' => '国家区位码', 'type' => 'string', 'example' => '86'], + 'mobile_phone_num' => ['title' => '联系人用户手机号', 'description' => '联系人用户手机号', 'type' => 'string', 'example' => '183*****92'], + 'email' => ['title' => '邮件地址', 'description' => '邮件地址', 'type' => 'string', 'example' => 'gao******@gmail.com'], + ], + ], + 'original_journeys' => [ + 'title' => '原始的行程', + 'description' => '原始的行程', + 'type' => 'array', + 'items' => [ + 'description' => '元素', 'type' => 'object', 'properties' => [ - 'solution_id' => [ - 'title' => 'solution_id', - 'description' => 'solution_id', - 'type' => 'string', - 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ', + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'segment_list' => [ + 'title' => '航段信息', + 'description' => '航段信息', + 'type' => 'array', + 'items' => [ + 'description' => 'segment', + 'type' => 'object', + 'properties' => [ + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:HO1295)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:1295)', 'type' => 'integer', 'format' => 'int32', 'example' => '1295'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:HO)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'T1'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'Y'], + 'availability' => ['title' => '剩余座位数', 'description' => '剩余座位数', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => 'SEL,HKG'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], + ], + ], ], - 'adult_price' => [ - 'title' => '成人单价', - 'description' => '成人单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '600', + ], + ], + ], + 'changed_journeys' => [ + 'title' => '改签后的行程', + 'description' => '改签后的行程', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'segment_list' => [ + 'title' => '航段信息', + 'description' => '航段信息', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:HO1295)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:1295)', 'type' => 'integer', 'format' => 'int32', 'example' => '1295'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:HO)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'T1'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'Y'], + 'availability' => ['title' => '剩余座位数', 'description' => '剩余座位数', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => 'SEL,HKG'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], + ], + ], ], - 'adult_tax' => [ - 'title' => '成人税', - 'description' => '成人税', - 'type' => 'number', - 'format' => 'double', - 'example' => '11', + ], + ], + ], + 'last_journeys' => [ + 'title' => '上一次改签的行程', + 'description' => '上一次改签的行程', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'segment_list' => [ + 'title' => '航段信息', + 'description' => '航段信息', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:HO1295)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:1295)', 'type' => 'integer', 'format' => 'int32', 'example' => '1295'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:HO)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'T1'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'Y'], + 'availability' => ['title' => '剩余座位数', 'description' => '剩余座位数', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => 'SEL,HKG'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], + ], + ], ], - 'child_price' => [ - 'title' => '儿童单价', - 'description' => '儿童单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '500', + ], + ], + ], + 'change_fee_details' => [ + 'title' => '改签费用明细 乘机人纬度', + 'description' => '改签费用明细 乘机人纬度', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'passenger' => [ + 'title' => '改签的乘机人信息', + 'description' => '改签的乘机人信息', + 'type' => 'object', + 'properties' => [ + 'first_name' => ['title' => '乘机人名', 'description' => '乘机人名', 'type' => 'string', 'example' => 'SAN'], + 'last_name' => ['title' => '乘机人姓', 'description' => '乘机人姓', 'type' => 'string', 'example' => 'ZHANG'], + 'document' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => '411***********4411'], + ], ], - 'child_tax' => [ - 'title' => '儿童税', - 'description' => '儿童税', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', + 'change_fee' => [ + 'title' => '乘机人的改签费明细', + 'description' => '乘机人的改签费明细', + 'type' => 'object', + 'properties' => [ + 'upgrade_fee' => ['title' => '升舱费', 'description' => '升舱费', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'service_fee' => ['title' => '服务费(手续费)', 'description' => '服务费(手续费)', 'type' => 'number', 'format' => 'double', 'example' => '50'], + 'tax_fee' => ['title' => '改签税费', 'description' => '改签税费', 'type' => 'number', 'format' => 'double', 'example' => '20'], + ], ], - 'infant_price' => [ - 'title' => '婴儿单价', - 'description' => '婴儿单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '400', + ], + ], + ], + ], + ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"change_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"change_passengers\\": [\\n {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n }\\n ],\\n \\"total_amount\\": 300,\\n \\"order_status\\": 2,\\n \\"close_reason\\": \\"reason desc\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"change_reason_type\\": 1,\\n \\"create_utc_time\\": 1677415276000,\\n \\"last_confirm_utc_time\\": 1677415278000,\\n \\"pay_status\\": 2,\\n \\"pay_success_utc_time\\": 1677415255000,\\n \\"close_utc_time\\": 1677415244000,\\n \\"contact\\": {\\n \\"mobile_country_code\\": \\"86\\",\\n \\"mobile_phone_num\\": \\"183*****92\\",\\n \\"email\\": \\"gao******@gmail.com\\"\\n },\\n \\"original_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"changed_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"last_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"change_fee_details\\": [\\n {\\n \\"passenger\\": {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n },\\n \\"change_fee\\": {\\n \\"upgrade_fee\\": 30,\\n \\"service_fee\\": 50,\\n \\"tax_fee\\": 20\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'ChangeDetail', + 'changeSet' => [], + ], + 'ChangeDetailListOfBuyer' => [ + 'summary' => '根据买家账号分页查询改签单简要信息列表。', + 'path' => '/airticket/v1/change/buyer/detail-list', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'utc_create_begin', + 'in' => 'query', + 'schema' => ['title' => '改签单创建开始时间 UTC时间戳13位', 'description' => '改签单创建开始时间 UTC时间戳13位', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1677415276000'], + ], + [ + 'name' => 'utc_create_end', + 'in' => 'query', + 'schema' => ['title' => '改签单创建结束时间 UTC时间戳13位', 'description' => '改签单创建结束时间 UTC时间戳13位', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1677415279000'], + ], + [ + 'name' => 'page_index', + 'in' => 'query', + 'schema' => ['title' => '页索引', 'description' => '页索引', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'page_size', + 'in' => 'query', + 'schema' => ['title' => '页大小', 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopBaseRes<PageData<ChangeOrderSearchResult>, Object>', + 'description' => 'PopBaseRes<PageData<ChangeOrderSearchResult>, Object>', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => [ + 'title' => '正确处理返回数据', + 'description' => '正确处理返回数据', + 'type' => 'object', + 'properties' => [ + 'list' => [ + 'title' => '数据列表', + 'description' => '数据列表', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'change_order_num' => ['title' => '改签单号', 'description' => '改签单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4988430***950'], + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4988430***971'], + 'order_status' => ['title' => '申请单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', 'description' => '申请单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'pay_status' => ['title' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', 'description' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'transaction_no' => ['title' => '交易流水号', 'description' => '交易流水号', 'type' => 'string', 'example' => 'hkduendkd-2023-dj0'], + 'utc_create_time' => ['title' => '订单创建时间 UTC时间戳', 'description' => '订单创建时间 UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677415274000'], + ], + ], + ], + 'pagination' => [ + 'title' => '分页信息', + 'description' => '分页信息', + 'type' => 'object', + 'properties' => [ + 'total_count' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'total_page' => ['title' => '共几页', 'description' => '共几页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'current_page' => ['title' => '当前第几页', 'description' => '当前第几页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'page_size' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + ], + ], + ], + ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"change_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"order_status\\": 2,\\n \\"pay_status\\": 2,\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"utc_create_time\\": 1677415274000\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'ChangeDetailListOfBuyer', + ], + 'ChangeDetailListOfOrderNum' => [ + 'summary' => '根据正向订单号查询改签订单列表信息。', + 'path' => '/airticket/v1/change/order-num/detail-list', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'order_num', + 'in' => 'query', + 'schema' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4988430***700'], + ], + [ + 'name' => 'page_index', + 'in' => 'query', + 'schema' => ['title' => '页索引', 'description' => '页索引', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'page_size', + 'in' => 'query', + 'schema' => ['title' => '页大小', 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopBaseRes<PageData<ChangeOrderDetail>, Object>', + 'description' => 'PopBaseRes<PageData<ChangeOrderDetail>, Object>', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => [ + 'title' => '正确处理返回数据', + 'description' => '正确处理返回数据', + 'type' => 'object', + 'properties' => [ + 'list' => [ + 'title' => '数据列表', + 'description' => '数据列表', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'change_order_num' => ['title' => '改签单号', 'description' => '改签单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4988430***950'], + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '5988430***541'], + 'change_passengers' => [ + 'title' => '改签的乘机人列表', + 'description' => '改签的乘机人列表', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'first_name' => ['title' => '乘机人名', 'description' => '乘机人名', 'type' => 'string', 'example' => 'SAN'], + 'last_name' => ['title' => '乘机人姓', 'description' => '乘机人姓', 'type' => 'string', 'example' => 'ZHANG'], + 'document' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => '411***********4411'], + ], + ], ], - 'infant_tax' => [ - 'title' => '婴儿税', - 'description' => '婴儿税', - 'type' => 'number', - 'format' => 'double', - 'example' => '9', + 'total_amount' => ['title' => '改签单支付总金额', 'description' => '改签单支付总金额', 'type' => 'number', 'format' => 'double', 'example' => '300'], + 'order_status' => ['title' => '改签单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', 'description' => '改签单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'close_reason' => ['title' => '改签关单原因', 'description' => '改签关单原因', 'type' => 'string', 'example' => 'reason desc'], + 'transaction_no' => ['title' => '交易流水号', 'description' => '交易流水号', 'type' => 'string', 'example' => 'hkduendkd-2023-dj0'], + 'change_reason_type' => ['title' => '改签原因类型 0:自愿改期; 1:航班变动/航班取消; 2:因疫情改签', 'description' => '改签原因类型 0:自愿改期; 1:航班变动/航班取消; 2:因疫情改签', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'create_utc_time' => ['title' => '改签单创建时间,UTC时间戳', 'description' => '改签单创建时间,UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677415276000'], + 'last_confirm_utc_time' => ['title' => '买家最迟支付时间,UTC时间戳', 'description' => '买家最迟支付时间,UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677415278000'], + 'pay_status' => ['title' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', 'description' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'pay_success_utc_time' => ['title' => '买家支付成功时间,UTC时间戳', 'description' => '买家支付成功时间,UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677415255000'], + 'close_utc_time' => ['title' => '订单关闭时间,UTC时间戳', 'description' => '订单关闭时间,UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677415244000'], + 'contact' => [ + 'title' => '改签联系人信息', + 'description' => '改签联系人信息', + 'type' => 'object', + 'properties' => [ + 'mobile_country_code' => ['title' => '国家区位码', 'description' => '国家区位码', 'type' => 'string', 'example' => '86'], + 'mobile_phone_num' => ['title' => '联系人用户手机号', 'description' => '联系人用户手机号', 'type' => 'string', 'example' => '183*****92'], + 'email' => ['title' => '邮件地址', 'description' => '邮件地址', 'type' => 'string', 'example' => 'gao******@gmail.com'], + ], ], - 'journey_list' => [ - 'title' => '行程', - 'description' => '行程', + 'original_journeys' => [ + 'title' => '原始的行程', + 'description' => '原始的行程', 'type' => 'array', 'items' => [ - 'description' => 'journey', + 'description' => '元素', 'type' => 'object', 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'segment_list' => [ 'title' => '航段信息', 'description' => '航段信息', 'type' => 'array', 'items' => [ - 'description' => 'segment', + 'description' => '元素', 'type' => 'object', 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:KA5809)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:5809)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1259', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:KA)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'T1', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'Y', - ], - 'availability' => [ - 'title' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。', - 'description' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。', - 'type' => 'string', - 'example' => '7', - ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => 'MFM,PVG', - ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', - ], + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:HO1295)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:1295)', 'type' => 'integer', 'format' => 'int32', 'example' => '1295'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:HO)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'T1'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'Y'], + 'availability' => ['title' => '剩余座位数', 'description' => '剩余座位数', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => 'SEL,HKG'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], ], ], ], ], ], ], - 'segment_baggage_mapping_list' => [ - 'title' => '免费行李规则', - 'description' => '免费行李规则', + 'changed_journeys' => [ + 'title' => '改签后的行程', + 'description' => '改签后的行程', 'type' => 'array', 'items' => [ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'segment_id_list' => [ - 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则', - 'description' => '航段ID列表 这些航段ID使用同一个免费行李规则', + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'segment_list' => [ + 'title' => '航段信息', + 'description' => '航段信息', 'type' => 'array', 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - ], - 'passenger_baggage_allowance_mapping' => [ - 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', - 'description' => '乘客类型-免费行李额映射关系', - 'type' => 'object', - 'additionalProperties' => [ + 'description' => '元素', 'type' => 'object', 'properties' => [ - 'baggage_amount' => [ - 'title' => '托运行李件数', - 'description' => '托运行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'baggage_weight' => [ - 'title' => '托运行李重量', - 'description' => '托运行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'baggage_weight_unit' => [ - 'title' => '托运行李重量单位 KG', - 'description' => '托运行李重量单位KG', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_weight' => [ - 'title' => '是否所有托运行李重量', - 'description' => '是否所有托运行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'carry_on_amount' => [ - 'title' => '手提行李件数', - 'description' => '手提行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'carry_on_weight' => [ - 'title' => '手提行李重量', - 'description' => '手提行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'carry_on_weight_unit' => [ - 'title' => '手提行李重量单位 KG', - 'description' => '手提行李重量单位KG', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_carry_on_weight' => [ - 'title' => '是否所有手提行李重量', - 'description' => '是否所有手提行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:HO1295)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:1295)', 'type' => 'integer', 'format' => 'int32', 'example' => '1295'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:HO)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'T1'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'Y'], + 'availability' => ['title' => '剩余座位数', 'description' => '剩余座位数', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => 'SEL,HKG'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], ], - 'description' => '免费行李额', ], ], ], ], ], - 'segment_refund_change_rule_mapping_list' => [ - 'title' => '退改签规则', - 'description' => '退改签规则', + 'last_journeys' => [ + 'title' => '上一次改签的行程', + 'description' => '上一次改签的行程', 'type' => 'array', 'items' => [ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'segment_id_list' => [ - 'title' => '航段ID列表 这些航段ID使用同一个退改签规则', - 'description' => '航段ID列表 这些航段ID使用同一个退改签规则', + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'segment_list' => [ + 'title' => '航段信息', + 'description' => '航段信息', 'type' => 'array', 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - ], - 'refund_change_rule_map' => [ - 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', - 'description' => '乘机人类型-退改签规则映射关系', - 'type' => 'object', - 'additionalProperties' => [ + 'description' => '元素', 'type' => 'object', 'properties' => [ - 'refund_rule_all_unused_list' => [ - 'title' => '全程未使用退票规则', - 'description' => '全程未使用退票规则', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => 'true', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - ], - 'description' => '元素', - ], - ], - 'refund_rule_part_unused_list' => [ - 'title' => '部分未使用退票规则', - 'description' => '部分未使用退票规则', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => 'true', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - ], - 'description' => '元素', - ], - ], - 'change_rule_in_unused_list' => [ - 'title' => '回程未使用改签规则', - 'description' => '回程未使用改签规则', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - ], - 'description' => '元素', - ], - ], - 'change_rule_out_unused_list' => [ - 'title' => '去程未使用改签规则', - 'description' => '去程未使用改签规则', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - ], - 'description' => '元素', - ], - ], + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:HO1295)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:1295)', 'type' => 'integer', 'format' => 'int32', 'example' => '1295'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:HO)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'T1'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'Y'], + 'availability' => ['title' => '剩余座位数', 'description' => '剩余座位数', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => 'SEL,HKG'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], ], - 'description' => '元素', ], ], ], ], ], - 'segment_baggage_check_in_info_list' => [ - 'title' => '行李直挂规则', - 'description' => '行李直挂规则', + 'change_fee_details' => [ + 'title' => '改签费用明细 乘机人纬度', + 'description' => '改签费用明细 乘机人纬度', 'type' => 'array', 'items' => [ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'segment_id_list' => [ - 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则', - 'description' => '航段ID列表 这些航段ID使用同一个行李直挂规则', - 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310'."\n", + 'passenger' => [ + 'title' => '改签的乘机人信息', + 'description' => '改签的乘机人信息', + 'type' => 'object', + 'properties' => [ + 'first_name' => ['title' => '乘机人名', 'description' => '乘机人名', 'type' => 'string', 'example' => 'SAN'], + 'last_name' => ['title' => '乘机人姓', 'description' => '乘机人姓', 'type' => 'string', 'example' => 'ZHANG'], + 'document' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => '411***********4411'], ], ], - 'luggage_direct_info_type' => [ - 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', - 'description' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], - 'solution_attribute' => [ - 'title' => '报价属性', - 'description' => '报价属性', - 'type' => 'object', - 'properties' => [ - 'supply_source_type' => [ - 'title' => '供给来源类型 1:自营;2:代理人;3:旗舰店', - 'description' => '供给来源类型 1:自营;2:代理人;3:旗舰店', - 'type' => 'string', - 'example' => '1', - ], - 'issue_time_info' => [ - 'title' => '出票时效相关', - 'description' => '出票时效相关', - 'type' => 'object', - 'properties' => [ - 'issue_time_limit' => [ - 'title' => '预计出票时长,单位:分钟', - 'description' => '预计出票时长,单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - ], - 'issue_ticket_type' => [ - 'title' => '出票类型 1:支付后; 2起飞前;-1未知', - 'description' => '出票类型 1:支付后; 2起飞前;-1未知', - 'type' => 'integer', - 'format' => 'int32', + 'change_fee' => [ + 'title' => '乘机人的改签费明细', + 'description' => '乘机人的改签费明细', + 'type' => 'object', + 'properties' => [ + 'upgrade_fee' => ['title' => '升舱费', 'description' => '升舱费', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'service_fee' => ['title' => '服务费(手续费)', 'description' => '服务费(手续费)', 'type' => 'number', 'format' => 'double', 'example' => '50'], + 'tax_fee' => ['title' => '改签税费', 'description' => '改签税费', 'type' => 'number', 'format' => 'double', 'example' => '20'], ], ], ], @@ -1075,95 +1424,138 @@ ], ], ], + 'pagination' => [ + 'title' => '分页信息', + 'description' => '分页信息', + 'type' => 'object', + 'properties' => [ + 'total_count' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'total_page' => ['title' => '共几页', 'description' => '共几页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'current_page' => ['title' => '当前第几页', 'description' => '当前第几页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'page_size' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + ], + ], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"change_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"change_passengers\\": [\\n {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n }\\n ],\\n \\"total_amount\\": 300,\\n \\"order_status\\": 2,\\n \\"close_reason\\": \\"reason desc\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"change_reason_type\\": 1,\\n \\"create_utc_time\\": 1677415276000,\\n \\"last_confirm_utc_time\\": 1677415278000,\\n \\"pay_status\\": 2,\\n \\"pay_success_utc_time\\": 1677415255000,\\n \\"close_utc_time\\": 1677415244000,\\n \\"contact\\": {\\n \\"mobile_country_code\\": \\"86\\",\\n \\"mobile_phone_num\\": \\"183*****92\\",\\n \\"email\\": \\"gao******@gmail.com\\"\\n },\\n \\"original_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"changed_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"last_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"change_fee_details\\": [\\n {\\n \\"passenger\\": {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n },\\n \\"change_fee\\": {\\n \\"upgrade_fee\\": 30,\\n \\"service_fee\\": 50,\\n \\"tax_fee\\": 20\\n }\\n }\\n ]\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'ChangeDetailListOfOrderNum', + 'changeSet' => [], + ], + 'CollectFlightLowestPrice' => [ + 'summary' => '数据收集-低价航班信息。', + 'path' => '/airticket/v1/data-collect/flight-lowest-price', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'lowest_price_flight_info_list', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '低价的航班信息', + 'description' => '低价的航班信息', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'request_id' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string', 'required' => false, 'example' => '123456789dacd'], + 'departure_city' => ['title' => '出发城市', 'description' => '出发城市', 'type' => 'string', 'required' => true, 'example' => 'SHA'], + 'arrival_city' => ['title' => '到达城市', 'description' => '到达城市', 'type' => 'string', 'required' => true, 'example' => 'MFM'], + 'trip_type' => ['title' => '航程类型:1表示单程;2表示往返', 'description' => '航程类型:1表示单程;2表示往返', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + 'departure_date' => ['title' => '出发日期 格式:yyyy-MM-dd', 'description' => '出发日期 格式:yyyy-MM-dd', 'type' => 'string', 'required' => true, 'example' => '2024-11-11'], + 'return_date' => ['title' => '往返场景下,返程日期,格式:yyyy-MM-dd', 'description' => '往返场景下,返程日期,格式:yyyy-MM-dd', 'type' => 'string', 'required' => false, 'example' => '2024-11-11'], + 'departure_flight_number' => ['title' => '去程的航班号列表,多航段用,分割', 'description' => '去程的航班号列表,多航段用,分割', 'type' => 'string', 'required' => true, 'example' => 'CA123,CA456'], + 'return_flight_number' => ['title' => '返程的航班号列表,多航段用,分割', 'description' => '返程的航班号列表,多航段用,分割', 'type' => 'string', 'required' => false, 'example' => 'CA123,CA456'], + 'suez_total_price' => ['title' => 'Suez 的报价,价格+税费(币种为美元)', 'description' => 'Suez 的报价,价格+税费(币种为美元)', 'type' => 'number', 'format' => 'double', 'required' => true, 'example' => '100.1'], + 'market_total_price' => ['title' => '市场上竞品最低价,价格+税费(币种为美元)', 'description' => '市场上竞品最低价,价格+税费(币种为美元)', 'type' => 'number', 'format' => 'double', 'required' => true, 'example' => '100.0'], + 'solution_id' => ['title' => 'Search/Enrich 返回的solution_id', 'description' => 'Search/Enrich 返回的solution_id', 'type' => 'string', 'required' => true, 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ'], ], + 'required' => false, ], + 'required' => true, ], ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"2236993B-7BE7-5F92-B179-21FF08570165\\",\\n \\"data\\": {\\n \\"solution_list\\": [\\n {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"adult_price\\": 600,\\n \\"adult_tax\\": 11,\\n \\"child_price\\": 500,\\n \\"child_tax\\": 10,\\n \\"infant_price\\": 400,\\n \\"infant_tax\\": 9,\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1259,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"MFM,PVG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 1,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 1,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 100,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 20\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 200\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 200\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"1\\",\\n \\"issue_time_info\\": {\\n \\"issue_time_limit\\": 0,\\n \\"issue_ticket_type\\": 0\\n }\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'Search', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopBaseRes<LowestPriceFlightSyncRes, Object>', + 'description' => 'PopBaseRes<LowestPriceFlightSyncRes, Object>', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => ['title' => '正确处理返回数据', 'description' => '正确处理返回数据', 'type' => 'object', 'example' => 'null'], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": null,\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'CollectFlightLowestPrice', + 'description' => '数据收集-低价航班信息。', ], 'Enrich' => [ 'summary' => '查到该行程更丰富的报价信息,还有免费行李、退改签、行李直挂规则。', 'path' => '/airticket/v1/trade/action-enrich', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'accessTokenAuth' => [], ], ], 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ 'name' => 'solution_id', 'in' => 'formData', - 'schema' => [ - 'title' => 'Search 返回的solution_id', - 'description' => 'Search 返回的solution_id', - 'type' => 'string', - 'required' => false, - 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ', - ], + 'schema' => ['title' => 'Search 返回的solution_id', 'description' => 'Search 返回的solution_id', 'type' => 'string', 'required' => false, 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ'], ], [ 'name' => 'adults', 'in' => 'formData', - 'schema' => [ - 'title' => '成人乘客数 1-9', - 'description' => '成人乘客数 1-9', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '成人乘客数 1-9', 'description' => '成人乘客数 1-9', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'children', 'in' => 'formData', - 'schema' => [ - 'title' => '儿童乘客数 0-9', - 'description' => '儿童乘客数 0-9', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '儿童乘客数 0-9', 'description' => '儿童乘客数 0-9', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'infants', 'in' => 'formData', - 'schema' => [ - 'title' => '婴儿乘客数 0-9', - 'description' => '婴儿乘客数 0-9', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '婴儿乘客数 0-9', 'description' => '婴儿乘客数 0-9', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'cabin_class', 'in' => 'formData', - 'schema' => [ - 'title' => '不填写默认为 ALL_CABIN。舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', - 'description' => '舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', - 'type' => 'string', - 'required' => false, - 'example' => 'ALL_CABIN', - ], + 'schema' => ['title' => '不填写默认为 ALL_CABIN。舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', 'description' => '舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', 'type' => 'string', 'required' => false, 'example' => 'ALL_CABIN'], ], [ 'name' => 'journey_param_list', @@ -1177,27 +1569,9 @@ 'description' => 'journey_param', 'type' => 'object', 'properties' => [ - 'departure_city' => [ - 'title' => '起飞城市三字码(大写)', - 'description' => '起飞城市三字码(大写)', - 'type' => 'string', - 'required' => true, - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '到达城市三字码(大写)', - 'description' => '到达城市三字码(大写)', - 'type' => 'string', - 'required' => true, - 'example' => 'MFM', - ], - 'departure_date' => [ - 'title' => '起飞日期(yyyyMMdd)', - 'description' => '起飞日期(yyyyMMdd)', - 'type' => 'string', - 'required' => true, - 'example' => '20230310', - ], + 'departure_city' => ['title' => '起飞城市三字码(大写)', 'description' => '起飞城市三字码(大写)', 'type' => 'string', 'required' => true, 'example' => 'SHA'], + 'arrival_city' => ['title' => '到达城市三字码(大写)', 'description' => '到达城市三字码(大写)', 'type' => 'string', 'required' => true, 'example' => 'MFM'], + 'departure_date' => ['title' => '起飞日期(yyyyMMdd)', 'description' => '起飞日期(yyyyMMdd)', 'type' => 'string', 'required' => true, 'example' => '20230310'], 'segment_param_list' => [ 'title' => '该程指定航段信息', 'description' => '该程指定航段信息', @@ -1206,68 +1580,14 @@ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'required' => false, - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'required' => false, - 'example' => 'MFM', - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'required' => false, - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'required' => false, - 'example' => 'MFM', - ], - 'departure_time' => [ - 'title' => '字符串,航班起飞日期时间(yyyy-MM-dd HH:mm:ss),departure_time和departure_date二选一,建议优先使用更精确的departure_time', - 'description' => '字符串,航班起飞日期时间(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'required' => false, - 'example' => '2023-03-10 07:55:00'."\n", - ], - 'departure_date' => [ - 'title' => '字符串,航班起飞日期(yyyy-MM-dd),departure_date和departure_time二选一,建议优先使用更精确的departure_time', - 'type' => 'string', - 'required' => false, - 'example' => '2023-03-10', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:KA5809)', - 'description' => '市场方航班号(如:KA5809)', - 'type' => 'string', - 'required' => true, - 'example' => 'HO1295', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'required' => false, - 'example' => 'V', - ], - 'child_cabin' => [ - 'title' => '儿童舱位', - 'description' => '儿童舱位', - 'type' => 'string', - 'required' => false, - 'example' => 'E', - ], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'required' => false, 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'required' => false, 'example' => 'MFM'], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'required' => false, 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'required' => false, 'example' => 'MFM'], + 'departure_time' => ['title' => '字符串,航班起飞日期时间(yyyy-MM-dd HH:mm:ss)', 'description' => '字符串,航班起飞日期时间(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'required' => false, 'example' => '2023-03-10 07:55:00'."\n"], + 'marketing_flight_no' => ['title' => '市场方航班号(如:KA5809)', 'description' => '市场方航班号(如:KA5809)', 'type' => 'string', 'required' => true, 'example' => 'HO1295'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'required' => false, 'example' => 'V'], + 'child_cabin' => ['title' => '儿童舱位', 'description' => '儿童舱位', 'type' => 'string', 'required' => false, 'example' => 'E'], ], 'required' => false, ], @@ -1282,24 +1602,12 @@ [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US'."\n", - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'."\n"], ], ], 'responses' => [ @@ -1309,37 +1617,11 @@ 'description' => 'PopBaseRes<EnrichRes, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', @@ -1353,54 +1635,15 @@ 'description' => 'solution', 'type' => 'object', 'properties' => [ - 'solution_id' => [ - 'title' => 'solution_id', - 'description' => 'solution_id', - 'type' => 'string', - 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ', - ], - 'adult_price' => [ - 'title' => '成人单价', - 'description' => '成人单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '500', - ], - 'adult_tax' => [ - 'title' => '成人税', - 'description' => '成人税', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - 'child_price' => [ - 'title' => '儿童单价', - 'description' => '儿童单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - 'child_tax' => [ - 'title' => '儿童税', - 'description' => '儿童税', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - 'infant_price' => [ - 'title' => '婴儿单价', - 'description' => '婴儿单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '500', - ], - 'infant_tax' => [ - 'title' => '婴儿税', - 'description' => '婴儿税', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'solution_id' => ['title' => 'solution_id', 'description' => 'solution_id', 'type' => 'string', 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ'], + 'adult_price' => ['title' => '成人单价', 'description' => '成人单价', 'type' => 'number', 'format' => 'double', 'example' => '500'], + 'adult_tax' => ['title' => '成人税', 'description' => '成人税', 'type' => 'number', 'format' => 'double', 'example' => '100'], + 'child_price' => ['title' => '儿童单价', 'description' => '儿童单价', 'type' => 'number', 'format' => 'double', 'example' => '100'], + 'child_tax' => ['title' => '儿童税', 'description' => '儿童税', 'type' => 'number', 'format' => 'double', 'example' => '100'], + 'infant_price' => ['title' => '婴儿单价', 'description' => '婴儿单价', 'type' => 'number', 'format' => 'double', 'example' => '500'], + 'infant_tax' => ['title' => '婴儿税', 'description' => '婴儿税', 'type' => 'number', 'format' => 'double', 'example' => '100'], + 'refund_ticket_coupon_description' => ['title' => '(该属性已废弃)退票代金券说明', 'type' => 'string', 'example' => 'description'], + 'product_type_description' => ['title' => '(该属性已废弃)产品类型描述', 'type' => 'string', 'example' => 'description'], 'journey_list' => [ 'title' => '行程', 'description' => '行程', @@ -1409,13 +1652,7 @@ 'description' => 'journey', 'type' => 'object', 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'segment_list' => [ 'title' => '航段信息', 'description' => '航段信息', @@ -1424,141 +1661,28 @@ 'description' => 'segment', 'type' => 'object', 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:KA5809)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:5809)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1295', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:KA)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'null', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'Y', - ], - 'availability' => [ - 'title' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。', - 'description' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于 9。', - 'type' => 'string', - 'example' => '7', - ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => '""', - ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', - ], + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:KA5809)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:5809)', 'type' => 'integer', 'format' => 'int32', 'example' => '1295'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:KA)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'null'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'Y'], + 'availability' => ['title' => '剩余座位数', 'description' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于 9。', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => '""'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], ], ], ], @@ -1577,127 +1701,23 @@ 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则', 'description' => '航段ID列表 这些航段ID使用同一个免费行李规则', 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], ], 'passenger_baggage_allowance_mapping' => [ - 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', + 'title' => '乘客类型-免费行李额映射关系', 'description' => '乘客类型-免费行李额映射关系', 'type' => 'object', 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'baggage_amount' => [ - 'title' => '托运行李件数', - 'description' => '托运行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '22', - ], - 'baggage_weight' => [ - 'title' => '托运行李重量', - 'description' => '托运行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'baggage_weight_unit' => [ - 'title' => '托运行李重量单位 KG', - 'description' => '托运行李重量单位KG', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_weight' => [ - 'title' => '是否所有托运行李重量', - 'description' => '是否所有托运行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'carry_on_amount' => [ - 'title' => '手提行李件数', - 'description' => '手提行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'carry_on_weight' => [ - 'title' => '手提行李重量', - 'description' => '手提行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'carry_on_weight_unit' => [ - 'title' => '手提行李重量单位 KG', - 'description' => '手提行李重量单位KG', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_carry_on_weight' => [ - 'title' => '是否所有手提行李重量', - 'description' => '是否所有手提行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'carry_length' => [ - 'title' => '手提长(单位:厘米)', - 'description' => '手提长(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '55', - ], - 'carry_width' => [ - 'title' => '手提宽(单位:厘米)', - 'description' => '手提宽(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'carry_height' => [ - 'title' => '手提高(单位:厘米)', - 'description' => '手提高(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'carry_sum_of_length_width_height' => [ - 'title' => '手提三边之和(单位:厘米)', - 'description' => '手提三边之和(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '115', - ], - 'length' => [ - 'title' => '托运长(单位:厘米)', - 'description' => '托运长(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'width' => [ - 'title' => '托运宽(单位:厘米)', - 'description' => '托运宽(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'height' => [ - 'title' => '托运高(单位:厘米)', - 'description' => '托运高(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'sum_of_length_width_height' => [ - 'title' => '托运三边之和(单位:厘米)', - 'description' => '托运三边之和(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'baggage_amount' => ['title' => '托运行李件数', 'description' => '托运行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '22'], + 'baggage_weight' => ['title' => '托运行李重量', 'description' => '托运行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'baggage_weight_unit' => ['title' => '托运行李重量单位', 'description' => '托运行李重量单位KG', 'type' => 'string', 'example' => 'KG'], + 'is_all_weight' => ['title' => '是否所有托运行李重量', 'description' => '是否所有托运行李重量', 'type' => 'boolean', 'example' => 'true'], + 'carry_on_amount' => ['title' => '手提行李件数', 'description' => '手提行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'carry_on_weight' => ['title' => '手提行李重量', 'description' => '手提行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'carry_on_weight_unit' => ['title' => '手提行李重量单位', 'description' => '手提行李重量单位KG', 'type' => 'string', 'example' => 'KG'], + 'is_all_carry_on_weight' => ['title' => '是否所有手提行李重量', 'description' => '是否所有手提行李重量', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '元素', ], @@ -1717,14 +1737,10 @@ 'title' => '航段ID列表 这些航段ID使用同一个退改签规则', 'description' => '航段ID列表 这些航段ID使用同一个退改签规则', 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], ], 'refund_change_rule_map' => [ - 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', + 'title' => '乘机人类型-退改签规则映射关系', 'description' => '乘机人类型-退改签规则映射关系', 'type' => 'object', 'additionalProperties' => [ @@ -1737,59 +1753,14 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => 'true', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '20'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => 'true'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '20'], ], 'description' => '元素', ], @@ -1801,59 +1772,14 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => '30', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '20'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => '30'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '20'], ], 'description' => '元素', ], @@ -1865,46 +1791,12 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '20'], ], 'description' => '元素', ], @@ -1916,46 +1808,12 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '10'], ], 'description' => '元素', ], @@ -1979,19 +1837,9 @@ 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则', 'description' => '航段ID列表 这些航段ID使用同一个行李直挂规则', 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - ], - 'luggage_direct_info_type' => [ - 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', - 'description' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], ], + 'luggage_direct_info_type' => ['title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', 'description' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -2000,31 +1848,7 @@ 'description' => '报价属性', 'type' => 'object', 'properties' => [ - 'supply_source_type' => [ - 'title' => '供给来源类型 1:自营;2:代理人;3:旗舰店', - 'description' => '供给来源类型 1:自营;2:代理人;3:旗舰店', - 'type' => 'string', - 'example' => '1', - ], - 'issue_time_info' => [ - 'title' => '出票时效相关', - 'description' => '出票时效相关', - 'type' => 'object', - 'properties' => [ - 'issue_time_limit' => [ - 'title' => '预计出票时长,单位:分钟', - 'description' => '预计出票时长,单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - ], - 'issue_ticket_type' => [ - 'title' => '出票类型 1:支付后; 2起飞前;-1未知', - 'description' => '出票类型 1:支付后; 2起飞前;-1未知', - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], + 'supply_source_type' => ['title' => '供给来源类型 1:自营;2:代理人;3:旗舰店', 'description' => '供给来源类型 1:自营;2:代理人;3:旗舰店', 'type' => 'string', 'example' => '1'], ], ], ], @@ -2032,30 +1856,44 @@ ], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"solution_list\\": [\\n {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"adult_price\\": 500,\\n \\"adult_tax\\": 100,\\n \\"child_price\\": 100,\\n \\"child_tax\\": 100,\\n \\"infant_price\\": 500,\\n \\"infant_tax\\": 100,\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"null\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"\\\\\\"\\\\\\"\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 22,\\n \\"baggage_weight\\": 2,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 2,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true,\\n \\"carry_length\\": 55,\\n \\"carry_width\\": 40,\\n \\"carry_height\\": 20,\\n \\"carry_sum_of_length_width_height\\": 115,\\n \\"length\\": 60,\\n \\"width\\": 40,\\n \\"height\\": 60,\\n \\"sum_of_length_width_height\\": 200\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 20,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 20\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 1,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 20,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 20\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 20\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 10\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"1\\",\\n \\"issue_time_info\\": {\\n \\"issue_time_limit\\": 0,\\n \\"issue_ticket_type\\": 0\\n }\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"solution_list\\": [\\n {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"adult_price\\": 500,\\n \\"adult_tax\\": 100,\\n \\"child_price\\": 100,\\n \\"child_tax\\": 100,\\n \\"infant_price\\": 500,\\n \\"infant_tax\\": 100,\\n \\"refund_ticket_coupon_description\\": \\"description\\",\\n \\"product_type_description\\": \\"description\\",\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"null\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"\\\\\\"\\\\\\"\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 22,\\n \\"baggage_weight\\": 2,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 2,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 20,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 20\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 1,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 20,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 20\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 20\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 10\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"1\\"\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', 'title' => 'Enrich', 'description' => '入参中 solution\\_id 和 journey\\_param\\_list 二选一,solution\\_id 需要从 Search 接口获取。', - ], - 'AncillarySuggest' => [ - 'summary' => '辅营推荐。', - 'path' => '/airticket/v1/ancillary/action-suggest', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', + 'changeSet' => [ + ['createdAt' => '2025-11-06T09:10:48.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-11-06T03:52:34.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-11-06T03:52:32.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-11-04T11:41:35.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-11-04T11:22:03.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-24T06:03:24.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-24T05:51:47.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-16T02:18:18.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-16T02:18:05.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-15T03:23:12.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-15T03:22:26.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-08T02:11:20.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-07-08T02:10:43.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T13:47:33.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-06-16T13:45:19.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T13:20:00.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T06:40:50.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T04:09:49.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T04:09:45.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T04:09:44.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T03:47:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T01:54:11.000Z', 'description' => 'OpenAPI 下线'], ], + ], + 'FileUpload' => [ + 'summary' => '附件图片形式的文件上传,限制只能传300KB以内大小。', + 'path' => '/airticket/v1/attachment/action-upload', + 'methods' => ['post'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'accessTokenAuth' => [], @@ -2065,1755 +1903,199 @@ 'systemTags' => [], 'parameters' => [ [ - 'name' => 'solution_id', + 'name' => 'order_num', 'in' => 'formData', - 'schema' => [ - 'title' => '机票 solution_id', - 'description' => '机票 solution_id', - 'type' => 'string', - 'required' => true, - 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ'."\n", - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PopBaseRes<AncillarySuggestRes, Object>', - 'description' => 'PopBaseRes<AncillarySuggestRes, Object>', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'object', - 'properties' => [ - 'solution_id' => [ - 'title' => '机票 solution_id', - 'description' => '机票 solution_id', - 'type' => 'string', - 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ', - ], - 'seg_ancillary_map_list' => [ - 'title' => '机票-辅营映射关系', - 'description' => '机票-辅营映射关系', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'segment_id_list' => [ - 'title' => '航段ID列表 这些航段使用同一个辅营', - 'description' => '航段ID列表 这些航段使用同一个辅营', - 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310'."\n", - ], - ], - 'ancillary' => [ - 'title' => '辅营产品', - 'description' => '辅营产品', - 'type' => 'object', - 'properties' => [ - 'ancillary_id' => [ - 'title' => '辅营商品ID', - 'description' => '辅营商品ID', - 'type' => 'string', - 'example' => 'eJwz8DeySEo0NjQ01TU3TU', - ], - 'ancillary_type' => [ - 'title' => '辅营产品类型 当前支持 4:付费行李', - 'description' => '辅营产品类型 当前支持 4:付费行李', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'baggage_ancillary' => [ - 'title' => '行李辅营详情', - 'description' => '行李辅营详情', - 'type' => 'object', - 'properties' => [ - 'baggage_amount' => [ - 'title' => '行李件数 取值如:3、2、1、0、-2。 -2 表示计重', - 'description' => '行李件数 取值如:3、2、1、0、-2。 -2 表示计重', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'baggage_weight' => [ - 'title' => '行李重量,0-50。isAllWeght=true 时,表示所有件数总重量。', - 'description' => '行李重量,0-50。isAllWeght=true 时,表示所有件数总重量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'baggage_weight_unit' => [ - 'title' => '行李重量单位', - 'description' => '行李重量单位', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_weight' => [ - 'title' => '是否所有行李重量', - 'description' => '是否所有行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'price' => [ - 'title' => '总价', - 'description' => '总价', - 'type' => 'number', - 'format' => 'double', - 'example' => '10.0', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], - ], - ], + 'schema' => ['title' => '正向订单号', 'description' => '正向订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '496***2617111'], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"seg_ancillary_map_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"ancillary\\": {\\n \\"ancillary_id\\": \\"eJwz8DeySEo0NjQ01TU3TU\\",\\n \\"ancillary_type\\": 4,\\n \\"baggage_ancillary\\": {\\n \\"baggage_amount\\": 0,\\n \\"baggage_weight\\": 0,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"price\\": 10\\n }\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'AncillarySuggest', - ], - 'Pricing' => [ - 'summary' => '验座,验价。如果价格变动,开发者继续 Book 则是以变价后的价格下单;如果未变价,则以未变价的价格下单。', - 'path' => '/airticket/v1/trade/action-pricing', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'solution_id', + 'name' => 'file_content', 'in' => 'formData', - 'schema' => [ - 'title' => 'solution_id', - 'description' => 'solution_id', - 'type' => 'string', - 'required' => true, - 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ', - ], + 'schema' => ['title' => '附件baseRs64字符串', 'description' => '附件图片形式文件上传,对图片进行 Base64编码,图片类型支持 .jpg|.png|.jpeg', 'type' => 'string', 'required' => true, 'example' => '0r2LSuIsHlxEoGZcnGe34U1njBOR83Q4HNSvMDGrDPK5J71VjcGdRIWz2x3+tFxvQaduwHB46Z9K'."\n" + .'dbIoDN8xPQ5PWlky8rKOPmAqSZfIRyPmAwvPvTJFwr8bRgHPPaq2VO8kHJ6jFIpJJ5I7Zqd1BjGS'."\n" + .'SR/kULQZHsDDd2zgA9RRTsEQF2OSxFFFx2P/2Q=='], ], [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PopBaseRes<PricingRes, Object>', - 'description' => 'PopBaseRes<PricingRes, Object>', + 'title' => 'PopBaseRes<UploadAttachmentRes, Object>', + 'description' => 'PopBaseRes<UploadAttachmentRes, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', 'type' => 'object', 'properties' => [ - 'solution' => [ - 'title' => 'solution', - 'description' => 'solution', - 'type' => 'object', - 'properties' => [ - 'solution_id' => [ - 'title' => 'solution_id', - 'description' => 'solution_id', - 'type' => 'string', - 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ', - ], - 'adult_price' => [ - 'title' => '成人单价', - 'description' => '成人单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '300', - ], - 'adult_tax' => [ - 'title' => '成人税', - 'description' => '成人税', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'child_price' => [ - 'title' => '儿童单价', - 'description' => '儿童单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'child_tax' => [ - 'title' => '儿童税', - 'description' => '儿童税', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - 'infant_price' => [ - 'title' => '婴儿单价', - 'description' => '婴儿单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'infant_tax' => [ - 'title' => '婴儿税', - 'description' => '婴儿税', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], - 'journey_list' => [ - 'title' => '行程', - 'description' => '行程', - 'type' => 'array', - 'items' => [ - 'description' => 'journey', - 'type' => 'object', - 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'segment_list' => [ - 'title' => '航段信息', - 'description' => '航段信息', - 'type' => 'array', - 'items' => [ - 'description' => 'segment', - 'type' => 'object', - 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:KA5809)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:5809)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1295', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:KA)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'T1', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'ALL_CABIN', - ], - 'availability' => [ - 'title' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。', - 'description' => '剩余座位数', - 'type' => 'string', - 'example' => '7', - ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => '""', - ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', - ], - ], - ], - ], - ], - ], - ], - 'segment_baggage_mapping_list' => [ - 'title' => '免费行李规则', - 'description' => '免费行李规则', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'segment_id_list' => [ - 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则', - 'description' => '航段ID列表 这些航段ID使用同一个免费行李规则', - 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310'."\n", - ], - ], - 'passenger_baggage_allowance_mapping' => [ - 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', - 'description' => '乘客类型-免费行李额映射关系', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'baggage_amount' => [ - 'title' => '托运行李件数', - 'description' => '托运行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'baggage_weight' => [ - 'title' => '托运行李重量', - 'description' => '托运行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'baggage_weight_unit' => [ - 'title' => '托运行李重量单位 KG', - 'description' => '托运行李重量单位KG', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_weight' => [ - 'title' => '是否所有托运行李重量', - 'description' => '是否所有托运行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'carry_on_amount' => [ - 'title' => '手提行李件数', - 'description' => '手提行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'carry_on_weight' => [ - 'title' => '手提行李重量', - 'description' => '手提行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'carry_on_weight_unit' => [ - 'title' => '手提行李重量单位 KG', - 'description' => '手提行李重量单位KG', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_carry_on_weight' => [ - 'title' => '是否所有手提行李重量', - 'description' => '是否所有手提行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'carry_length' => [ - 'title' => '手提长(单位:厘米)', - 'description' => '手提长(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '55', - ], - 'carry_width' => [ - 'title' => '手提宽(单位:厘米)', - 'description' => '手提宽(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'carry_height' => [ - 'title' => '手提高(单位:厘米)', - 'description' => '手提高(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'carry_sum_of_length_width_height' => [ - 'title' => '手提三边之和(单位:厘米)', - 'description' => '手提三边之和(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '115', - ], - 'length' => [ - 'title' => '托运长(单位:厘米)', - 'description' => '托运长(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'width' => [ - 'title' => '托运宽(单位:厘米)', - 'description' => '托运宽(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'height' => [ - 'title' => '托运高(单位:厘米)', - 'description' => '托运高(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'sum_of_length_width_height' => [ - 'title' => '托运三边之和(单位:厘米)', - 'description' => '托运三边之和(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], - 'description' => '元素', - ], - ], - ], - ], - ], - 'segment_refund_change_rule_mapping_list' => [ - 'title' => '退改签规则', - 'description' => '退改签规则', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'segment_id_list' => [ - 'title' => '航段ID列表 这些航段ID使用同一个退改签规则', - 'description' => '航段ID列表 这些航段ID使用同一个退改签规则', - 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - ], - 'refund_change_rule_map' => [ - 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', - 'description' => '乘机人类型-退改签规则映射关系', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'refund_rule_all_unused_list' => [ - 'title' => '全程未使用退票规则', - 'description' => '全程未使用退票规则', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => 'true', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], - ], - 'description' => '元素', - ], - ], - 'refund_rule_part_unused_list' => [ - 'title' => '部分未使用退票规则', - 'description' => '部分未使用退票规则', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => 'false', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - ], - 'description' => '元素', - ], - ], - 'change_rule_in_unused_list' => [ - 'title' => '回程未使用改签规则', - 'description' => '回程未使用改签规则', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], - ], - 'description' => '元素', - ], - ], - 'change_rule_out_unused_list' => [ - 'title' => '去程未使用改签规则', - 'description' => '去程未使用改签规则', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], - ], - 'description' => '元素', - ], - ], - ], - 'description' => '元素', - ], - ], - ], - ], - ], - 'segment_baggage_check_in_info_list' => [ - 'title' => '行李直挂规则', - 'description' => '行李直挂规则', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'segment_id_list' => [ - 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则', - 'description' => '航段ID列表 这些航段ID使用同一个行李直挂规则', - 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310'."\n", - ], - ], - 'luggage_direct_info_type' => [ - 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', - 'description' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], - 'solution_attribute' => [ - 'title' => '报价属性', - 'description' => '报价属性', - 'type' => 'object', - 'properties' => [ - 'supply_source_type' => [ - 'title' => '供给来源类型 1:自营;2:代理人;3:旗舰店', - 'description' => '供给来源类型 1:自营;2:代理人;3:旗舰店', - 'type' => 'string', - ], - 'issue_time_info' => [ - 'title' => '出票时效相关', - 'description' => '出票时效相关', - 'type' => 'object', - 'properties' => [ - 'issue_time_limit' => [ - 'title' => '预计出票时长,单位:分钟', - 'description' => '预计出票时长,单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - ], - 'issue_ticket_type' => [ - 'title' => '出票类型 1:支付后; 2起飞前;-1未知', - 'description' => '出票类型 1:支付后; 2起飞前;-1未知', - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - ], - ], - ], - 'is_changed' => [ - 'title' => '是否变价', - 'description' => '是否变价', - 'type' => 'boolean', - 'example' => 'true', - ], - 'original_price_info' => [ - 'title' => '变价之前价格信息 isChanged = true 时,才有值', - 'description' => '变价之前价格信息 isChanged = true 时,才有值', - 'type' => 'object', - 'properties' => [ - 'adult_tax' => [ - 'title' => '成人税', - 'description' => '成人税', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - 'child_tax' => [ - 'title' => '儿童税', - 'description' => '儿童税', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - 'infant_tax' => [ - 'title' => '婴儿税', - 'description' => '婴儿税', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - 'adult_price' => [ - 'title' => '成人单价', - 'description' => '成人单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'child_price' => [ - 'title' => '儿童单价', - 'description' => '儿童单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'infant_price' => [ - 'title' => '婴儿单价', - 'description' => '婴儿单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - ], - ], - 'changed_price_info' => [ - 'title' => '变价之后价格信息 isChanged = true 时,才有值', - 'description' => '变价之后价格信息', - 'type' => 'object', - 'properties' => [ - 'adult_tax' => [ - 'title' => '成人税', - 'description' => '成人税', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], - 'child_tax' => [ - 'title' => '儿童税', - 'description' => '儿童税', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], - 'infant_tax' => [ - 'title' => '婴儿税', - 'description' => '婴儿税', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], - 'adult_price' => [ - 'title' => '成人单价', - 'description' => '成人单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - 'child_price' => [ - 'title' => '儿童单价', - 'description' => '儿童单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - 'infant_price' => [ - 'title' => '婴儿单价', - 'description' => '婴儿单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - ], - ], - 'remain_seats' => [ - 'title' => '剩余座位数,A 表示大于9,0-9 代表具体数字', - 'description' => '剩余座位数,A 表示大于9,0-9 代表具体数字', - 'type' => 'string', - 'example' => 'A', - ], + 'uploaded_file_url' => ['title' => '上传后文件名称', 'description' => '上传后文件名称', 'type' => 'string', 'example' => 'https://fliggy-flight-jinghang-bucket.oss-cn-zhangjiakou.aliyuncs.com/suez/flight_suez_9a634376****47.jpeg'], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"solution\\": {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"adult_price\\": 300,\\n \\"adult_tax\\": 30,\\n \\"child_price\\": 200,\\n \\"child_tax\\": 20,\\n \\"infant_price\\": 200,\\n \\"infant_tax\\": 10,\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"ALL_CABIN\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"\\\\\\"\\\\\\"\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 10,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 10,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true,\\n \\"carry_length\\": 55,\\n \\"carry_width\\": 40,\\n \\"carry_height\\": 20,\\n \\"carry_sum_of_length_width_height\\": 115,\\n \\"length\\": 60,\\n \\"width\\": 40,\\n \\"height\\": 60,\\n \\"sum_of_length_width_height\\": 200\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 1,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 10,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 10\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 20,\\n \\"can_return_all_tax\\": false,\\n \\"return_part_tax_fee\\": 30\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 10\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 3,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 10\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"\\",\\n \\"issue_time_info\\": {\\n \\"issue_time_limit\\": 0,\\n \\"issue_ticket_type\\": 0\\n }\\n }\\n },\\n \\"is_changed\\": true,\\n \\"original_price_info\\": {\\n \\"adult_tax\\": 20,\\n \\"child_tax\\": 20,\\n \\"infant_tax\\": 20,\\n \\"adult_price\\": 200,\\n \\"child_price\\": 200,\\n \\"infant_price\\": 200\\n },\\n \\"changed_price_info\\": {\\n \\"adult_tax\\": 10,\\n \\"child_tax\\": 10,\\n \\"infant_tax\\": 10,\\n \\"adult_price\\": 100,\\n \\"child_price\\": 100,\\n \\"infant_price\\": 100\\n },\\n \\"remain_seats\\": \\"A\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'Pricing', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"uploaded_file_url\\": \\"https://fliggy-flight-jinghang-bucket.oss-cn-zhangjiakou.aliyuncs.com/suez/flight_suez_9a634376****47.jpeg\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'FileUpload', + 'changeSet' => [], ], - 'Book' => [ - 'summary' => '预定生单。', - 'path' => '/airticket/v1/trade/action-book', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'FlightChangeOfOrder' => [ + 'summary' => '订单号查询航变信息。', + 'path' => '/airticket/v1/flightchange/of-order', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'accessTokenAuth' => [], ], ], 'deprecated' => false, + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'solution_id', - 'in' => 'formData', - 'schema' => [ - 'title' => 'solution_id', - 'description' => 'solution_id', - 'type' => 'string', - 'required' => true, - 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ', - ], - ], - [ - 'name' => 'out_order_num', - 'in' => 'formData', - 'schema' => [ - 'title' => '外部订单号', - 'description' => '外部订单号', - 'type' => 'string', - 'required' => true, - 'example' => 'x091-2023-0220-j-0001', - ], - ], - [ - 'name' => 'contact', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '联系信息', - 'description' => '联系信息', - 'type' => 'object', - 'properties' => [ - 'last_name' => [ - 'title' => '姓', - 'description' => '姓', - 'type' => 'string', - 'required' => false, - 'example' => 'ZHANG', - ], - 'first_name' => [ - 'title' => '名', - 'description' => '名', - 'type' => 'string', - 'required' => false, - 'example' => 'SAN', - ], - 'mobile_phone_num' => [ - 'title' => '手机号', - 'description' => '手机号', - 'type' => 'string', - 'required' => false, - 'example' => '183******96', - ], - 'mobile_country_code' => [ - 'title' => '国家区位码', - 'description' => '国家区位码', - 'type' => 'string', - 'required' => false, - 'example' => '86', - ], - 'email' => [ - 'title' => '邮件地址', - 'description' => '邮件地址', - 'type' => 'string', - 'required' => false, - 'example' => 'gao******@gmail.com', - ], - ], - 'required' => true, - ], - ], - [ - 'name' => 'passenger_list', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '乘机人列表', - 'description' => '乘机人列表', - 'type' => 'array', - 'items' => [ - 'description' => 'passenger', - 'type' => 'object', - 'properties' => [ - 'last_name' => [ - 'title' => '姓', - 'description' => '姓', - 'type' => 'string', - 'required' => true, - 'example' => 'ZHANG', - ], - 'first_name' => [ - 'title' => '名', - 'description' => '名', - 'type' => 'string', - 'required' => true, - 'example' => 'SAN', - ], - 'birthday' => [ - 'title' => '生日 yyyyMMdd', - 'description' => '生日 yyyyMMdd', - 'type' => 'string', - 'required' => false, - 'example' => '20200320', - ], - 'type' => [ - 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], - 'mobile_phone_number' => [ - 'title' => '手机号', - 'description' => '手机号', - 'type' => 'string', - 'required' => true, - 'example' => '183******95', - ], - 'mobile_country_code' => [ - 'title' => '手机号-国家码', - 'description' => '手机号-国家码', - 'type' => 'string', - 'required' => true, - 'example' => '86', - ], - 'gender' => [ - 'title' => '性别 0:MALE; 1:FEMALE', - 'description' => '性别 0:MALE; 1:FEMALE', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], - 'nationality' => [ - 'title' => '国籍二字码', - 'description' => '国籍,二字码', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], - 'credential' => [ - 'title' => '证件', - 'description' => '证件', - 'type' => 'object', - 'properties' => [ - 'cert_issue_place' => [ - 'title' => '签发地,二字码', - 'description' => '签发地,二字码', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], - 'credential_num' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'required' => false, - 'example' => 'E1***5674', - ], - 'expire_date' => [ - 'title' => '证件过期时间', - 'description' => '证件过期时间', - 'type' => 'string', - 'required' => false, - 'example' => '20290101', - ], - 'credential_type' => [ - 'title' => '目前支持的证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', - 'description' => '证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'required' => true, - ], - ], - [ - 'name' => 'passenger_ancillary_purchase_map_list', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '乘机人-辅营购买关系', - 'description' => '乘机人-辅营购买关系', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'passenger_list' => [ - 'title' => '购买统一辅营的乘机人列表', - 'description' => '购买统一辅营的乘机人列表', - 'type' => 'array', - 'items' => [ - 'description' => 'passenger', - 'type' => 'object', - 'properties' => [ - 'last_name' => [ - 'title' => '姓', - 'description' => '姓', - 'type' => 'string', - 'required' => true, - 'example' => 'ZHANG', - ], - 'first_name' => [ - 'title' => '名', - 'description' => '名', - 'type' => 'string', - 'required' => true, - 'example' => 'SAN', - ], - 'birthday' => [ - 'title' => '生日 yyyyMMdd', - 'description' => '生日 yyyyMMdd', - 'type' => 'string', - 'required' => false, - 'example' => '20020320', - ], - 'type' => [ - 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], - 'mobile_phone_number' => [ - 'title' => '手机号', - 'description' => '手机号', - 'type' => 'string', - 'required' => true, - 'example' => '182******92', - ], - 'mobile_country_code' => [ - 'title' => '手机号-国家码', - 'description' => '手机号-国家码', - 'type' => 'string', - 'required' => true, - 'example' => '86', - ], - 'gender' => [ - 'title' => '性别 0:MALE; 1:FEMALE', - 'description' => '性别 0:MALE; 1:FEMALE', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'nationality' => [ - 'title' => '国籍二字码', - 'description' => '国籍', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], - 'credential' => [ - 'title' => '证件', - 'description' => '证件', - 'type' => 'object', - 'properties' => [ - 'cert_issue_place' => [ - 'title' => '签发地,二字码', - 'description' => '签发地,二字码', - 'type' => 'string', - 'required' => false, - 'example' => 'CN', - ], - 'credential_num' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'required' => false, - 'example' => 'E1***5673', - ], - 'expire_date' => [ - 'title' => '证件过期时间', - 'description' => '证件过期时间', - 'type' => 'string', - 'required' => false, - 'example' => '20290102', - ], - 'credential_type' => [ - 'title' => '目前支持的证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', - 'description' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:Taiwan通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:Taiwan居民居住证', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'book_ancillary_req_item' => [ - 'title' => '辅营对象', - 'description' => '生单入参辅营对象', - 'type' => 'object', - 'properties' => [ - 'ancillary_id' => [ - 'title' => '辅营商品ID', - 'description' => '辅营商品ID', - 'type' => 'string', - 'required' => false, - 'example' => 'MDY2NTAxLCJleHAiOjE2NxNzM3MDEsIm5ix', - ], - 'ancillary_type' => [ - 'title' => '辅营产品类型 当前支持 4:付费行李', - 'description' => '辅营产品类型 当前支持 4:付费行李,未来会扩展', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '4', - ], - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'required' => false, - ], + 'name' => 'order_num', + 'in' => 'query', + 'schema' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4966***617111'], ], [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PopBaseRes<BookRes, BookRes>', - 'description' => 'PopBaseRes<BookRes, Object>', + 'title' => 'PopBaseRes<List<FlightChangeOrderDTO>, Object>', + 'description' => 'PopBaseRes<List<FlightChangeOrderDTO>, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', - 'type' => 'object', - 'properties' => [ - 'order_list' => [ - 'title' => '订单信息列表', - 'description' => '订单信息列表', - 'type' => 'array', - 'items' => [ - 'description' => '订单号列表', - 'type' => 'object', - 'properties' => [ - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4966***617111', - ], - 'order_attribute' => [ - 'title' => '订单属性', - 'description' => '订单属性', - 'type' => 'object', - 'properties' => [ - 'aba_pay_lock_rate_info' => [ - 'title' => 'ABA锁汇信息,只有支付方式是ABA支付且报价币种和扣款币种不同时,才会有值', - 'description' => 'ABA锁汇信息,只有支付方式是ABA支付且报价币种和扣款币种不同时,才会有值', - 'type' => 'object', - 'properties' => [ - 'pay_intended_currency_code' => [ - 'title' => '代扣币种即支付币种即意向币种,用户实际支付的币种', - 'description' => '代扣币种即支付币种即意向币种,用户实际支付的币种', - 'type' => 'string', - 'example' => 'CNY', - ], - 'quotation_currency_code' => [ - 'title' => '报价币种', - 'description' => '报价币种', - 'type' => 'string', - 'example' => 'USD', - ], - 'to_pay_currency_rate' => [ - 'title' => '锁汇汇率即报价价格换算成实际支付价格的汇率', - 'description' => '锁汇汇率即报价价格换算成实际支付价格的汇率', - 'type' => 'string', - 'example' => '7.1427', - ], - 'pay_intended_amount' => [ - 'title' => '支付意向金额即报价价格换算成扣款后的价格', - 'description' => '支付意向金额即报价价格换算成扣款后的价格', - 'type' => 'string', - 'example' => '14.2854', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'object', - 'properties' => [ - 'order_list' => [ - 'title' => '订单信息列表', - 'description' => '订单信息列表,相同入参重复 Book 时,若已经 Book 成功,会携带订单号返回。', - 'type' => 'array', - 'items' => [ - 'description' => '订单号列表', + 'type' => 'array', + 'items' => [ + 'description' => '数据元素', + 'type' => 'object', + 'properties' => [ + 'flight_change_detail' => [ + 'title' => '航变信息', + 'description' => '航变信息', 'type' => 'object', 'properties' => [ - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4966***617111', - ], - 'order_attribute' => [ - 'title' => '订单属性', - 'description' => '订单属性', - 'type' => 'object', - 'properties' => [ - 'aba_pay_lock_rate_info' => [ - 'title' => 'ABA锁汇信息,只有支付方式是ABA支付且报价币种和扣款币种不同时,才会有值', - 'description' => 'ABA锁汇信息,只有支付方式是ABA支付且报价币种和扣款币种不同时,才会有值', - 'type' => 'object', - 'properties' => [ - 'pay_intended_currency_code' => [ - 'title' => '代扣币种即支付币种即意向币种,用户实际支付的币种', - 'description' => '代扣币种即支付币种即意向币种,用户实际支付的币种', - 'type' => 'string', - 'example' => 'CNY', - ], - 'quotation_currency_code' => [ - 'title' => '报价币种', - 'description' => '报价币种', - 'type' => 'string', - 'example' => 'USD', - ], - 'to_pay_currency_rate' => [ - 'title' => '锁汇汇率即报价价格换算成实际支付价格的汇率', - 'description' => '锁汇汇率即报价价格换算成实际支付价格的汇率', - 'type' => 'string', - 'example' => '7.1427', - ], - 'pay_intended_amount' => [ - 'title' => '支付意向金额即报价价格换算成扣款后的价格', - 'description' => '支付意向金额即报价价格换算成扣款后的价格', - 'type' => 'string', - 'example' => '14.2854', - ], - ], - ], - ], - ], + 'old_flight_no' => ['title' => '原航班号', 'description' => '原航班号', 'type' => 'string', 'example' => 'HO1295'], + 'old_departure_airport' => ['title' => '原航班起飞机场三字码(大写)', 'description' => '原航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'old_arrival_airport' => ['title' => '原航班到达机场三字码(大写)', 'description' => '原航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'old_departure_time' => ['title' => '原航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '原航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-02-01 12:01:00'], + 'old_arrival_time' => ['title' => '原航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '原航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '023-02-01 14:01:00'], + 'new_flight_no' => ['title' => '新航班号', 'description' => '新航班号', 'type' => 'string', 'example' => 'HO1295'], + 'new_departure_airport' => ['title' => '新航班起飞机场三字码(大写)', 'description' => '新航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'new_arrival_airport' => ['title' => '新航班到达机场三字码(大写)', 'description' => '新航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'new_departure_time' => ['title' => '新航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '新航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-02-01 13:01:00'], + 'new_arrival_time' => ['title' => '新航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '新航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-02-01 15:01:00'], + 'change_time' => ['title' => '航变时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航变时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-02-01 10:01:00'], + 'change_type' => ['title' => '航变类型 1:取消; 2:变更', 'description' => '航变类型 1:取消; 2:变更', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'change_reason' => ['title' => '航变原因', 'description' => '航变原因', 'type' => 'string', 'example' => '天气'], ], ], + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4966***617111'], ], ], - 'example' => 'null', ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_list\\": [\\n {\\n \\"order_num\\": 0,\\n \\"order_attribute\\": {\\n \\"aba_pay_lock_rate_info\\": {\\n \\"pay_intended_currency_code\\": \\"CNY\\",\\n \\"quotation_currency_code\\": \\"USD\\",\\n \\"to_pay_currency_rate\\": \\"7.1427\\",\\n \\"pay_intended_amount\\": \\"14.2854\\"\\n }\\n }\\n }\\n ]\\n },\\n \\"error_data\\": {\\n \\"order_list\\": [\\n {\\n \\"order_num\\": 0,\\n \\"order_attribute\\": {\\n \\"aba_pay_lock_rate_info\\": {\\n \\"pay_intended_currency_code\\": \\"CNY\\",\\n \\"quotation_currency_code\\": \\"USD\\",\\n \\"to_pay_currency_rate\\": \\"7.1427\\",\\n \\"pay_intended_amount\\": \\"14.2854\\"\\n }\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => 'Book', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": [\\n {\\n \\"flight_change_detail\\": {\\n \\"old_flight_no\\": \\"HO1295\\",\\n \\"old_departure_airport\\": \\"PVG\\",\\n \\"old_arrival_airport\\": \\"MFM\\",\\n \\"old_departure_time\\": \\"2023-02-01 12:01:00\\",\\n \\"old_arrival_time\\": \\"023-02-01 14:01:00\\",\\n \\"new_flight_no\\": \\"HO1295\\",\\n \\"new_departure_airport\\": \\"PVG\\",\\n \\"new_arrival_airport\\": \\"MFM\\",\\n \\"new_departure_time\\": \\"2023-02-01 13:01:00\\",\\n \\"new_arrival_time\\": \\"2023-02-01 15:01:00\\",\\n \\"change_time\\": \\"2023-02-01 10:01:00\\",\\n \\"change_type\\": 1,\\n \\"change_reason\\": \\"天气\\"\\n },\\n \\"order_num\\": 0\\n }\\n ],\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'FlightChangeOfOrder', + 'changeSet' => [], ], - 'TicketingCheck' => [ - 'summary' => 'Ticketing 前检查,该接口是可选使用。', - 'path' => '/airticket/v1/trade/action-ticketing-check', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'GetToken' => [ + 'summary' => '获取接口调用 token 凭证,token 有效期2小时。', + 'path' => '/airticket/v1/token', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ - 'accessTokenAuth' => [], + 'rootTokenAuth' => [], ], ], 'deprecated' => false, + 'systemTags' => [], 'parameters' => [ [ - 'name' => 'order_num', - 'in' => 'formData', - 'schema' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '496***2617111', - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'name' => 'app_key', + 'in' => 'query', + 'schema' => ['title' => 'appKey', 'description' => 'appKey', 'type' => 'string', 'required' => true, 'example' => 'fu1bltcu3400iurywuri'], ], [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'name' => 'app_secret', + 'in' => 'query', + 'schema' => ['title' => 'appSecret', 'description' => 'appSecret', 'type' => 'string', 'required' => true, 'example' => 'ZzQ3MW1mb3E1ODAwI2ldUjYlWUdJn5YI'], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'title' => 'PopBaseRes<TicketingCheckRes, Object>', - 'description' => 'PopBaseRes<TicketingCheckRes, Object>', + 'title' => 'PopBaseRes<TokenInfoDTO, Object>', + 'description' => 'PopBaseRes<TokenInfoDTO, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', 'type' => 'object', 'properties' => [ - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '496***2617111', - ], + 'token' => ['title' => 'token', 'description' => 'token', 'type' => 'string', 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiIyUlRjY0Ezc1puSndpYU11R1ctTkVRIiwiaWF0IjoxNjc3MTU1Njg3LCJleHAiOjE2NzcxNjI4ODcsIm5iZiI6MTY3NzE1NTYyN30.bd8qBedJ7R24NC8VpMtM4Ni5OR-Cc0utPiKSx8fjoj9taalt7zXBF8uIVTETw1N-Fx9reLflwVXrbDHky7ZKqlE5o_B5Bkx-crQKlJL-NzasEmNnuJNb5kmmbCy3mvIrQfo5Q5Y0ZaQ110pXK4qd1shRbklvuQXn8lPueJtNqo8VdIOAPGG_rPwOw2P767I0fyFHcome8FR4ST1UrwxeApNKMB_BkpCsUZLgpm9h9trhKbB-3qtk6UK1GKmfw6qlWpL3PQN7FAObNruS0r0CGh3Muc9PaGsuu8Xu5on21h9WmI7L0-jatZkS55p4PEerU56XpkwJfa35_hltKNTauu'], + 'expire_time' => ['title' => 'token 剩余有效时间 单位秒', 'description' => 'token 剩余有效时间 单位秒', 'type' => 'integer', 'format' => 'int64', 'example' => '7200'], + 'generate_time' => ['title' => 'token生成时间戳,秒级别', 'description' => 'token生成时间戳 秒级别', 'type' => 'integer', 'format' => 'int64', 'example' => '1677055176'], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'TicketingCheck', - 'description' => 'Ticketing 前检查,该接口是可选使用。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"token\\": \\"eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiIyUlRjY0Ezc1puSndpYU11R1ctTkVRIiwiaWF0IjoxNjc3MTU1Njg3LCJleHAiOjE2NzcxNjI4ODcsIm5iZiI6MTY3NzE1NTYyN30.bd8qBedJ7R24NC8VpMtM4Ni5OR-Cc0utPiKSx8fjoj9taalt7zXBF8uIVTETw1N-Fx9reLflwVXrbDHky7ZKqlE5o_B5Bkx-crQKlJL-NzasEmNnuJNb5kmmbCy3mvIrQfo5Q5Y0ZaQ110pXK4qd1shRbklvuQXn8lPueJtNqo8VdIOAPGG_rPwOw2P767I0fyFHcome8FR4ST1UrwxeApNKMB_BkpCsUZLgpm9h9trhKbB-3qtk6UK1GKmfw6qlWpL3PQN7FAObNruS0r0CGh3Muc9PaGsuu8Xu5on21h9WmI7L0-jatZkS55p4PEerU56XpkwJfa35_hltKNTauu\\",\\n \\"expire_time\\": 7200,\\n \\"generate_time\\": 1677055176\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'GetToken', ], - 'Ticketing' => [ - 'summary' => '支付出票。', - 'path' => '/airticket/v1/trade/action-ticketing', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'LuggageDirect' => [ + 'summary' => '航程行李直挂。', + 'path' => '/airticket/v1/flight-data/luggage-direct', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'accessTokenAuth' => [], @@ -3822,296 +2104,110 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'order_num', - 'in' => 'formData', - 'schema' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '496***2617111', - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ + 'name' => 'flight_segment_param_list', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => 'PopBaseRes<TicketingRes, Object>', - 'description' => 'PopBaseRes<TicketingRes, Object>', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'object', - 'properties' => [ - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '496***2617111'."\n", - ], - 'transaction_no' => [ - 'title' => '交易流水号', - 'description' => '交易流水号', - 'type' => 'string', - 'example' => 'hkduendkd-2023-dj0', - ], - 'pay_time' => [ - 'title' => '支付时间,13位时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1757404878000', - ], - ], - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', + 'title' => '航段列表,列表中航段构成一个航程', + 'description' => '航段列表,列表中航段构成一个航程。size<=2。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'departure_airport' => ['title' => '出发机场三字码', 'description' => '出发机场三字码', 'type' => 'string', 'required' => true, 'example' => 'HGH'], + 'arrival_airport' => ['title' => '到达机场三字码', 'description' => '到达机场三字码', 'type' => 'string', 'required' => true, 'example' => 'SIN'], + 'departure_terminal' => ['title' => '出发航站楼', 'description' => '出发航站楼', 'type' => 'string', 'required' => false, 'example' => 'T1'], + 'arrival_terminal' => ['title' => '到达航站楼', 'description' => '到达航站楼', 'type' => 'string', 'required' => false, 'example' => 'T1'], + 'departure_time' => ['title' => '出发时间,13位时间戳', 'description' => '出发时间,13位时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1705285430445'], + 'arrival_time' => ['title' => '到达时间,13位时间戳', 'description' => '到达时间,13位时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1705285430445'], + 'stop_city_list' => ['title' => '经停城市三字码', 'description' => '经停城市三字码', 'type' => 'string', 'required' => false, 'example' => 'SEL,HKG'], + 'marketing_airline' => ['title' => '市场方航司', 'description' => '市场方航司', 'type' => 'string', 'required' => true, 'example' => 'CZ'], + 'operating_airline' => ['title' => '承运方航司', 'description' => '承运方航司', 'type' => 'string', 'required' => false, 'example' => 'CZ'], + 'ticketing_airline' => ['title' => '出票方航司', 'description' => '出票方航司', 'type' => 'string', 'required' => false, 'example' => 'CZ'], + 'marketing_flight_no' => ['title' => '航班号', 'description' => '航班号', 'type' => 'string', 'required' => true, 'example' => 'CZ616'], + 'code_share' => ['title' => '是否共享', 'description' => '是否共享', 'type' => 'boolean', 'required' => true, 'example' => 'true', 'default' => 'false'], ], + 'required' => false, ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0,\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'Ticketing', - ], - 'Cancel' => [ - 'summary' => '未支付取消。', - 'path' => '/airticket/v1/trade/action-cancel', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'order_num', - 'in' => 'formData', - 'schema' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '496***2617111', + 'required' => false, ], ], [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PopBaseRes<CancelRes, Object>', - 'description' => 'PopBaseRes<CancelRes, Object>', + 'title' => 'PopBaseRes<List<LuggageDirect>, Object>', + 'description' => 'PopBaseRes<List<LuggageDirect>, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', - 'type' => 'object', - 'properties' => [ - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '496***2617111'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'city_code' => ['title' => '城市三字码', 'description' => '城市三字码', 'type' => 'string', 'example' => 'BJS'], + 'direct_type' => ['title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', 'description' => '行李直挂规则类型 0:非行李直挂; 1:行李直挂', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'Cancel', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": [\\n {\\n \\"city_code\\": \\"BJS\\",\\n \\"direct_type\\": 1\\n }\\n ],\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'LuggageDirect', + 'description' => '航程行李直挂信息查询,接口输入航程信息,返回该航程是否支持行李直挂。中转和经停场景,会涉及行李直挂。', ], 'OrderDetail' => [ 'summary' => '订单详情。', 'path' => '/airticket/v1/trade/order-detail', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'accessTokenAuth' => [], ], ], 'deprecated' => false, + 'systemTags' => [], 'parameters' => [ [ 'name' => 'order_num', 'in' => 'query', - 'schema' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '4966***617111', - ], + 'schema' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4966***617111'], ], [ 'name' => 'out_order_num', 'in' => 'query', - 'schema' => [ - 'title' => '外部订单号', - 'description' => '外部订单号', - 'type' => 'string', - 'required' => false, - 'example' => 'x091-2023-0220-j-0001', - ], + 'schema' => ['title' => '外部订单号', 'description' => '外部订单号', 'type' => 'string', 'required' => false, 'example' => 'x091-2023-0220-j-0001'], ], [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], ], ], 'responses' => [ @@ -4121,37 +2217,11 @@ 'description' => 'PopBaseRes<OrderDetailRes, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', @@ -4171,59 +2241,14 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => 'true', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => 'true'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], 'description' => '元素', ], @@ -4235,59 +2260,14 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => 'true', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => 'true'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], 'description' => '元素', ], @@ -4299,46 +2279,12 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], 'description' => '元素', ], @@ -4350,46 +2296,12 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], 'description' => '元素', ], @@ -4405,114 +2317,14 @@ 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'baggage_amount' => [ - 'title' => '托运行李件数', - 'description' => '托运行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'baggage_weight' => [ - 'title' => '托运行李重量', - 'description' => '托运行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'baggage_weight_unit' => [ - 'title' => '托运行李重量单位 KG', - 'description' => '托运行李重量单位', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_weight' => [ - 'title' => '是否所有托运行李重量', - 'description' => '是否所有托运行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'carry_on_amount' => [ - 'title' => '手提行李件数', - 'description' => '手提行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'carry_on_weight' => [ - 'title' => '手提行李重量', - 'description' => '手提行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'carry_on_weight_unit' => [ - 'title' => '手提行李重量单位 KG', - 'description' => '手提行李重量单位', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_carry_on_weight' => [ - 'title' => '是否所有手提行李重量', - 'description' => '是否所有手提行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'carry_length' => [ - 'title' => '手提长(单位:厘米)', - 'description' => '手提长(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '55', - ], - 'carry_width' => [ - 'title' => '手提宽(单位:厘米)', - 'description' => '手提宽(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'carry_height' => [ - 'title' => '手提高(单位:厘米)', - 'description' => '手提高(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'carry_sum_of_length_width_height' => [ - 'title' => '手提三边之和(单位:厘米)', - 'description' => '手提三边之和(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '115', - ], - 'length' => [ - 'title' => '托运长(单位:厘米)', - 'description' => '托运长(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'width' => [ - 'title' => '托运宽(单位:厘米)', - 'description' => '托运宽(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'height' => [ - 'title' => '托运高(单位:厘米)', - 'description' => '托运高(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'sum_of_length_width_height' => [ - 'title' => '托运三边之和(单位:厘米)', - 'description' => '托运三边之和(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'baggage_amount' => ['title' => '托运行李件数', 'description' => '托运行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'baggage_weight' => ['title' => '托运行李重量', 'description' => '托运行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'baggage_weight_unit' => ['title' => '托运行李重量单位', 'description' => '托运行李重量单位', 'type' => 'string', 'example' => 'KG'], + 'is_all_weight' => ['title' => '是否所有托运行李重量', 'description' => '是否所有托运行李重量', 'type' => 'boolean', 'example' => 'true'], + 'carry_on_amount' => ['title' => '手提行李件数', 'description' => '手提行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'carry_on_weight' => ['title' => '手提行李重量', 'description' => '手提行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'carry_on_weight_unit' => ['title' => '手提行李重量单位', 'description' => '手提行李重量单位', 'type' => 'string', 'example' => 'KG'], + 'is_all_carry_on_weight' => ['title' => '是否所有手提行李重量', 'description' => '是否所有手提行李重量', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '元素', ], @@ -4522,54 +2334,15 @@ 'description' => '航班信息', 'type' => 'object', 'properties' => [ - 'solution_id' => [ - 'title' => 'solution_id', - 'description' => 'solution_id', - 'type' => 'string', - 'example' => 'eJwz8DeySEo0NjQ01TU3TUxxx', - ], - 'adult_price' => [ - 'title' => '成人单价', - 'description' => '成人单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '300', - ], - 'adult_tax' => [ - 'title' => '成人税', - 'description' => '成人税', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'child_price' => [ - 'title' => '儿童单价', - 'description' => '儿童单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'child_tax' => [ - 'title' => '儿童税', - 'description' => '儿童税', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - 'infant_price' => [ - 'title' => '婴儿单价', - 'description' => '婴儿单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - 'infant_tax' => [ - 'title' => '婴儿税', - 'description' => '婴儿税', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], + 'solution_id' => ['title' => 'solution_id', 'description' => 'solution_id', 'type' => 'string', 'example' => 'eJwz8DeySEo0NjQ01TU3TUxxx'], + 'adult_price' => ['title' => '成人单价', 'description' => '成人单价', 'type' => 'number', 'format' => 'double', 'example' => '300'], + 'adult_tax' => ['title' => '成人税', 'description' => '成人税', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'child_price' => ['title' => '儿童单价', 'description' => '儿童单价', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'child_tax' => ['title' => '儿童税', 'description' => '儿童税', 'type' => 'number', 'format' => 'double', 'example' => '20'], + 'infant_price' => ['title' => '婴儿单价', 'description' => '婴儿单价', 'type' => 'number', 'format' => 'double', 'example' => '100'], + 'infant_tax' => ['title' => '婴儿税', 'description' => '婴儿税', 'type' => 'number', 'format' => 'double', 'example' => '10'], + 'refund_ticket_coupon_description' => ['title' => '退票代金券说明', 'description' => '退票代金券说明', 'type' => 'string', 'example' => 'description'], + 'product_type_description' => ['title' => '产品类型描述', 'description' => '产品类型描述', 'type' => 'string', 'example' => 'description'], 'journey_list' => [ 'title' => '行程', 'description' => '行程', @@ -4578,13 +2351,7 @@ 'description' => 'journey', 'type' => 'object', 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'segment_list' => [ 'title' => '航段信息', 'description' => '航段信息', @@ -4593,141 +2360,28 @@ 'description' => 'segment', 'type' => 'object', 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310'."\n", - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:HO1295)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:1295)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1295', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:HO)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'T1', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'Y', - ], - 'availability' => [ - 'title' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。', - 'description' => '剩余座位数', - 'type' => 'string', - 'example' => '7', - ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => 'SEL,HKG', - ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', - ], + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'."\n"], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:HO1295)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:1295)', 'type' => 'integer', 'format' => 'int32', 'example' => '1295'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:HO)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'T1'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'Y'], + 'availability' => ['title' => '剩余座位数,大于 9 用 A 表示', 'description' => '剩余座位数', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => 'SEL,HKG'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], ], ], ], @@ -4746,11 +2400,7 @@ 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则', 'description' => '航段ID列表 这些航段ID使用同一个免费行李规则', 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310'."\n", - ], + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'."\n"], ], 'passenger_baggage_allowance_mapping' => [ 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', @@ -4759,114 +2409,14 @@ 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'baggage_amount' => [ - 'title' => '托运行李件数', - 'description' => '托运行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'baggage_weight' => [ - 'title' => '托运行李重量', - 'description' => '托运行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'baggage_weight_unit' => [ - 'title' => '托运行李重量单位 KG', - 'description' => '托运行李重量单位', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_weight' => [ - 'title' => '是否所有托运行李重量', - 'description' => '是否所有托运行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'carry_on_amount' => [ - 'title' => '手提行李件数', - 'description' => '手提行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'carry_on_weight' => [ - 'title' => '手提行李重量', - 'description' => '手提行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'carry_on_weight_unit' => [ - 'title' => '手提行李重量单位 KG', - 'description' => '手提行李重量单位', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_carry_on_weight' => [ - 'title' => '是否所有手提行李重量', - 'description' => '是否所有手提行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'carry_length' => [ - 'title' => '手提长(单位:厘米)', - 'description' => '手提长(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '55', - ], - 'carry_width' => [ - 'title' => '手提宽(单位:厘米)', - 'description' => '手提宽(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'carry_height' => [ - 'title' => '手提高(单位:厘米)', - 'description' => '手提高(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'carry_sum_of_length_width_height' => [ - 'title' => '手提三边之和(单位:厘米)', - 'description' => '手提三边之和(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '115', - ], - 'length' => [ - 'title' => '托运长(单位:厘米)', - 'description' => '托运长(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'width' => [ - 'title' => '托运宽(单位:厘米)', - 'description' => '托运宽(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'height' => [ - 'title' => '托运高(单位:厘米)', - 'description' => '托运高(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'sum_of_length_width_height' => [ - 'title' => '托运三边之和(单位:厘米)', - 'description' => '托运三边之和(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'baggage_amount' => ['title' => '托运行李件数', 'description' => '托运行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'baggage_weight' => ['title' => '托运行李重量', 'description' => '托运行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'baggage_weight_unit' => ['title' => '托运行李重量单位', 'description' => '托运行李重量单位', 'type' => 'string', 'example' => 'KG'], + 'is_all_weight' => ['title' => '是否所有托运行李重量', 'description' => '是否所有托运行李重量', 'type' => 'boolean', 'example' => 'true'], + 'carry_on_amount' => ['title' => '手提行李件数', 'description' => '手提行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'carry_on_weight' => ['title' => '手提行李重量', 'description' => '手提行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'carry_on_weight_unit' => ['title' => '手提行李重量单位', 'description' => '手提行李重量单位', 'type' => 'string', 'example' => 'KG'], + 'is_all_carry_on_weight' => ['title' => '是否所有手提行李重量', 'description' => '是否所有手提行李重量', 'type' => 'boolean', 'example' => 'true'], ], 'description' => '元素', ], @@ -4886,11 +2436,7 @@ 'title' => '航段ID列表 这些航段ID使用同一个退改签规则', 'description' => '航段ID列表 这些航段ID使用同一个退改签规则', 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], ], 'refund_change_rule_map' => [ 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', @@ -4906,59 +2452,14 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => 'true', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => 'true'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], 'description' => '元素', ], @@ -4970,59 +2471,14 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => 'true', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => 'true'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], 'description' => '元素', ], @@ -5034,46 +2490,12 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], 'description' => '元素', ], @@ -5085,46 +2507,12 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], 'description' => '元素', ], @@ -5148,50 +2536,9 @@ 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则', 'description' => '航段ID列表 这些航段ID使用同一个行李直挂规则', 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310'."\n", - ], - ], - 'luggage_direct_info_type' => [ - 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', - 'description' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], - 'solution_attribute' => [ - 'title' => '报价属性', - 'description' => '报价属性', - 'type' => 'object', - 'properties' => [ - 'supply_source_type' => [ - 'title' => '供给来源类型 1:自营;2:代理人;3:旗舰店', - 'description' => '供给来源类型 1:自营;2:代理人;3:旗舰店', - 'type' => 'string', - ], - 'issue_time_info' => [ - 'title' => '出票时效相关', - 'description' => '出票时效相关', - 'type' => 'object', - 'properties' => [ - 'issue_time_limit' => [ - 'title' => '预计出票时长,单位:分钟', - 'description' => '预计出票时长,单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - ], - 'issue_ticket_type' => [ - 'title' => '出票类型 1:支付后; 2起飞前;-1未知', - 'description' => '出票类型 1:支付后; 2起飞前;-1未知', - 'type' => 'integer', - 'format' => 'int32', - ], + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'."\n"], ], + 'luggage_direct_info_type' => ['title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', 'description' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -5210,86 +2557,23 @@ 'description' => '乘客信息', 'type' => 'object', 'properties' => [ - 'last_name' => [ - 'title' => '姓', - 'description' => '姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'first_name' => [ - 'title' => '名', - 'description' => '名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'birthday' => [ - 'title' => '生日 yyyyMMdd', - 'description' => '生日 yyyyMMdd', - 'type' => 'string', - 'example' => '20020301', - ], - 'type' => [ - 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'mobile_phone_number' => [ - 'title' => '手机号', - 'description' => '手机号', - 'type' => 'string', - 'example' => '183******96', - ], - 'mobile_country_code' => [ - 'title' => '手机号-国家码', - 'description' => '手机号-国家码', - 'type' => 'string', - 'example' => '86', - ], - 'gender' => [ - 'title' => '性别 0:MALE; 1:FEMALE', - 'description' => '性别 0:MALE; 1:FEMALE', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'nationality' => [ - 'title' => '国籍二字码', - 'description' => '国籍二字码', - 'type' => 'string', - 'example' => 'CN', - ], + 'last_name' => ['title' => '姓', 'description' => '姓', 'type' => 'string', 'example' => 'ZHANG'], + 'first_name' => ['title' => '名', 'description' => '名', 'type' => 'string', 'example' => 'SAN'], + 'birthday' => ['title' => '生日 yyyyMMdd', 'description' => '生日 yyyyMMdd', 'type' => 'string', 'example' => '20020301'], + 'type' => ['title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'mobile_phone_number' => ['title' => '手机号', 'description' => '手机号', 'type' => 'string', 'example' => '183******96'], + 'mobile_country_code' => ['title' => '手机号-国家码', 'description' => '手机号-国家码', 'type' => 'string', 'example' => '86'], + 'gender' => ['title' => '性别 0:MALE; 1:FEMALE', 'description' => '性别 0:MALE; 1:FEMALE', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'nationality' => ['title' => '国籍二字码', 'description' => '国籍二字码', 'type' => 'string', 'example' => 'CN'], 'credential' => [ 'title' => '证件', 'description' => '证件', 'type' => 'object', 'properties' => [ - 'cert_issue_place' => [ - 'title' => '签发地,二字码', - 'description' => '签发地,二字码', - 'type' => 'string', - 'example' => 'CN', - ], - 'credential_num' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => 'E1***5674', - ], - 'expire_date' => [ - 'title' => '证件过期时间', - 'description' => '证件过期时间', - 'type' => 'string', - 'example' => '20290101', - ], - 'credential_type' => [ - 'title' => '目前支持的证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', - 'description' => '证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'cert_issue_place' => ['title' => '签发地,二字码', 'description' => '签发地,二字码', 'type' => 'string', 'example' => 'CN'], + 'credential_num' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => 'E1***5674'], + 'expire_date' => ['title' => '证件过期时间', 'description' => '证件过期时间', 'type' => 'string', 'example' => '20290101'], + 'credential_type' => ['title' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:台湾通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:台湾居民居住证', 'description' => '证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -5299,20 +2583,8 @@ 'description' => '乘客价格信息', 'type' => 'object', 'properties' => [ - 'sell_price' => [ - 'title' => '销售价格 单位元', - 'description' => '销售价格 单位元', - 'type' => 'number', - 'format' => 'double', - 'example' => '300', - ], - 'tax' => [ - 'title' => '税费', - 'description' => '税费', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], + 'sell_price' => ['title' => '销售价格 单位元', 'description' => '销售价格 单位元', 'type' => 'number', 'format' => 'double', 'example' => '300'], + 'tax' => ['title' => '税费', 'description' => '税费', 'type' => 'number', 'format' => 'double', 'example' => '10'], ], ], 'flight_segment_cabin_relation' => [ @@ -5323,36 +2595,11 @@ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID', - 'description' => '航段ID', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_quantity' => [ - 'title' => '可售票量', - 'description' => '可售票量', - 'type' => 'string', - 'example' => 'A', - ], - 'cabin_class' => [ - 'title' => '舱位等级', - 'description' => '舱位等级', - 'type' => 'string', - 'example' => 'Y', - ], - 'cabin_class_name' => [ - 'title' => '舱位等级描述', - 'description' => '舱位等级描述', - 'type' => 'string', - 'example' => 'economy class', - ], + 'segment_id' => ['title' => '航段ID', 'description' => '航段ID', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_quantity' => ['title' => '可售票量', 'description' => '可售票量', 'type' => 'string', 'example' => 'A'], + 'cabin_class' => ['title' => '舱位等级', 'description' => '舱位等级', 'type' => 'string', 'example' => 'Y'], + 'cabin_class_name' => ['title' => '舱位等级描述', 'description' => '舱位等级描述', 'type' => 'string', 'example' => 'economy class'], ], ], ], @@ -5360,37 +2607,20 @@ 'title' => 'ticketNo 列表', 'description' => 'ticketNo 列表', 'type' => 'array', - 'items' => [ - 'description' => 'ticketNo', - 'type' => 'string', - 'example' => '784-0000000001', - ], - ], - 'ticket_air_line' => [ - 'title' => '出票航司,拼接可能有多个出票航司', - 'description' => '出票航司,拼接可能有多个出票航司', - 'type' => 'string', - 'example' => 'HO', + 'items' => ['description' => 'ticketNo', 'type' => 'string', 'example' => '784-0000000001'], ], + 'ticket_air_line' => ['title' => '出票航司,拼接可能有多个出票航司', 'description' => '出票航司,拼接可能有多个出票航司', 'type' => 'string', 'example' => 'HO'], 'c_pnr_list' => [ 'title' => 'cPnr 列表 cPnr 小编码; bPnr 大编码;对于廉航只有 cPnr', 'description' => 'cPnr 列表', 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'string', - 'example' => 'HY6P0A', - ], + 'items' => ['description' => '元素', 'type' => 'string', 'example' => 'HY6P0A'], ], 'b_pnr_list' => [ 'title' => 'bPnr 列表', 'description' => 'bPnr 列表', 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'string', - 'example' => 'HY6P0A', - ], + 'items' => ['description' => '元素', 'type' => 'string', 'example' => 'HY6P0A'], ], ], ], @@ -5408,86 +2638,23 @@ 'description' => '乘客信息', 'type' => 'object', 'properties' => [ - 'last_name' => [ - 'title' => '姓', - 'description' => '姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'first_name' => [ - 'title' => '名', - 'description' => '名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'birthday' => [ - 'title' => '生日 yyyyMMdd', - 'description' => '生日 yyyyMMdd', - 'type' => 'string', - 'example' => '20020301', - ], - 'type' => [ - 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'mobile_phone_number' => [ - 'title' => '手机号', - 'description' => '手机号', - 'type' => 'string', - 'example' => '183******96', - ], - 'mobile_country_code' => [ - 'title' => '手机号-国家码', - 'description' => '手机号-国家码', - 'type' => 'string', - 'example' => '86', - ], - 'gender' => [ - 'title' => '性别 0:MALE; 1:FEMALE', - 'description' => '性别 0:MALE; 1:FEMALE', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'nationality' => [ - 'title' => '国籍二字码', - 'description' => '国籍二字码', - 'type' => 'string', - 'example' => 'CN', - ], + 'last_name' => ['title' => '姓', 'description' => '姓', 'type' => 'string', 'example' => 'ZHANG'], + 'first_name' => ['title' => '名', 'description' => '名', 'type' => 'string', 'example' => 'SAN'], + 'birthday' => ['title' => '生日 yyyyMMdd', 'description' => '生日 yyyyMMdd', 'type' => 'string', 'example' => '20020301'], + 'type' => ['title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'mobile_phone_number' => ['title' => '手机号', 'description' => '手机号', 'type' => 'string', 'example' => '183******96'], + 'mobile_country_code' => ['title' => '手机号-国家码', 'description' => '手机号-国家码', 'type' => 'string', 'example' => '86'], + 'gender' => ['title' => '性别 0:MALE; 1:FEMALE', 'description' => '性别 0:MALE; 1:FEMALE', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'nationality' => ['title' => '国籍二字码', 'description' => '国籍二字码', 'type' => 'string', 'example' => 'CN'], 'credential' => [ 'title' => '证件', 'description' => '证件', 'type' => 'object', 'properties' => [ - 'cert_issue_place' => [ - 'title' => '签发地,二字码', - 'description' => '签发地,二字码', - 'type' => 'string', - 'example' => 'CN', - ], - 'credential_num' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => 'E1***5674', - ], - 'expire_date' => [ - 'title' => '证件过期时间', - 'description' => '证件过期时间', - 'type' => 'string', - 'example' => '20290101', - ], - 'credential_type' => [ - 'title' => '目前支持的证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', - 'description' => '证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'cert_issue_place' => ['title' => '签发地,二字码', 'description' => '签发地,二字码', 'type' => 'string', 'example' => 'CN'], + 'credential_num' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => 'E1***5674'], + 'expire_date' => ['title' => '证件过期时间', 'description' => '证件过期时间', 'type' => 'string', 'example' => '20290101'], + 'credential_type' => ['title' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:台湾通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:台湾居民居住证', 'description' => '证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -5496,67 +2663,25 @@ 'title' => '辅营商品适用的航段ID', 'description' => '辅营商品适用的航段ID', 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], ], 'ancillary' => [ 'title' => '辅营详细信息', 'description' => '辅营详细信息', 'type' => 'object', 'properties' => [ - 'ancillary_id' => [ - 'title' => '辅营商品ID', - 'description' => '辅营商品ID', - 'type' => 'string', - 'example' => 'MDY2NTAxLCJleHAiOjE2NxNzM3MDEsIm5ix', - ], - 'ancillary_type' => [ - 'title' => '辅营产品类型 当前支持 4:付费行李', - 'description' => '辅营产品类型 当前支持 4:付费行李', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], + 'ancillary_id' => ['title' => '辅营商品ID', 'description' => '辅营商品ID', 'type' => 'string', 'example' => 'MDY2NTAxLCJleHAiOjE2NxNzM3MDEsIm5ix'], + 'ancillary_type' => ['title' => '辅营产品类型 当前支持 4:付费行李', 'description' => '辅营产品类型 当前支持 4:付费行李', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], 'baggage_ancillary' => [ 'title' => '行李辅营详情', 'description' => '行李辅营详情', 'type' => 'object', 'properties' => [ - 'baggage_amount' => [ - 'title' => '行李件数 取值如:3、2、1、0、-2。 -2 表示计重', - 'description' => '行李件数 取值如:3、2、1、0、-2。 -2 表示计重', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'baggage_weight' => [ - 'title' => '行李重量,0-50。isAllWeght=true 时,表示所有件数总重量。', - 'description' => '行李重量,0-50。isAllWeght=true 时,表示所有件数总重量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'baggage_weight_unit' => [ - 'title' => '行李重量单位', - 'description' => '行李重量单位', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_weight' => [ - 'title' => '是否所有行李重量', - 'description' => '是否所有行李重量', - 'type' => 'boolean', - ], - 'price' => [ - 'title' => '总价', - 'description' => '总价', - 'type' => 'number', - 'format' => 'double', - 'example' => '10.0', - ], + 'baggage_amount' => ['title' => '行李件数 取值如:3、2、1、0、-2。 -2 表示计重', 'description' => '行李件数 取值如:3、2、1、0、-2。 -2 表示计重', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'baggage_weight' => ['title' => '行李重量,0-50。isAllWeght=true 时,表示所有件数总重量。', 'description' => '行李重量,0-50。isAllWeght=true 时,表示所有件数总重量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'baggage_weight_unit' => ['title' => '行李重量单位', 'description' => '行李重量单位', 'type' => 'string', 'example' => 'KG'], + 'is_all_weight' => ['title' => '是否所有行李重量', 'description' => '是否所有行李重量', 'type' => 'boolean'], + 'price' => ['title' => '总价', 'description' => '总价', 'type' => 'number', 'format' => 'double', 'example' => '10.0'], ], ], ], @@ -5564,74 +2689,16 @@ ], ], ], - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4966***617111', - ], - 'out_order_num' => [ - 'title' => '外部订单号', - 'description' => '外部订单号', - 'type' => 'string', - 'example' => 'x091-2023-0220-j-0001', - ], - 'transaction_no' => [ - 'title' => '资金交易流水号', - 'description' => '资金交易流水号', - 'type' => 'string', - 'example' => 'hkduendkd-2023-dj0', - ], - 'order_status' => [ - 'title' => '订单状态 1:预定处理中; 2:预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', - 'description' => '订单状态 1:预定处理中; 2:预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'book_time' => [ - 'title' => '预定时间(生单时间) 使用时间戳 13位', - 'description' => '预定时间(生单时间) 使用时间戳 13位', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677210784000', - ], - 'succeed_time' => [ - 'title' => '出票时间 使用时间戳 13位', - 'description' => '出票时间,使用时间戳 13位,出票完成后该属性才有值。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677210786000', - ], - 'pay_time' => [ - 'title' => '支付时间 使用时间戳 13位', - 'description' => '支付时间 使用时间戳 13位', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677210788000', - ], - 'total_price' => [ - 'title' => '订单总价(单位:元)', - 'description' => '订单总价(单位:元)', - 'type' => 'number', - 'format' => 'double', - 'example' => '3000', - ], - 'real_pay_price' => [ - 'title' => '实付金额(单位:元)', - 'description' => '实付金额(单位:元)', - 'type' => 'number', - 'format' => 'double', - 'example' => '3000', - ], - 'promotion_price' => [ - 'title' => '优惠金额(单位:元)', - 'description' => '优惠金额(单位:元)', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4966***617111'], + 'out_order_num' => ['title' => '外部订单号', 'description' => '外部订单号', 'type' => 'string', 'example' => 'x091-2023-0220-j-0001'], + 'transaction_no' => ['title' => '资金交易流水号', 'description' => '资金交易流水号', 'type' => 'string', 'example' => 'hkduendkd-2023-dj0'], + 'order_status' => ['title' => '订单状态 1:生单预定处理中; 2:生单预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', 'description' => '订单状态 1:预定处理中; 2:预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'book_time' => ['title' => '预定时间(生单时间) 使用时间戳 13位', 'description' => '预定时间(生单时间) 使用时间戳 13位', 'type' => 'integer', 'format' => 'int64', 'example' => '1677210784000'], + 'succeed_time' => ['title' => '出票时间 使用时间戳 13位', 'description' => '出票时间,使用时间戳 13位,出票完成后该属性才有值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1677210786000'], + 'pay_time' => ['title' => '支付时间 使用时间戳 13位', 'description' => '支付时间 使用时间戳 13位', 'type' => 'integer', 'format' => 'int64', 'example' => '1677210788000'], + 'total_price' => ['title' => '订单总价(单位:元)', 'description' => '订单总价(单位:元)', 'type' => 'number', 'format' => 'double', 'example' => '3000'], + 'real_pay_price' => ['title' => '实付金额(单位:元)', 'description' => '实付金额(单位:元)', 'type' => 'number', 'format' => 'double', 'example' => '3000'], + 'promotion_price' => ['title' => '优惠金额(单位:元)', 'description' => '优惠金额(单位:元)', 'type' => 'number', 'format' => 'double', 'example' => '10'], 'passenger_list' => [ 'title' => '乘机人', 'description' => '乘机人', @@ -5640,129 +2707,49 @@ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'last_name' => [ - 'title' => '姓', - 'description' => '姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'first_name' => [ - 'title' => '名', - 'description' => '名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'birthday' => [ - 'title' => '生日 yyyyMMdd', - 'description' => '生日 yyyyMMdd', - 'type' => 'string', - 'example' => '20020301', - ], - 'type' => [ - 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'mobile_phone_number' => [ - 'title' => '手机号', - 'description' => '手机号', - 'type' => 'string', - 'example' => '183******96', - ], - 'mobile_country_code' => [ - 'title' => '手机号-国家码', - 'description' => '手机号-国家码', - 'type' => 'string', - 'example' => '86', - ], - 'gender' => [ - 'title' => '性别 0:MALE; 1:FEMALE', - 'description' => '性别 0:MALE; 1:FEMALE', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'nationality' => [ - 'title' => '国籍二字码', - 'description' => '国籍二字码', - 'type' => 'string', - 'example' => 'CN', - ], + 'last_name' => ['title' => '姓', 'description' => '姓', 'type' => 'string', 'example' => 'ZHANG'], + 'first_name' => ['title' => '名', 'description' => '名', 'type' => 'string', 'example' => 'SAN'], + 'birthday' => ['title' => '生日 yyyyMMdd', 'description' => '生日 yyyyMMdd', 'type' => 'string', 'example' => '20020301'], + 'type' => ['title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'mobile_phone_number' => ['title' => '手机号', 'description' => '手机号', 'type' => 'string', 'example' => '183******96'], + 'mobile_country_code' => ['title' => '手机号-国家码', 'description' => '手机号-国家码', 'type' => 'string', 'example' => '86'], + 'gender' => ['title' => '性别 0:MALE; 1:FEMALE', 'description' => '性别 0:MALE; 1:FEMALE', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'nationality' => ['title' => '国籍二字码', 'description' => '国籍二字码', 'type' => 'string', 'example' => 'CN'], 'credential' => [ 'title' => '证件', 'description' => '证件', 'type' => 'object', 'properties' => [ - 'cert_issue_place' => [ - 'title' => '签发地,二字码', - 'description' => '签发地,二字码', - 'type' => 'string', - 'example' => 'CN', - ], - 'credential_num' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => 'E1***5674', - ], - 'expire_date' => [ - 'title' => '证件过期时间', - 'description' => '证件过期时间', - 'type' => 'string', - 'example' => '20290101', - ], - 'credential_type' => [ - 'title' => '目前支持的证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', - 'description' => '证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'cert_issue_place' => ['title' => '签发地,二字码', 'description' => '签发地,二字码', 'type' => 'string', 'example' => 'CN'], + 'credential_num' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => 'E1***5674'], + 'expire_date' => ['title' => '证件过期时间', 'description' => '证件过期时间', 'type' => 'string', 'example' => '20290101'], + 'credential_type' => ['title' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:台湾通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:台湾居民居住证', 'description' => '证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], ], ], - 'session_nick' => [ - 'title' => '买家昵称', - 'description' => '买家昵称', - 'type' => 'string', - 'example' => 'nick', - ], - 'pay_status' => [ - 'title' => '支付状态 0:初始化; 1:创建成功; 2:支付成功; 4:关闭交易', - 'description' => '支付状态 0:初始化; 1:创建成功; 2:支付成功; 4:关闭交易', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'session_nick' => ['title' => '买家昵称', 'description' => '买家昵称', 'type' => 'string', 'example' => 'nick'], + 'pay_status' => ['title' => '支付状态 0:支付处理中; 1:扣款成功; 2:已打款给卖家; 3:关闭交易', 'description' => '支付状态 0:初始化; 1:创建成功; 2:支付成功; 4:关闭交易', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ]\\n }\\n },\\n \\"baggage_allowance_map\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 10,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 5,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true,\\n \\"carry_length\\": 55,\\n \\"carry_width\\": 40,\\n \\"carry_height\\": 20,\\n \\"carry_sum_of_length_width_height\\": 115,\\n \\"length\\": 60,\\n \\"width\\": 40,\\n \\"height\\": 60,\\n \\"sum_of_length_width_height\\": 200\\n }\\n },\\n \\"solution\\": {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TUxxx\\",\\n \\"adult_price\\": 300,\\n \\"adult_tax\\": 30,\\n \\"child_price\\": 200,\\n \\"child_tax\\": 20,\\n \\"infant_price\\": 100,\\n \\"infant_tax\\": 10,\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\\\n\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 10,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 5,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true,\\n \\"carry_length\\": 55,\\n \\"carry_width\\": 40,\\n \\"carry_height\\": 20,\\n \\"carry_sum_of_length_width_height\\": 115,\\n \\"length\\": 60,\\n \\"width\\": 40,\\n \\"height\\": 60,\\n \\"sum_of_length_width_height\\": 200\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"\\",\\n \\"issue_time_info\\": {\\n \\"issue_time_limit\\": 0,\\n \\"issue_ticket_type\\": 0\\n }\\n }\\n },\\n \\"flight_item_detail_list\\": [\\n {\\n \\"passenger\\": {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n },\\n \\"flight_price\\": {\\n \\"sell_price\\": 300,\\n \\"tax\\": 10\\n },\\n \\"flight_segment_cabin_relation\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_quantity\\": \\"A\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"cabin_class_name\\": \\"economy class\\"\\n }\\n ],\\n \\"ticket_nos\\": [\\n \\"784-0000000001\\"\\n ],\\n \\"ticket_air_line\\": \\"HO\\",\\n \\"c_pnr_list\\": [\\n \\"HY6P0A\\"\\n ],\\n \\"b_pnr_list\\": [\\n \\"HY6P0A\\"\\n ]\\n }\\n ],\\n \\"ancillary_item_detail_list\\": [\\n {\\n \\"passenger\\": {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n },\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"ancillary\\": {\\n \\"ancillary_id\\": \\"MDY2NTAxLCJleHAiOjE2NxNzM3MDEsIm5ix\\",\\n \\"ancillary_type\\": 4,\\n \\"baggage_ancillary\\": {\\n \\"baggage_amount\\": 0,\\n \\"baggage_weight\\": 0,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"price\\": 10\\n }\\n }\\n }\\n ],\\n \\"order_num\\": 0,\\n \\"out_order_num\\": \\"x091-2023-0220-j-0001\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"order_status\\": 4,\\n \\"book_time\\": 1677210784000,\\n \\"succeed_time\\": 1677210786000,\\n \\"pay_time\\": 1677210788000,\\n \\"total_price\\": 3000,\\n \\"real_pay_price\\": 3000,\\n \\"promotion_price\\": 10,\\n \\"passenger_list\\": [\\n {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n }\\n ],\\n \\"session_nick\\": \\"nick\\",\\n \\"pay_status\\": 2\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ]\\n }\\n },\\n \\"baggage_allowance_map\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 10,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 5,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true\\n }\\n },\\n \\"solution\\": {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TUxxx\\",\\n \\"adult_price\\": 300,\\n \\"adult_tax\\": 30,\\n \\"child_price\\": 200,\\n \\"child_tax\\": 20,\\n \\"infant_price\\": 100,\\n \\"infant_tax\\": 10,\\n \\"refund_ticket_coupon_description\\": \\"description\\",\\n \\"product_type_description\\": \\"description\\",\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\\\n\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 10,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 5,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ]\\n },\\n \\"flight_item_detail_list\\": [\\n {\\n \\"passenger\\": {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n },\\n \\"flight_price\\": {\\n \\"sell_price\\": 300,\\n \\"tax\\": 10\\n },\\n \\"flight_segment_cabin_relation\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_quantity\\": \\"A\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"cabin_class_name\\": \\"economy class\\"\\n }\\n ],\\n \\"ticket_nos\\": [\\n \\"784-0000000001\\"\\n ],\\n \\"ticket_air_line\\": \\"HO\\",\\n \\"c_pnr_list\\": [\\n \\"HY6P0A\\"\\n ],\\n \\"b_pnr_list\\": [\\n \\"HY6P0A\\"\\n ]\\n }\\n ],\\n \\"ancillary_item_detail_list\\": [\\n {\\n \\"passenger\\": {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n },\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"ancillary\\": {\\n \\"ancillary_id\\": \\"MDY2NTAxLCJleHAiOjE2NxNzM3MDEsIm5ix\\",\\n \\"ancillary_type\\": 4,\\n \\"baggage_ancillary\\": {\\n \\"baggage_amount\\": 0,\\n \\"baggage_weight\\": 0,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"price\\": 10\\n }\\n }\\n }\\n ],\\n \\"order_num\\": 0,\\n \\"out_order_num\\": \\"x091-2023-0220-j-0001\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"order_status\\": 4,\\n \\"book_time\\": 1677210784000,\\n \\"succeed_time\\": 1677210786000,\\n \\"pay_time\\": 1677210788000,\\n \\"total_price\\": 3000,\\n \\"real_pay_price\\": 3000,\\n \\"promotion_price\\": 10,\\n \\"passenger_list\\": [\\n {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n }\\n ],\\n \\"session_nick\\": \\"nick\\",\\n \\"pay_status\\": 2\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', 'title' => 'OrderDetail', + 'changeSet' => [ + ['createdAt' => '2025-10-24T06:03:24.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-24T05:51:47.000Z', 'description' => 'OpenAPI 下线'], + ], ], 'OrderList' => [ 'summary' => '订单列表。', 'path' => '/airticket/v1/trade/order-list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'accessTokenAuth' => [], @@ -5773,84 +2760,37 @@ [ 'name' => 'book_time_start', 'in' => 'query', - 'schema' => [ - 'title' => '查询开始时间 13位时间戳', - 'description' => '查询开始时间 13位时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1677229005000', - ], + 'schema' => ['title' => '查询开始时间 13位时间戳', 'description' => '查询开始时间 13位时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1677229005000'], ], [ 'name' => 'book_time_end', 'in' => 'query', - 'schema' => [ - 'title' => '查询结束时间 13位时间戳', - 'description' => '查询结束时间 13位时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1677229006000', - ], + 'schema' => ['title' => '查询结束时间 13位时间戳', 'description' => '查询结束时间 13位时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1677229006000'], ], [ 'name' => 'status', 'in' => 'query', - 'schema' => [ - 'title' => '订单状态 1:生单预定处理中; 2:生单预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', - 'description' => '订单状态 1:生单预定处理中; 2:生单预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '4', - ], + 'schema' => ['title' => '订单状态 1:生单预定处理中; 2:生单预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', 'description' => '订单状态 2:生单预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'], ], [ 'name' => 'page_index', 'in' => 'query', - 'schema' => [ - 'title' => '页索引', - 'description' => '页索引,取值从0开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['title' => '页索引', 'description' => '页索引,取值从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'page_size', 'in' => 'query', - 'schema' => [ - 'title' => '页大小', - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['title' => '页大小', 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], ], ], 'responses' => [ @@ -5860,37 +2800,11 @@ 'description' => 'PopBaseRes<PageData<BaseOrderDetailRes>, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', @@ -5904,73 +2818,16 @@ 'description' => '分页数据', 'type' => 'object', 'properties' => [ - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4966***617111', - ], - 'out_order_num' => [ - 'title' => '外部订单号', - 'description' => '外部订单号', - 'type' => 'string', - 'example' => 'x091-2023-0220-j-0001', - ], - 'transaction_no' => [ - 'title' => '资金交易流水号', - 'description' => '资金交易流水号', - 'type' => 'string', - 'example' => 'hkduendkd-2023-dj0', - ], - 'order_status' => [ - 'title' => '订单状态 1:生单预定处理中; 2:生单预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', - 'description' => '订单状态 1:预定处理中; 2:预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', - 'type' => 'string', - 'example' => '4', - ], - 'book_time' => [ - 'title' => '预定时间(生单时间) 使用时间戳 13位', - 'description' => '预定时间(生单时间) 使用时间戳 13位', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677210784000', - ], - 'succeed_time' => [ - 'title' => '出票时间 使用时间戳 13位', - 'description' => '出票时间 使用时间戳 13位', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677210786000', - ], - 'pay_time' => [ - 'title' => '支付时间 使用时间戳 13位', - 'description' => '支付时间 使用时间戳 13位', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677210788000', - ], - 'total_price' => [ - 'title' => '订单总价(单位:元)', - 'description' => '订单总价(单位:元)', - 'type' => 'number', - 'format' => 'double', - 'example' => '3000', - ], - 'real_pay_price' => [ - 'title' => '实付金额(单位:元)', - 'description' => '实付金额(单位:元)', - 'type' => 'number', - 'format' => 'double', - 'example' => '3000', - ], - 'promotion_price' => [ - 'title' => '优惠金额(单位:元)', - 'description' => '优惠金额(单位:元)', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4966***617111'], + 'out_order_num' => ['title' => '外部订单号', 'description' => '外部订单号', 'type' => 'string', 'example' => 'x091-2023-0220-j-0001'], + 'transaction_no' => ['title' => '资金交易流水号', 'description' => '资金交易流水号', 'type' => 'string', 'example' => 'hkduendkd-2023-dj0'], + 'order_status' => ['title' => '订单状态 1:生单预定处理中; 2:生单预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', 'description' => '订单状态 2:预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭', 'type' => 'string', 'example' => '4'], + 'book_time' => ['title' => '预定时间(生单时间) 使用时间戳 13位', 'description' => '预定时间(生单时间) 使用时间戳 13位', 'type' => 'integer', 'format' => 'int64', 'example' => '1677210784000'], + 'succeed_time' => ['title' => '出票时间 使用时间戳 13位', 'description' => '出票时间 使用时间戳 13位', 'type' => 'integer', 'format' => 'int64', 'example' => '1677210786000'], + 'pay_time' => ['title' => '支付时间 使用时间戳 13位', 'description' => '支付时间 使用时间戳 13位', 'type' => 'integer', 'format' => 'int64', 'example' => '1677210788000'], + 'total_price' => ['title' => '订单总价(单位:元)', 'description' => '订单总价(单位:元)', 'type' => 'number', 'format' => 'double', 'example' => '3000'], + 'real_pay_price' => ['title' => '实付金额(单位:元)', 'description' => '实付金额(单位:元)', 'type' => 'number', 'format' => 'double', 'example' => '3000'], + 'promotion_price' => ['title' => '优惠金额(单位:元)', 'description' => '优惠金额(单位:元)', 'type' => 'number', 'format' => 'double', 'example' => '10'], 'passenger_list' => [ 'title' => '乘机人', 'description' => '乘机人', @@ -5979,103 +2836,30 @@ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'last_name' => [ - 'title' => '姓', - 'description' => '姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'first_name' => [ - 'title' => '名', - 'description' => '名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'birthday' => [ - 'title' => '生日 yyyyMMdd', - 'description' => '生日 yyyyMMdd', - 'type' => 'string', - 'example' => '20020301', - ], - 'type' => [ - 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'mobile_phone_number' => [ - 'title' => '手机号', - 'description' => '手机号', - 'type' => 'string', - 'example' => '183******96', - ], - 'mobile_country_code' => [ - 'title' => '手机号-国家码', - 'description' => '手机号-国家码', - 'type' => 'string', - 'example' => '86', - ], - 'gender' => [ - 'title' => '性别 0:MALE; 1:FEMALE', - 'description' => '性别 0:MALE; 1:FEMALE', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'nationality' => [ - 'title' => '国籍二字码', - 'description' => '国籍二字码', - 'type' => 'string', - 'example' => 'CN', - ], + 'last_name' => ['title' => '姓', 'description' => '姓', 'type' => 'string', 'example' => 'ZHANG'], + 'first_name' => ['title' => '名', 'description' => '名', 'type' => 'string', 'example' => 'SAN'], + 'birthday' => ['title' => '生日 yyyyMMdd', 'description' => '生日 yyyyMMdd', 'type' => 'string', 'example' => '20020301'], + 'type' => ['title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'description' => '乘客类型 0:通成人; 1:儿童; 8:婴儿', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'mobile_phone_number' => ['title' => '手机号', 'description' => '手机号', 'type' => 'string', 'example' => '183******96'], + 'mobile_country_code' => ['title' => '手机号-国家码', 'description' => '手机号-国家码', 'type' => 'string', 'example' => '86'], + 'gender' => ['title' => '性别 0:MALE; 1:FEMALE', 'description' => '性别 0:MALE; 1:FEMALE', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'nationality' => ['title' => '国籍二字码', 'description' => '国籍二字码', 'type' => 'string', 'example' => 'CN'], 'credential' => [ 'title' => '证件', 'description' => '证件', 'type' => 'object', 'properties' => [ - 'cert_issue_place' => [ - 'title' => '签发地,二字码', - 'description' => '签发地,二字码', - 'type' => 'string', - 'example' => 'CN', - ], - 'credential_num' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => 'E1***5674', - ], - 'expire_date' => [ - 'title' => '证件过期时间', - 'description' => '证件过期时间', - 'type' => 'string', - 'example' => '20290101', - ], - 'credential_type' => [ - 'title' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:台湾通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:台湾居民居住证', - 'description' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:Taiwan通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:Taiwan居民居住证', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'cert_issue_place' => ['title' => '签发地,二字码', 'description' => '签发地,二字码', 'type' => 'string', 'example' => 'CN'], + 'credential_num' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => 'E1***5674'], + 'expire_date' => ['title' => '证件过期时间', 'description' => '证件过期时间', 'type' => 'string', 'example' => '20290101'], + 'credential_type' => ['title' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:台湾通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:台湾居民居住证', 'description' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:Taiwan通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:Taiwan居民居住证', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], ], ], - 'session_nick' => [ - 'title' => '买家昵称', - 'description' => '买家昵称', - 'type' => 'string', - 'example' => 'nick', - ], - 'pay_status' => [ - 'title' => '支付状态 0:支付处理中; 1:扣款成功; 2:已打款给卖家; 3:关闭交易', - 'description' => '支付状态 0:初始化; 1:创建成功; 2:支付成功; 4:关闭交易', - 'type' => 'string', - 'example' => '2', - ], + 'session_nick' => ['title' => '买家昵称', 'description' => '买家昵称', 'type' => 'string', 'example' => 'nick'], + 'pay_status' => ['title' => '支付状态 0:支付处理中; 1:扣款成功; 2:已打款给卖家; 3:关闭交易', 'description' => '支付状态 0:初始化; 1:创建成功; 2:支付成功; 4:关闭交易', 'type' => 'string', 'example' => '2'], ], ], ], @@ -6084,61 +2868,331 @@ 'description' => '分页信息', 'type' => 'object', 'properties' => [ - 'total_count' => [ - 'title' => '总数量', - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', + 'total_count' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'total_page' => ['title' => '共几页', 'description' => '共几页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'current_page' => ['title' => '当前第几页', 'description' => '当前第几页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'page_size' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + ], + ], + ], + ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"order_num\\": 0,\\n \\"out_order_num\\": \\"x091-2023-0220-j-0001\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"order_status\\": \\"4\\",\\n \\"book_time\\": 1677210784000,\\n \\"succeed_time\\": 1677210786000,\\n \\"pay_time\\": 1677210788000,\\n \\"total_price\\": 3000,\\n \\"real_pay_price\\": 3000,\\n \\"promotion_price\\": 10,\\n \\"passenger_list\\": [\\n {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n }\\n ],\\n \\"session_nick\\": \\"nick\\",\\n \\"pay_status\\": \\"2\\"\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'OrderList', + 'changeSet' => [], + ], + 'Pricing' => [ + 'summary' => '验座,验价。如果价格变动,开发者继续 Book 则是以变价后的价格下单;如果未变价,则以未变价的价格下单。', + 'path' => '/airticket/v1/trade/action-pricing', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'solution_id', + 'in' => 'formData', + 'schema' => ['title' => 'solution_id', 'description' => 'solution_id', 'type' => 'string', 'required' => true, 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ'], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopBaseRes<PricingRes, Object>', + 'description' => 'PopBaseRes<PricingRes, Object>', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => [ + 'title' => '正确处理返回数据', + 'description' => '正确处理返回数据', + 'type' => 'object', + 'properties' => [ + 'solution' => [ + 'title' => 'solution', + 'description' => 'solution', + 'type' => 'object', + 'properties' => [ + 'solution_id' => ['title' => 'solution_id', 'description' => 'solution_id', 'type' => 'string', 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ'], + 'adult_price' => ['title' => '成人单价', 'description' => '成人单价', 'type' => 'number', 'format' => 'double', 'example' => '300'], + 'adult_tax' => ['title' => '成人税', 'description' => '成人税', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'child_price' => ['title' => '儿童单价', 'description' => '儿童单价', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'child_tax' => ['title' => '儿童税', 'description' => '儿童税', 'type' => 'number', 'format' => 'double', 'example' => '20'], + 'infant_price' => ['title' => '婴儿单价', 'description' => '婴儿单价', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'infant_tax' => ['title' => '婴儿税', 'description' => '婴儿税', 'type' => 'number', 'format' => 'double', 'example' => '10'], + 'refund_ticket_coupon_description' => ['title' => '退票代金券说明', 'description' => '退票代金券说明', 'type' => 'string', 'example' => 'description'], + 'product_type_description' => ['title' => '产品类型描述', 'description' => '产品类型描述', 'type' => 'string', 'example' => 'description'], + 'journey_list' => [ + 'title' => '行程', + 'description' => '行程', + 'type' => 'array', + 'items' => [ + 'description' => 'journey', + 'type' => 'object', + 'properties' => [ + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'segment_list' => [ + 'title' => '航段信息', + 'description' => '航段信息', + 'type' => 'array', + 'items' => [ + 'description' => 'segment', + 'type' => 'object', + 'properties' => [ + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:KA5809)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:5809)', 'type' => 'integer', 'format' => 'int32', 'example' => '1295'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:KA)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'T1'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'ALL_CABIN'], + 'availability' => ['title' => '剩余座位数,大于 9 用 A 表示', 'description' => '剩余座位数', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => '""'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], + ], + ], + ], + ], + ], ], - 'total_page' => [ - 'title' => '共几页', - 'description' => '共几页', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'segment_baggage_mapping_list' => [ + 'title' => '免费行李规则', + 'description' => '免费行李规则', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'segment_id_list' => [ + 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则', + 'description' => '航段ID列表 这些航段ID使用同一个免费行李规则', + 'type' => 'array', + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'."\n"], + ], + 'passenger_baggage_allowance_mapping' => [ + 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', + 'description' => '乘客类型-免费行李额映射关系', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'baggage_amount' => ['title' => '托运行李件数', 'description' => '托运行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'baggage_weight' => ['title' => '托运行李重量', 'description' => '托运行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'baggage_weight_unit' => ['title' => '托运行李重量单位', 'description' => '托运行李重量单位KG', 'type' => 'string', 'example' => 'KG'], + 'is_all_weight' => ['title' => '是否所有托运行李重量', 'description' => '是否所有托运行李重量', 'type' => 'boolean', 'example' => 'true'], + 'carry_on_amount' => ['title' => '手提行李件数', 'description' => '手提行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'carry_on_weight' => ['title' => '手提行李重量', 'description' => '手提行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'carry_on_weight_unit' => ['title' => '手提行李重量单位', 'description' => '手提行李重量单位KG', 'type' => 'string', 'example' => 'KG'], + 'is_all_carry_on_weight' => ['title' => '是否所有手提行李重量', 'description' => '是否所有手提行李重量', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '元素', + ], + ], + ], + ], ], - 'current_page' => [ - 'title' => '当前第几页', - 'description' => '当前第几页', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'segment_refund_change_rule_mapping_list' => [ + 'title' => '退改签规则', + 'description' => '退改签规则', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'segment_id_list' => [ + 'title' => '航段ID列表 这些航段ID使用同一个退改签规则', + 'description' => '航段ID列表 这些航段ID使用同一个退改签规则', + 'type' => 'array', + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + ], + 'refund_change_rule_map' => [ + 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', + 'description' => '乘机人类型-退改签规则映射关系', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'properties' => [ + 'refund_rule_all_unused_list' => [ + 'title' => '全程未使用退票规则', + 'description' => '全程未使用退票规则', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '10'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => 'true'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '10'], + ], + 'description' => '元素', + ], + ], + 'refund_rule_part_unused_list' => [ + 'title' => '部分未使用退票规则', + 'description' => '部分未使用退票规则', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '20'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => 'false'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '30'], + ], + 'description' => '元素', + ], + ], + 'change_rule_in_unused_list' => [ + 'title' => '回程未使用改签规则', + 'description' => '回程未使用改签规则', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '10'], + ], + 'description' => '元素', + ], + ], + 'change_rule_out_unused_list' => [ + 'title' => '去程未使用改签规则', + 'description' => '去程未使用改签规则', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '10'], + ], + 'description' => '元素', + ], + ], + ], + 'description' => '元素', + ], + ], + ], + ], ], - 'page_size' => [ - 'title' => '每页数量', - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + 'segment_baggage_check_in_info_list' => [ + 'title' => '行李直挂规则', + 'description' => '行李直挂规则', + 'type' => 'array', + 'items' => [ + 'description' => '元素', + 'type' => 'object', + 'properties' => [ + 'segment_id_list' => [ + 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则', + 'description' => '航段ID列表 这些航段ID使用同一个行李直挂规则', + 'type' => 'array', + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'."\n"], + ], + 'luggage_direct_info_type' => ['title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', 'description' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], ], ], ], + 'is_changed' => ['title' => '是否变价', 'description' => '是否变价', 'type' => 'boolean', 'example' => 'true'], + 'original_price_info' => [ + 'title' => '变价之前价格信息 isChanged = true 时,才有值', + 'description' => '变价之前价格信息 isChanged = true 时,才有值', + 'type' => 'object', + 'properties' => [ + 'adult_tax' => ['title' => '成人税', 'description' => '成人税', 'type' => 'number', 'format' => 'double', 'example' => '20'], + 'child_tax' => ['title' => '儿童税', 'description' => '儿童税', 'type' => 'number', 'format' => 'double', 'example' => '20'], + 'infant_tax' => ['title' => '婴儿税', 'description' => '婴儿税', 'type' => 'number', 'format' => 'double', 'example' => '20'], + 'adult_price' => ['title' => '成人单价', 'description' => '成人单价', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'child_price' => ['title' => '儿童单价', 'description' => '儿童单价', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'infant_price' => ['title' => '婴儿单价', 'description' => '婴儿单价', 'type' => 'number', 'format' => 'double', 'example' => '200'], + ], + ], + 'changed_price_info' => [ + 'title' => '变价之后价格信息 isChanged = true 时,才有值', + 'description' => '变价之后价格信息', + 'type' => 'object', + 'properties' => [ + 'adult_tax' => ['title' => '成人税', 'description' => '成人税', 'type' => 'number', 'format' => 'double', 'example' => '10'], + 'child_tax' => ['title' => '儿童税', 'description' => '儿童税', 'type' => 'number', 'format' => 'double', 'example' => '10'], + 'infant_tax' => ['title' => '婴儿税', 'description' => '婴儿税', 'type' => 'number', 'format' => 'double', 'example' => '10'], + 'adult_price' => ['title' => '成人单价', 'description' => '成人单价', 'type' => 'number', 'format' => 'double', 'example' => '100'], + 'child_price' => ['title' => '儿童单价', 'description' => '儿童单价', 'type' => 'number', 'format' => 'double', 'example' => '100'], + 'infant_price' => ['title' => '婴儿单价', 'description' => '婴儿单价', 'type' => 'number', 'format' => 'double', 'example' => '100'], + ], + ], + 'remain_seats' => ['title' => '剩余座位数,A 表示大于9,0-9 代表具体数字', 'description' => '剩余座位数,A 表示大于9,0-9 代表具体数字', 'type' => 'string', 'example' => 'A'], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"order_num\\": 0,\\n \\"out_order_num\\": \\"x091-2023-0220-j-0001\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"order_status\\": \\"4\\",\\n \\"book_time\\": 1677210784000,\\n \\"succeed_time\\": 1677210786000,\\n \\"pay_time\\": 1677210788000,\\n \\"total_price\\": 3000,\\n \\"real_pay_price\\": 3000,\\n \\"promotion_price\\": 10,\\n \\"passenger_list\\": [\\n {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n }\\n ],\\n \\"session_nick\\": \\"nick\\",\\n \\"pay_status\\": \\"2\\"\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'OrderList', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"solution\\": {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"adult_price\\": 300,\\n \\"adult_tax\\": 30,\\n \\"child_price\\": 200,\\n \\"child_tax\\": 20,\\n \\"infant_price\\": 200,\\n \\"infant_tax\\": 10,\\n \\"refund_ticket_coupon_description\\": \\"description\\",\\n \\"product_type_description\\": \\"description\\",\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"ALL_CABIN\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"\\\\\\"\\\\\\"\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 10,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 10,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 1,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 10,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 10\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 20,\\n \\"can_return_all_tax\\": false,\\n \\"return_part_tax_fee\\": 30\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 10\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 3,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 10\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ]\\n },\\n \\"is_changed\\": true,\\n \\"original_price_info\\": {\\n \\"adult_tax\\": 20,\\n \\"child_tax\\": 20,\\n \\"infant_tax\\": 20,\\n \\"adult_price\\": 200,\\n \\"child_price\\": 200,\\n \\"infant_price\\": 200\\n },\\n \\"changed_price_info\\": {\\n \\"adult_tax\\": 10,\\n \\"child_tax\\": 10,\\n \\"infant_tax\\": 10,\\n \\"adult_price\\": 100,\\n \\"child_price\\": 100,\\n \\"infant_price\\": 100\\n },\\n \\"remain_seats\\": \\"A\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'Pricing', + 'changeSet' => [ + ['createdAt' => '2025-10-24T06:03:24.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-24T05:51:47.000Z', 'description' => 'OpenAPI 下线'], + ], ], 'RefundApply' => [ 'summary' => '退票申请。', 'path' => '/airticket/v1/refund/action-apply', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'methods' => ['post'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'accessTokenAuth' => [], @@ -6150,14 +3204,7 @@ [ 'name' => 'order_num', 'in' => 'formData', - 'schema' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4966***617111', - ], + 'schema' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4966***617111'], ], [ 'name' => 'refund_type', @@ -6168,35 +3215,17 @@ 'description' => '退票类型 非自愿退票申请,要上传附件', 'type' => 'object', 'properties' => [ - 'refund_type_id' => [ - 'title' => '申请退票类型 0:自愿申请; 1:非自愿申请(不可抗力); 2:我要改变行程计划、我不想飞', - 'description' => '申请退票类型 2:自愿申请(我要改变行程计划/我不想飞) 5:非自愿,航班延误或取消、航班时刻变更等航司原因 6:非自愿,身体原因且有二级甲等医院<含>以上的医院证明 '."\n" - .'(说明:不强制要求提供附件,但是非自愿最好都能够提供附件, 能够提高提退成功率)', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2', - ], + 'refund_type_id' => ['title' => '申请退票类型 0:自愿申请; 1:非自愿申请(不可抗力); 2:我要改变行程计划、我不想飞', 'description' => '申请退票类型 2:自愿申请(我要改变行程计划/我不想飞) 5:非自愿,航班延误或取消、航班时刻变更等航司原因 6:非自愿,身体原因且有二级甲等医院<含>以上的医院证明 '."\n" + .'(说明:不强制要求提供附件,但是非自愿最好都能够提供附件, 能够提高提退成功率)', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2'], 'file' => [ 'title' => '附件文件地址数组 先要用单独的文件上传接口上传文件得到文件地址', 'description' => '附件文件地址数组 先要用单独的文件上传接口上传文件得到文件地址', 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'string', - 'required' => false, - 'example' => '["xxx","zzz"]', - ], + 'items' => ['description' => '元素', 'type' => 'string', 'required' => false, 'example' => '["xxx","zzz"]'], 'required' => false, 'example' => '[xxx,yyy]', ], - 'remark' => [ - 'title' => '备注', - 'description' => '备注', - 'type' => 'string', - 'required' => false, - 'example' => 'remark desc', - ], + 'remark' => ['title' => '备注', 'description' => '备注', 'type' => 'string', 'required' => false, 'example' => 'remark desc'], ], 'required' => true, ], @@ -6213,27 +3242,9 @@ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'first_name' => [ - 'title' => '乘机人名', - 'description' => '乘机人名', - 'type' => 'string', - 'required' => true, - 'example' => 'SAN', - ], - 'last_name' => [ - 'title' => '乘机人姓', - 'description' => '乘机人姓', - 'type' => 'string', - 'required' => true, - 'example' => 'ZHANG', - ], - 'document' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'required' => false, - 'example' => '411***********4411', - ], + 'first_name' => ['title' => '乘机人名', 'description' => '乘机人名', 'type' => 'string', 'required' => true, 'example' => 'SAN'], + 'last_name' => ['title' => '乘机人姓', 'description' => '乘机人姓', 'type' => 'string', 'required' => true, 'example' => 'ZHANG'], + 'document' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'required' => false, 'example' => '411***********4411'], ], 'required' => false, ], @@ -6260,34 +3271,10 @@ 'description' => 'segment', 'type' => 'object', 'properties' => [ - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'required' => true, - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'required' => true, - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'required' => true, - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'required' => true, - 'example' => 'MFM', - ], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'required' => true, 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'required' => true, 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'required' => true, 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'required' => true, 'example' => 'MFM'], ], 'required' => false, ], @@ -6302,24 +3289,12 @@ [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], ], ], 'responses' => [ @@ -6329,49 +3304,17 @@ 'description' => 'PopBaseRes<ApplyRefundRes, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', 'type' => 'object', 'properties' => [ - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4966***617111', - ], + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4966***617111'], 'refund_results' => [ 'title' => '退票单申请结果列表', 'description' => '退票单申请结果列表', @@ -6380,26 +3323,9 @@ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'refund_order_num' => [ - 'title' => '退票单号', - 'description' => '退票单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4966***617202', - ], - 'status' => [ - 'title' => '退票单状态 0:退票单创建成功; 1:退票单创建失败', - 'description' => '退票单状态 0:退票单创建成功; 1:退票单创建失败', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'fail_reason' => [ - 'title' => '退票申请失败原因', - 'description' => '退票申请失败原因', - 'type' => 'string', - 'example' => 'desc reason', - ], + 'refund_order_num' => ['title' => '退票单号', 'description' => '退票单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4966***617202'], + 'status' => ['title' => '退票单状态 0:退票单创建成功; 1:退票单创建失败', 'description' => '退票单状态 0:退票单创建成功; 1:退票单创建失败', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'fail_reason' => ['title' => '退票申请失败原因', 'description' => '退票申请失败原因', 'type' => 'string', 'example' => 'desc reason'], 'refund_passengers' => [ 'title' => '该退票单下包含的退票乘机人列表', 'description' => '该退票单下包含的退票乘机人列表', @@ -6408,24 +3334,9 @@ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'first_name' => [ - 'title' => '乘机人名', - 'description' => '乘机人名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'last_name' => [ - 'title' => '乘机人姓', - 'description' => '乘机人姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'document' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => '411***********4411', - ], + 'first_name' => ['title' => '乘机人名', 'description' => '乘机人名', 'type' => 'string', 'example' => 'SAN'], + 'last_name' => ['title' => '乘机人姓', 'description' => '乘机人姓', 'type' => 'string', 'example' => 'ZHANG'], + 'document' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => '411***********4411'], ], ], ], @@ -6434,280 +3345,20 @@ ], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0,\\n \\"refund_results\\": [\\n {\\n \\"refund_order_num\\": 0,\\n \\"status\\": 0,\\n \\"fail_reason\\": \\"desc reason\\",\\n \\"refund_passengers\\": [\\n {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', 'title' => 'RefundApply', - ], - 'RefundDetailList' => [ - 'summary' => '退票单详情列表。', - 'path' => '/airticket/v1/refund/detail-list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'order_num', - 'in' => 'query', - 'schema' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '49884*****950', - ], - ], - [ - 'name' => 'refund_create_begin_time', - 'in' => 'query', - 'schema' => [ - 'title' => '退票单创建开始时间,UTC时间戳', - 'description' => '退票单创建开始时间,UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1677229002000', - ], - ], - [ - 'name' => 'refund_create_end_time', - 'in' => 'query', - 'schema' => [ - 'title' => '退票单创建结束时间,UTC时间戳', - 'description' => '退票单创建结束时间,UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1677229005000', - ], - ], - [ - 'name' => 'page_index', - 'in' => 'query', - 'schema' => [ - 'title' => '页索引', - 'description' => '页索引', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'page_size', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小', - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PopBaseRes<PageData<RefundOrder>, Object>', - 'description' => 'PopBaseRes<PageData<RefundOrder>, Object>', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'object', - 'properties' => [ - 'list' => [ - 'title' => '数据列表', - 'description' => '数据列表', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'refund_order_num' => [ - 'title' => '退票单号', - 'description' => '退票单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '49884*****950', - ], - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '49884*****2345', - ], - 'refund_order_status' => [ - 'title' => '退票单状态 0:申请退票; 1:退票受理中; 2:退票失败; 3:退票成功', - 'description' => '退票单状态 0:申请退票; 1:退票受理中; 2:退票失败; 3:退票成功', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'transaction_no' => [ - 'title' => '交易流水号', - 'description' => '交易流水号', - 'type' => 'string', - 'example' => '49884**tde-95za', - ], - 'utc_create_time' => [ - 'title' => '创建时间 UTC时间戳', - 'description' => '创建时间 UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677229002000', - ], - 'is_multi_refund' => [ - 'title' => '是否是补退单', - 'description' => '是否是补退单', - 'type' => 'boolean', - 'example' => 'true', - ], - 'related_refund_order_num' => [ - 'title' => '该补退单号关联的原单退票单号 补退单才会有,表示关联原单的退票单ID', - 'description' => '该补退单号关联的原单退票单号 补退单才会有,表示关联原单的退票单ID', - 'type' => 'string', - 'example' => '49884*****2387', - ], - ], - ], - ], - 'pagination' => [ - 'title' => '分页信息', - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'total_count' => [ - 'title' => '总数量', - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'total_page' => [ - 'title' => '共几页', - 'description' => '共几页', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'current_page' => [ - 'title' => '当前第几页', - 'description' => '当前第几页', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'page_size' => [ - 'title' => '每页数量', - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - ], - ], - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"refund_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"refund_order_status\\": 1,\\n \\"transaction_no\\": \\"49884**tde-95za\\",\\n \\"utc_create_time\\": 1677229002000,\\n \\"is_multi_refund\\": true,\\n \\"related_refund_order_num\\": \\"49884*****2387\\"\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'RefundDetailList', + 'changeSet' => [], ], 'RefundDetail' => [ 'summary' => '退票单详情。', 'path' => '/airticket/v1/refund/detail', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'accessTokenAuth' => [], @@ -6719,36 +3370,17 @@ [ 'name' => 'refund_order_num', 'in' => 'query', - 'schema' => [ - 'title' => '退票单号', - 'description' => '退票单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4966***617732', - ], + 'schema' => ['title' => '退票单号', 'description' => '退票单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '4966***617732'], ], [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], ], ], 'responses' => [ @@ -6758,113 +3390,32 @@ 'description' => 'PopBaseRes<RefundOrderDetail, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', 'type' => 'object', 'properties' => [ - 'refund_order_num' => [ - 'title' => '退票单号', - 'description' => '退票单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4966***617654', - ], - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4966***617111', - ], - 'status' => [ - 'title' => '退票单状态 0:申请退票; 1:退票受理中; 2:退票失败; 3:退票成功', - 'description' => '退票单状态 0:申请退票; 1:退票受理中; 2:退票失败; 3:退票成功', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'refund_type' => [ - 'title' => '申请退票类型 2:自愿申请; 5:航班延误或取消、航班时刻变更等航司原因; 6:身体原因且有二级甲等医院<含>以上的医院证明; 7:非自愿确定性应急引导; 100:非自愿非确定性应急', - 'description' => '申请退票类型 2:自愿申请; 5:航班延误或取消、航班时刻变更等航司原因; 6:身体原因且有二级甲等医院<含>以上的医院证明; 7:非自愿确定性应急引导; 100:非自愿非确定性应急', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'refund_reason' => [ - 'title' => '提退原因', - 'description' => '提退原因', - 'type' => 'string', - 'example' => 'desc reason', - ], - 'refuse_reason' => [ - 'title' => '提退拒绝原因', - 'description' => '提退拒绝原因', - 'type' => 'string', - 'example' => 'refuse reason', - ], + 'refund_order_num' => ['title' => '退票单号', 'description' => '退票单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4966***617654'], + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '4966***617111'], + 'status' => ['title' => '退票单状态 0:申请退票; 1:退票受理中; 2:退票失败; 3:退票成功', 'description' => '退票单状态 0:申请退票; 1:退票受理中; 2:退票失败; 3:退票成功', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'refund_type' => ['title' => '申请退票类型 2:自愿申请; 5:航班延误或取消、航班时刻变更等航司原因; 6:身体原因且有二级甲等医院<含>以上的医院证明; 7:非自愿确定性应急引导; 100:非自愿非确定性应急', 'description' => '申请退票类型 2:自愿申请; 5:航班延误或取消、航班时刻变更等航司原因; 6:身体原因且有二级甲等医院<含>以上的医院证明; 7:非自愿确定性应急引导; 100:非自愿非确定性应急', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'refund_reason' => ['title' => '提退原因', 'description' => '提退原因', 'type' => 'string', 'example' => 'desc reason'], + 'refuse_reason' => ['title' => '提退拒绝原因', 'description' => '提退拒绝原因', 'type' => 'string', 'example' => 'refuse reason'], 'refund_attachment_urls' => [ 'title' => '病退附件url列表', 'description' => '病退附件url列表', 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'string', - 'example' => '["xxx","zzz"]', - ], + 'items' => ['description' => '元素', 'type' => 'string', 'example' => '["xxx","zzz"]'], 'example' => '[zzz,yyy]', ], - 'utc_create_time' => [ - 'title' => '退票单创建时间, UTC时间戳', - 'description' => '退票单创建时间, UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677229002000', - ], - 'pay_success_utc_time' => [ - 'title' => '实际退款时间 UTC时间戳', - 'description' => '实际退款时间 UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677229005000', - ], - 'transaction_no' => [ - 'title' => '交易流水号', - 'description' => '交易流水号', - 'type' => 'string', - 'example' => '1677229005000', - ], + 'utc_create_time' => ['title' => '退票单创建时间, UTC时间戳', 'description' => '退票单创建时间, UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677229002000'], + 'pay_success_utc_time' => ['title' => '实际退款时间 UTC时间戳', 'description' => '实际退款时间 UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677229005000'], + 'transaction_no' => ['title' => '交易流水号', 'description' => '交易流水号', 'type' => 'string', 'example' => '1677229005000'], 'passenger_refund_details' => [ 'title' => '乘机人提退详情列表,乘机人纬度的提退信息', 'description' => '乘机人提退详情列表,乘机人纬度的提退信息', @@ -6878,24 +3429,9 @@ 'description' => '提退的乘机人信息', 'type' => 'object', 'properties' => [ - 'first_name' => [ - 'title' => '乘机人名', - 'description' => '乘机人名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'last_name' => [ - 'title' => '乘机人姓', - 'description' => '乘机人姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'document' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => '411***********4411', - ], + 'first_name' => ['title' => '乘机人名', 'description' => '乘机人名', 'type' => 'string', 'example' => 'SAN'], + 'last_name' => ['title' => '乘机人姓', 'description' => '乘机人姓', 'type' => 'string', 'example' => 'ZHANG'], + 'document' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => '411***********4411'], ], ], 'refund_fee' => [ @@ -6903,66 +3439,19 @@ 'description' => '退票费明细', 'type' => 'object', 'properties' => [ - 'non_refundable_ticket_fee' => [ - 'title' => '票不可退金额,即退票手续费', - 'description' => '票不可退金额,即退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'non_refundable_tax_fee' => [ - 'title' => '税不可退金额,即退税手续费', - 'description' => '税不可退金额,即退税手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'already_used_total_fee' => [ - 'title' => '已使用的机票总价格', - 'description' => '已使用的机票总价格', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'non_refundable_change_service_fee' => [ - 'title' => '不可退改签手续费', - 'description' => '不可退改签手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'non_refundable_change_upgrade_fee' => [ - 'title' => '不可退升舱手续费', - 'description' => '不可退升舱手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'refund_to_buyer_money' => [ - 'title' => '原票可退给用户的金额(票价 + 税费 - 退票手续费 - 退税手续费 - 已使用的机票总价格 - 营销)', - 'description' => '原票可退给用户的金额(票价 + 税费 - 退票手续费 - 退税手续费 - 已使用的机票总价格)', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'modify_refund_to_buyer_money' => [ - 'title' => '改签退给用户的金额', - 'description' => '改签退给用户的金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], + 'non_refundable_ticket_fee' => ['title' => '票不可退金额,即退票手续费', 'description' => '票不可退金额,即退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'non_refundable_tax_fee' => ['title' => '税不可退金额,即退税手续费', 'description' => '税不可退金额,即退税手续费', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'already_used_total_fee' => ['title' => '已使用的机票总价格', 'description' => '已使用的机票总价格', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'non_refundable_change_service_fee' => ['title' => '不可退改签手续费', 'description' => '不可退改签手续费', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'non_refundable_change_upgrade_fee' => ['title' => '不可退升舱手续费', 'description' => '不可退升舱手续费', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'refund_to_buyer_money' => ['title' => '原票可退给用户的金额(票价 + 税费 - 退票手续费 - 退税手续费 - 已使用的机票总价格 - 营销)', 'description' => '原票可退给用户的金额(票价 + 税费 - 退票手续费 - 退税手续费 - 已使用的机票总价格)', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'modify_refund_to_buyer_money' => ['title' => '改签退给用户的金额', 'description' => '改签退给用户的金额', 'type' => 'number', 'format' => 'double', 'example' => '30'], ], ], ], ], ], - 'contain_multi_refund' => [ - 'title' => '是否含有补退', - 'description' => '是否含有补退', - 'type' => 'boolean', - 'example' => 'false', - ], + 'contain_multi_refund' => ['title' => '是否含有补退', 'description' => '是否含有补退', 'type' => 'boolean', 'example' => 'false'], 'multi_refund_details' => [ 'title' => '首次退关联的补退详情列表', 'description' => '首次退关联的补退详情列表', @@ -6971,19 +3460,8 @@ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'multi_refund_order_num' => [ - 'title' => '补退单退票单号', - 'description' => '补退单退票单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '498843***6950', - ], - 'multi_refund_transaction_no' => [ - 'title' => '补退单流水号', - 'description' => '补退单流水号', - 'type' => 'string', - 'example' => '498843***6950', - ], + 'multi_refund_order_num' => ['title' => '补退单退票单号', 'description' => '补退单退票单号', 'type' => 'integer', 'format' => 'int64', 'example' => '498843***6950'], + 'multi_refund_transaction_no' => ['title' => '补退单流水号', 'description' => '补退单流水号', 'type' => 'string', 'example' => '498843***6950'], 'passenger_multi_refund_details' => [ 'title' => '乘机人纬度的补退详情', 'description' => '乘机人纬度的补退详情', @@ -6997,40 +3475,13 @@ 'description' => '提退的乘机人', 'type' => 'object', 'properties' => [ - 'first_name' => [ - 'title' => '乘机人名', - 'description' => '乘机人名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'last_name' => [ - 'title' => '乘机人姓', - 'description' => '乘机人姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'document' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => '411***********4411', - ], + 'first_name' => ['title' => '乘机人名', 'description' => '乘机人名', 'type' => 'string', 'example' => 'SAN'], + 'last_name' => ['title' => '乘机人姓', 'description' => '乘机人姓', 'type' => 'string', 'example' => 'ZHANG'], + 'document' => ['title' => '证件号', 'description' => '证件号', 'type' => 'string', 'example' => '411***********4411'], ], ], - 'original_order_refund_fee' => [ - 'title' => '原单补退的金额', - 'description' => '原单补退的金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'change_order_refund_fee' => [ - 'title' => '改签单补退的金额', - 'description' => '改签单补退的金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], + 'original_order_refund_fee' => ['title' => '原单补退的金额', 'description' => '原单补退的金额', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'change_order_refund_fee' => ['title' => '改签单补退的金额', 'description' => '改签单补退的金额', 'type' => 'number', 'format' => 'double', 'example' => '30'], ], ], ], @@ -7045,13 +3496,7 @@ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'segment_list' => [ 'title' => '航段信息', 'description' => '航段信息', @@ -7060,141 +3505,28 @@ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310'."\n", - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:HO1295)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:1295)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1295', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:HO)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'T1', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'Y', - ], - 'availability' => [ - 'title' => '剩余座位数', - 'description' => '剩余座位数', - 'type' => 'string', - 'example' => '7', - ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => 'SEL,HKG', - ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', - ], + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'."\n"], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:HO1295)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:1295)', 'type' => 'integer', 'format' => 'int32', 'example' => '1295'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:HO)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'T1'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'Y'], + 'availability' => ['title' => '剩余座位数', 'description' => '剩余座位数', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => 'SEL,HKG'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], ], ], ], @@ -7203,157 +3535,20 @@ ], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"refund_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"status\\": 1,\\n \\"refund_type\\": 5,\\n \\"refund_reason\\": \\"desc reason\\",\\n \\"refuse_reason\\": \\"refuse reason\\",\\n \\"refund_attachment_urls\\": [\\n \\"[\\\\\\"xxx\\\\\\",\\\\\\"zzz\\\\\\"]\\"\\n ],\\n \\"utc_create_time\\": 1677229002000,\\n \\"pay_success_utc_time\\": 1677229005000,\\n \\"transaction_no\\": \\"1677229005000\\",\\n \\"passenger_refund_details\\": [\\n {\\n \\"passenger\\": {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n },\\n \\"refund_fee\\": {\\n \\"non_refundable_ticket_fee\\": 30,\\n \\"non_refundable_tax_fee\\": 30,\\n \\"already_used_total_fee\\": 30,\\n \\"non_refundable_change_service_fee\\": 30,\\n \\"non_refundable_change_upgrade_fee\\": 30,\\n \\"refund_to_buyer_money\\": 30,\\n \\"modify_refund_to_buyer_money\\": 30\\n }\\n }\\n ],\\n \\"contain_multi_refund\\": false,\\n \\"multi_refund_details\\": [\\n {\\n \\"multi_refund_order_num\\": 0,\\n \\"multi_refund_transaction_no\\": \\"498843***6950\\",\\n \\"passenger_multi_refund_details\\": [\\n {\\n \\"passenger\\": {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n },\\n \\"original_order_refund_fee\\": 30,\\n \\"change_order_refund_fee\\": 30\\n }\\n ]\\n }\\n ],\\n \\"refund_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\\\n\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', 'title' => 'RefundDetail', + 'changeSet' => [], ], - 'ChangeConfirm' => [ - 'summary' => '确认改签。', - 'path' => '/airticket/v1/change/action-confirm', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'change_order_num', - 'in' => 'formData', - 'schema' => [ - 'title' => '改签单号', - 'description' => '改签单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4988430***950', - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PopBaseRes<ConfirmChangeRes, Object>', - 'description' => 'PopBaseRes<ConfirmChangeRes, Object>', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'object', - 'properties' => [ - 'pay_amount' => [ - 'title' => '改签支付金额', - 'description' => '改签支付金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'transaction_no' => [ - 'title' => '改签支付流水号', - 'description' => '改签支付流水号', - 'type' => 'string', - 'example' => 'hkduendkd-2023-dj0', - ], - 'pay_time' => [ - 'title' => '改签支付时间,13位时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1756797933000', - ], - ], - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"pay_amount\\": 30,\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'ChangeConfirm', - ], - 'ChangeCancel' => [ - 'summary' => '取消改签。', - 'path' => '/airticket/v1/change/action-cancel', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], + 'RefundDetailList' => [ + 'summary' => '退票单详情列表。', + 'path' => '/airticket/v1/refund/detail-list', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'accessTokenAuth' => [], @@ -7363,222 +3558,53 @@ 'systemTags' => [], 'parameters' => [ [ - 'name' => 'change_order_num', - 'in' => 'formData', - 'schema' => [ - 'title' => '改签单号', - 'description' => '改签单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4988430***950', - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PopBaseRes', - 'description' => 'PopBaseRes', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'any', - 'example' => 'null', - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": \\"null\\",\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'ChangeCancel', - ], - 'ChangeDetailListOfBuyer' => [ - 'summary' => '根据买家账号分页查询改签单简要信息列表。', - 'path' => '/airticket/v1/change/buyer/detail-list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], + 'name' => 'order_num', + 'in' => 'query', + 'schema' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '49884*****950'], ], - ], - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ [ - 'name' => 'utc_create_begin', + 'name' => 'refund_create_begin_time', 'in' => 'query', - 'schema' => [ - 'title' => '改签单创建开始时间 UTC时间戳13位', - 'description' => '改签单创建开始时间 UTC时间戳13位', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1677415276000', - ], + 'schema' => ['title' => '退票单创建开始时间,UTC时间戳', 'description' => '退票单创建开始时间,UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1677229002000'], ], [ - 'name' => 'utc_create_end', + 'name' => 'refund_create_end_time', 'in' => 'query', - 'schema' => [ - 'title' => '改签单创建结束时间 UTC时间戳13位', - 'description' => '改签单创建结束时间 UTC时间戳13位', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1677415279000', - ], + 'schema' => ['title' => '退票单创建结束时间,UTC时间戳', 'description' => '退票单创建结束时间,UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1677229005000'], ], [ 'name' => 'page_index', 'in' => 'query', - 'schema' => [ - 'title' => '页索引', - 'description' => '页索引', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '页索引', 'description' => '页索引', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'page_size', 'in' => 'query', - 'schema' => [ - 'title' => '页大小', - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '页大小', 'description' => '页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PopBaseRes<PageData<ChangeOrderSearchResult>, Object>', - 'description' => 'PopBaseRes<PageData<ChangeOrderSearchResult>, Object>', + 'title' => 'PopBaseRes<PageData<RefundOrder>, Object>', + 'description' => 'PopBaseRes<PageData<RefundOrder>, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', @@ -7592,47 +3618,13 @@ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'change_order_num' => [ - 'title' => '改签单号', - 'description' => '改签单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4988430***950', - ], - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4988430***971', - ], - 'order_status' => [ - 'title' => '申请单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', - 'description' => '申请单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'pay_status' => [ - 'title' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', - 'description' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'transaction_no' => [ - 'title' => '交易流水号', - 'description' => '交易流水号', - 'type' => 'string', - 'example' => 'hkduendkd-2023-dj0', - ], - 'utc_create_time' => [ - 'title' => '订单创建时间 UTC时间戳', - 'description' => '订单创建时间 UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677415274000', - ], + 'refund_order_num' => ['title' => '退票单号', 'description' => '退票单号', 'type' => 'integer', 'format' => 'int64', 'example' => '49884*****950'], + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '49884*****2345'], + 'refund_order_status' => ['title' => '退票单状态 0:申请退票; 1:退票受理中; 2:退票失败; 3:退票成功', 'description' => '退票单状态 0:申请退票; 1:退票受理中; 2:退票失败; 3:退票成功', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'transaction_no' => ['title' => '交易流水号', 'description' => '交易流水号', 'type' => 'string', 'example' => '49884**tde-95za'], + 'utc_create_time' => ['title' => '创建时间 UTC时间戳', 'description' => '创建时间 UTC时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1677229002000'], + 'is_multi_refund' => ['title' => '是否是补退单', 'description' => '是否是补退单', 'type' => 'boolean', 'example' => 'true'], + 'related_refund_order_num' => ['title' => '该补退单号关联的原单退票单号 补退单才会有,表示关联原单的退票单ID', 'description' => '该补退单号关联的原单退票单号 补退单才会有,表示关联原单的退票单ID', 'type' => 'string', 'example' => '49884*****2387'], ], ], ], @@ -7641,1062 +3633,72 @@ 'description' => '分页信息', 'type' => 'object', 'properties' => [ - 'total_count' => [ - 'title' => '总数量', - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'total_page' => [ - 'title' => '共几页', - 'description' => '共几页', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'current_page' => [ - 'title' => '当前第几页', - 'description' => '当前第几页', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'page_size' => [ - 'title' => '每页数量', - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'total_count' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'total_page' => ['title' => '共几页', 'description' => '共几页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'current_page' => ['title' => '当前第几页', 'description' => '当前第几页', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'page_size' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], ], ], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"change_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"order_status\\": 2,\\n \\"pay_status\\": 2,\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"utc_create_time\\": 1677415274000\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'ChangeDetailListOfBuyer', - ], - 'ChangeDetail' => [ - 'summary' => '改签详情。', - 'path' => '/airticket/v1/change/detail', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'change_order_num', - 'in' => 'query', - 'schema' => [ - 'title' => '改签单号', - 'description' => '改签单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4988430***950', - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PopBaseRes<ChangeOrderDetail, Object>', - 'description' => 'PopBaseRes<ChangeOrderDetail, Object>', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'object', - 'properties' => [ - 'change_order_num' => [ - 'title' => '改签单号', - 'description' => '改签单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4988430***950', - ], - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5988430***541', - ], - 'change_passengers' => [ - 'title' => '改签的乘机人列表', - 'description' => '改签的乘机人列表', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'first_name' => [ - 'title' => '乘机人名', - 'description' => '乘机人名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'last_name' => [ - 'title' => '乘机人姓', - 'description' => '乘机人姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'document' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => '411***********4411', - ], - ], - ], - ], - 'total_amount' => [ - 'title' => '改签单支付总金额', - 'description' => '改签单支付总金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '300', - ], - 'order_status' => [ - 'title' => '改签单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', - 'description' => '改签单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'close_reason' => [ - 'title' => '改签关单原因', - 'description' => '改签关单原因', - 'type' => 'string', - 'example' => 'reason desc', - ], - 'transaction_no' => [ - 'title' => '交易流水号', - 'description' => '交易流水号', - 'type' => 'string', - 'example' => 'hkduendkd-2023-dj0', - ], - 'change_reason_type' => [ - 'title' => '改签原因类型 0:自愿改期; 1:航班变动/航班取消; 2:因疫情改签', - 'description' => '改签原因类型 0:自愿改期; 1:航班变动/航班取消; 2:因疫情改签', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'create_utc_time' => [ - 'title' => '改签单创建时间,UTC时间戳', - 'description' => '改签单创建时间,UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677415276000', - ], - 'last_confirm_utc_time' => [ - 'title' => '买家最迟支付时间,UTC时间戳', - 'description' => '买家最迟支付时间,UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677415278000', - ], - 'pay_status' => [ - 'title' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', - 'description' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'pay_success_utc_time' => [ - 'title' => '买家支付成功时间,UTC时间戳', - 'description' => '买家支付成功时间,UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677415255000', - ], - 'close_utc_time' => [ - 'title' => '订单关闭时间,UTC时间戳', - 'description' => '订单关闭时间,UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677415244000', - ], - 'contact' => [ - 'title' => '改签联系人信息', - 'description' => '改签联系人信息', - 'type' => 'object', - 'properties' => [ - 'mobile_country_code' => [ - 'title' => '国家区位码', - 'description' => '国家区位码', - 'type' => 'string', - 'example' => '86', - ], - 'mobile_phone_num' => [ - 'title' => '联系人用户手机号', - 'description' => '联系人用户手机号', - 'type' => 'string', - 'example' => '183*****92', - ], - 'email' => [ - 'title' => '邮件地址', - 'description' => '邮件地址', - 'type' => 'string', - 'example' => 'gao******@gmail.com', - ], - ], - ], - 'original_journeys' => [ - 'title' => '原始的行程', - 'description' => '原始的行程', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'segment_list' => [ - 'title' => '航段信息', - 'description' => '航段信息', - 'type' => 'array', - 'items' => [ - 'description' => 'segment', - 'type' => 'object', - 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:HO1295)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:1295)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1295', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:HO)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'T1', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'Y', - ], - 'availability' => [ - 'title' => '剩余座位数', - 'description' => '剩余座位数', - 'type' => 'string', - 'example' => '7', - ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => 'SEL,HKG', - ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', - ], - ], - ], - ], - ], - ], - ], - 'changed_journeys' => [ - 'title' => '改签后的行程', - 'description' => '改签后的行程', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'segment_list' => [ - 'title' => '航段信息', - 'description' => '航段信息', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:HO1295)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:1295)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1295', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:HO)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'T1', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'Y', - ], - 'availability' => [ - 'title' => '剩余座位数', - 'description' => '剩余座位数', - 'type' => 'string', - 'example' => '7', - ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => 'SEL,HKG', - ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', - ], - ], - ], - ], - ], - ], - ], - 'last_journeys' => [ - 'title' => '上一次改签的行程', - 'description' => '上一次改签的行程', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'segment_list' => [ - 'title' => '航段信息', - 'description' => '航段信息', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:HO1295)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:1295)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1295', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:HO)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'T1', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'Y', - ], - 'availability' => [ - 'title' => '剩余座位数', - 'description' => '剩余座位数', - 'type' => 'string', - 'example' => '7', - ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => 'SEL,HKG', - ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', - ], - ], - ], - ], - ], - ], - ], - 'change_fee_details' => [ - 'title' => '改签费用明细 乘机人纬度', - 'description' => '改签费用明细 乘机人纬度', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'passenger' => [ - 'title' => '改签的乘机人信息', - 'description' => '改签的乘机人信息', - 'type' => 'object', - 'properties' => [ - 'first_name' => [ - 'title' => '乘机人名', - 'description' => '乘机人名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'last_name' => [ - 'title' => '乘机人姓', - 'description' => '乘机人姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'document' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => '411***********4411', - ], - ], - ], - 'change_fee' => [ - 'title' => '乘机人的改签费明细', - 'description' => '乘机人的改签费明细', - 'type' => 'object', - 'properties' => [ - 'upgrade_fee' => [ - 'title' => '升舱费', - 'description' => '升舱费', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'service_fee' => [ - 'title' => '服务费(手续费)', - 'description' => '服务费(手续费)', - 'type' => 'number', - 'format' => 'double', - 'example' => '50', - ], - 'tax_fee' => [ - 'title' => '改签税费', - 'description' => '改签税费', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - ], - ], - ], - ], - ], - ], - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"change_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"change_passengers\\": [\\n {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n }\\n ],\\n \\"total_amount\\": 300,\\n \\"order_status\\": 2,\\n \\"close_reason\\": \\"reason desc\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"change_reason_type\\": 1,\\n \\"create_utc_time\\": 1677415276000,\\n \\"last_confirm_utc_time\\": 1677415278000,\\n \\"pay_status\\": 2,\\n \\"pay_success_utc_time\\": 1677415255000,\\n \\"close_utc_time\\": 1677415244000,\\n \\"contact\\": {\\n \\"mobile_country_code\\": \\"86\\",\\n \\"mobile_phone_num\\": \\"183*****92\\",\\n \\"email\\": \\"gao******@gmail.com\\"\\n },\\n \\"original_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"changed_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"last_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"change_fee_details\\": [\\n {\\n \\"passenger\\": {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n },\\n \\"change_fee\\": {\\n \\"upgrade_fee\\": 30,\\n \\"service_fee\\": 50,\\n \\"tax_fee\\": 20\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'ChangeDetail', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"refund_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"refund_order_status\\": 1,\\n \\"transaction_no\\": \\"49884**tde-95za\\",\\n \\"utc_create_time\\": 1677229002000,\\n \\"is_multi_refund\\": true,\\n \\"related_refund_order_num\\": \\"49884*****2387\\"\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'RefundDetailList', + 'changeSet' => [], ], - 'ChangeApply' => [ - 'summary' => '改签申请。', - 'path' => '/airticket/v1/change/action-apply', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'Search' => [ + 'summary' => '搜索询价,目前给出的多航班最低价。注意该接口目前返参里无退改规则、免费行李额、行李直挂规则给出。', + 'path' => '/airticket/v1/trade/action-search', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'accessTokenAuth' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ - 'name' => 'order_num', - 'in' => 'formData', - 'schema' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4988430***950', - ], - ], - [ - 'name' => 'type', + 'name' => 'cabin_class', 'in' => 'formData', - 'schema' => [ - 'title' => '改期类型0:自愿改期; 1:航班变动/航班取消', - 'description' => '改期类型0:自愿改期; 1:航班变动/航班取消', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['title' => '不填写默认为 ALL_CABIN。舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', 'description' => '舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', 'type' => 'string', 'required' => false, 'example' => 'ALL_CABIN'], ], [ - 'name' => 'change_passenger_list', + 'name' => 'air_legs', 'in' => 'formData', 'style' => 'json', 'schema' => [ - 'title' => '改签乘机人列表', - 'description' => '改签乘机人列表', + 'title' => '行程数组', + 'description' => '行程数组', 'type' => 'array', 'items' => [ - 'description' => '元素', + 'description' => '行程', 'type' => 'object', 'properties' => [ - 'first_name' => [ - 'title' => '乘机人名', - 'description' => '乘机人名', - 'type' => 'string', - 'required' => true, - 'example' => 'SAN', - ], - 'last_name' => [ - 'title' => '乘机人姓', - 'description' => '乘机人姓', - 'type' => 'string', - 'required' => true, - 'example' => 'ZHANG', - ], - 'document' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', + 'departure_city' => ['title' => '出发城市三字码', 'description' => '出发城市三字码', 'type' => 'string', 'required' => true, 'example' => 'SHA'], + 'arrival_city' => ['title' => '到达城市三字码', 'description' => '到达城市三字码', 'type' => 'string', 'required' => true, 'example' => 'MFM'], + 'departure_airport_list' => [ + 'title' => '出发机场三字码', + 'description' => '出发机场三字码列表', + 'type' => 'array', + 'items' => ['description' => '出发机场三字码', 'type' => 'string', 'required' => false, 'example' => 'PVG'], 'required' => false, - 'example' => '411***********4411', + 'example' => 'PVG', ], - ], - 'required' => false, - ], - 'required' => true, - ], - ], - [ - 'name' => 'changed_journeys', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '改签目标航程', - 'description' => '改签目标航程', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'segment_list' => [ - 'title' => '改签目标航段列表', - 'description' => '改签目标航段列表', + 'arrival_airport_list' => [ + 'title' => '到达机场三字码', + 'description' => '到达机场三字码列表', 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'departure_airport' => [ - 'title' => '航班起飞机场三字码', - 'description' => '航班起飞机场三字码', - 'type' => 'string', - 'required' => false, - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码', - 'description' => '航班到达机场三字码', - 'type' => 'string', - 'required' => false, - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码', - 'description' => '航班起飞城市三字码', - 'type' => 'string', - 'required' => true, - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码', - 'description' => '航班到达城市三字码', - 'type' => 'string', - 'required' => true, - 'example' => 'MFM', - ], - 'departure_date' => [ - 'title' => '起飞日期 (eg: yyyyMMdd)', - 'description' => '起飞日期 (eg: yyyyMMdd)', - 'type' => 'string', - 'required' => true, - 'example' => '20230320', - ], - 'departure_time' => [ - 'title' => '航班起飞日期,utc时间戳', - 'description' => '(该属性废弃)航班起飞日期,utc时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1677232998000', - ], - 'departure_time_str' => [ - 'title' => '航班起飞日期时间,以出发地时区传入,yyyy-MM-dd HH:mm:ss', - 'description' => '(必填参数)航班起飞日期时间,航班的旅行时间,格式:yyyy-MM-dd HH:mm:ss', - 'type' => 'string', - 'required' => false, - 'example' => '2024-03-20 09:30:00', - ], - 'arrive_time' => [ - 'title' => '航班到达日期时间,utc时间戳', - 'description' => '(该属性废弃)航班到达日期时间,utc时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1677232999000', - ], - 'arrive_time_str' => [ - 'title' => '航班到达日期时间,yyyy-MM-dd HH:mm:ss', - 'description' => '(必填参数)航班到达日期时间,航班的旅行时间,格式:yyyy-MM-dd HH:mm:ss', - 'type' => 'string', - 'required' => false, - 'example' => '2024-03-20 12:30:00', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'required' => false, - 'example' => 'T2', - ], - 'arrive_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'required' => false, - 'example' => 'T1', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:KA5809)', - 'description' => '市场方航班号(如:KA5809)', - 'type' => 'string', - 'required' => true, - 'example' => 'HO1295', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'required' => false, - 'example' => 'HO1295', - ], - 'code_share' => [ - 'title' => '是否共享航班', - 'description' => '是否共享航班', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - 'required' => false, - ], + 'items' => ['description' => '到达机场三字码', 'type' => 'string', 'required' => false, 'example' => 'MFM'], 'required' => false, + 'example' => 'MFM', ], + 'departure_date' => ['title' => '起飞日期 (eg: yyyyMMdd)', 'description' => '起飞日期 (eg: yyyyMMdd)', 'type' => 'string', 'required' => true, 'example' => '20230310'], ], 'required' => false, ], @@ -8704,2323 +3706,337 @@ ], ], [ - 'name' => 'contact', + 'name' => 'adults', 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '改签联系人信息', - 'description' => '改签联系人信息', - 'type' => 'object', - 'properties' => [ - 'mobile_country_code' => [ - 'title' => '国家区位码', - 'description' => '国家区位码', - 'type' => 'string', - 'required' => false, - 'example' => '86', - ], - 'mobile_phone_num' => [ - 'title' => '联系人用户手机号', - 'description' => '联系人用户手机号', - 'type' => 'string', - 'required' => false, - 'example' => '183*****92', - ], - 'email' => [ - 'title' => '邮件地址', - 'description' => '邮件地址', - 'type' => 'string', - 'required' => false, - 'example' => 'gao******@gmail.com', - ], - ], - 'required' => true, - ], + 'schema' => ['title' => '成人乘客数 1-9', 'description' => '成人乘客数 1-9', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], ], [ - 'name' => 'remark', + 'name' => 'children', 'in' => 'formData', - 'schema' => [ - 'title' => '买家备注', - 'description' => '买家备注', - 'type' => 'string', - 'required' => false, - 'example' => 'remark desc', - ], + 'schema' => ['title' => '儿童乘客数 0-9', 'description' => '儿童乘客数 0-9', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'name' => 'infants', + 'in' => 'formData', + 'schema' => ['title' => '婴儿乘客数 0-9', 'description' => '婴儿乘客数 0-9', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ + 'name' => 'search_control_options', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => 'PopBaseRes<ApplyChangeRes, Object>', - 'description' => 'PopBaseRes<ApplyChangeRes, Object>', + 'title' => '搜索控制项,可选', + 'description' => '搜索控制项,可选', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'object', - 'properties' => [ - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4988430***950', - ], - 'change_orders' => [ - 'title' => '改签单申请结果列表', - 'description' => '改签单申请结果列表', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'change_order_num' => [ - 'title' => '改签单号', - 'description' => '改签单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '49884*****950', - ], - 'change_order_status' => [ - 'title' => '改签单状态。 0:改签单创建成功; 5:改签单创建失败', - 'description' => '改签单状态。 0:改签单创建成功; 5:改签单创建失败', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'fail_reason' => [ - 'title' => '改签单创建失败的原因', - 'description' => '改签单创建失败的原因', - 'type' => 'string', - 'example' => 'desc reason', - ], - 'passengers' => [ - 'title' => '改签单乘机人信息', - 'description' => '改签单乘机人信息', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'first_name' => [ - 'title' => '乘机人名', - 'description' => '乘机人名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'last_name' => [ - 'title' => '乘机人姓', - 'description' => '乘机人姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'document' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => '411***********4411', - ], - ], - ], - ], - ], - ], - ], - ], + 'airline_prefer_list' => [ + 'title' => '优选航司列表', + 'description' => '优选航司列表', + 'type' => 'array', + 'items' => ['type' => 'string', 'required' => false, 'example' => 'FD'], + 'required' => false, + 'example' => 'FD', ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', + 'airline_excluded_list' => [ + 'title' => '排除航司列表', + 'description' => '排除航司列表', + 'type' => 'array', + 'items' => ['type' => 'string', 'required' => false, 'example' => 'AK'], + 'required' => false, + 'example' => '7C', ], + 'service_quality' => ['title' => '服务质量标识', 'description' => '服务质量标识', 'type' => 'string', 'required' => false, 'example' => 'A1'], ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0,\\n \\"change_orders\\": [\\n {\\n \\"change_order_num\\": 0,\\n \\"change_order_status\\": 0,\\n \\"fail_reason\\": \\"desc reason\\",\\n \\"passengers\\": [\\n {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'ChangeApply', - ], - 'ChangeDetailListOfOrderNum' => [ - 'summary' => '根据正向订单号查询改签订单列表信息。', - 'path' => '/airticket/v1/change/order-num/detail-list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'order_num', - 'in' => 'query', - 'schema' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4988430***700', - ], - ], - [ - 'name' => 'page_index', - 'in' => 'query', - 'schema' => [ - 'title' => '页索引', - 'description' => '页索引', - 'type' => 'integer', - 'format' => 'int32', 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'page_size', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小', - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', ], ], [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PopBaseRes<PageData<ChangeOrderDetail>, Object>', - 'description' => 'PopBaseRes<PageData<ChangeOrderDetail>, Object>', + 'title' => 'PopBaseRes<SearchRes, Object>', + 'description' => 'PopBaseRes<SearchRes, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '2236993B-7BE7-5F92-B179-21FF08570165'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', 'type' => 'object', 'properties' => [ - 'list' => [ - 'title' => '数据列表', - 'description' => '数据列表', + 'solution_list' => [ + 'title' => '搜索询价结果', + 'description' => '搜索询价结果', 'type' => 'array', 'items' => [ - 'description' => '元素', + 'description' => 'solution', 'type' => 'object', 'properties' => [ - 'change_order_num' => [ - 'title' => '改签单号', - 'description' => '改签单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4988430***950', - ], - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5988430***541', - ], - 'change_passengers' => [ - 'title' => '改签的乘机人列表', - 'description' => '改签的乘机人列表', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'first_name' => [ - 'title' => '乘机人名', - 'description' => '乘机人名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'last_name' => [ - 'title' => '乘机人姓', - 'description' => '乘机人姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'document' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => '411***********4411', - ], - ], - ], - ], - 'total_amount' => [ - 'title' => '改签单支付总金额', - 'description' => '改签单支付总金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '300', - ], - 'order_status' => [ - 'title' => '改签单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', - 'description' => '改签单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'close_reason' => [ - 'title' => '改签关单原因', - 'description' => '改签关单原因', - 'type' => 'string', - 'example' => 'reason desc', - ], - 'transaction_no' => [ - 'title' => '交易流水号', - 'description' => '交易流水号', - 'type' => 'string', - 'example' => 'hkduendkd-2023-dj0', - ], - 'change_reason_type' => [ - 'title' => '改签原因类型 0:自愿改期; 1:航班变动/航班取消; 2:因疫情改签', - 'description' => '改签原因类型 0:自愿改期; 1:航班变动/航班取消; 2:因疫情改签', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'create_utc_time' => [ - 'title' => '改签单创建时间,UTC时间戳', - 'description' => '改签单创建时间,UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677415276000', - ], - 'last_confirm_utc_time' => [ - 'title' => '买家最迟支付时间,UTC时间戳', - 'description' => '买家最迟支付时间,UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677415278000', - ], - 'pay_status' => [ - 'title' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', - 'description' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'pay_success_utc_time' => [ - 'title' => '买家支付成功时间,UTC时间戳', - 'description' => '买家支付成功时间,UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677415255000', - ], - 'close_utc_time' => [ - 'title' => '订单关闭时间,UTC时间戳', - 'description' => '订单关闭时间,UTC时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1677415244000', - ], - 'contact' => [ - 'title' => '改签联系人信息', - 'description' => '改签联系人信息', - 'type' => 'object', - 'properties' => [ - 'mobile_country_code' => [ - 'title' => '国家区位码', - 'description' => '国家区位码', - 'type' => 'string', - 'example' => '86', - ], - 'mobile_phone_num' => [ - 'title' => '联系人用户手机号', - 'description' => '联系人用户手机号', - 'type' => 'string', - 'example' => '183*****92', - ], - 'email' => [ - 'title' => '邮件地址', - 'description' => '邮件地址', - 'type' => 'string', - 'example' => 'gao******@gmail.com', - ], - ], - ], - 'original_journeys' => [ - 'title' => '原始的行程', - 'description' => '原始的行程', + 'solution_id' => ['title' => 'solution_id', 'description' => 'solution_id', 'type' => 'string', 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ'], + 'adult_price' => ['title' => '成人单价', 'description' => '成人单价', 'type' => 'number', 'format' => 'double', 'example' => '600'], + 'adult_tax' => ['title' => '成人税', 'description' => '成人税', 'type' => 'number', 'format' => 'double', 'example' => '11'], + 'child_price' => ['title' => '儿童单价', 'description' => '儿童单价', 'type' => 'number', 'format' => 'double', 'example' => '500'], + 'child_tax' => ['title' => '儿童税', 'description' => '儿童税', 'type' => 'number', 'format' => 'double', 'example' => '10'], + 'infant_price' => ['title' => '婴儿单价', 'description' => '婴儿单价', 'type' => 'number', 'format' => 'double', 'example' => '400'], + 'infant_tax' => ['title' => '婴儿税', 'description' => '婴儿税', 'type' => 'number', 'format' => 'double', 'example' => '9'], + 'refund_ticket_coupon_description' => ['title' => '(该属性已废弃)退票代金券说明', 'type' => 'string', 'example' => 'description'], + 'product_type_description' => ['title' => '(该属性已废弃)产品类型描述', 'type' => 'string', 'example' => 'description'], + 'journey_list' => [ + 'title' => '行程', + 'description' => '行程', 'type' => 'array', 'items' => [ - 'description' => '元素', + 'description' => 'journey', 'type' => 'object', 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'segment_list' => [ 'title' => '航段信息', 'description' => '航段信息', 'type' => 'array', 'items' => [ - 'description' => '元素', + 'description' => 'segment', 'type' => 'object', 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:HO1295)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:1295)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1295', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:HO)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'T1', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'Y', - ], - 'availability' => [ - 'title' => '剩余座位数', - 'description' => '剩余座位数', - 'type' => 'string', - 'example' => '7', - ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => 'SEL,HKG', - ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', - ], + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:KA5809)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:5809)', 'type' => 'integer', 'format' => 'int32', 'example' => '1259'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:KA)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'T1'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'Y'], + 'availability' => ['title' => '剩余座位数', 'description' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => 'MFM,PVG'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], ], ], ], ], ], ], - 'changed_journeys' => [ - 'title' => '改签后的行程', - 'description' => '改签后的行程', + 'segment_baggage_mapping_list' => [ + 'title' => '免费行李规则', + 'description' => '免费行李规则', 'type' => 'array', 'items' => [ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'segment_list' => [ - 'title' => '航段信息', - 'description' => '航段信息', + 'segment_id_list' => [ + 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则', + 'description' => '航段ID列表 这些航段ID使用同一个免费行李规则', 'type' => 'array', - 'items' => [ - 'description' => '元素', + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + ], + 'passenger_baggage_allowance_mapping' => [ + 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', + 'description' => '乘客类型-免费行李额映射关系', + 'type' => 'object', + 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:HO1295)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:1295)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1295', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:HO)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'T1', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'Y', - ], - 'availability' => [ - 'title' => '剩余座位数', - 'description' => '剩余座位数', - 'type' => 'string', - 'example' => '7', - ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => 'SEL,HKG', - ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', - ], + 'baggage_amount' => ['title' => '托运行李件数', 'description' => '托运行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'baggage_weight' => ['title' => '托运行李重量', 'description' => '托运行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'baggage_weight_unit' => ['title' => '托运行李重量单位', 'description' => '托运行李重量单位KG', 'type' => 'string', 'example' => 'KG'], + 'is_all_weight' => ['title' => '是否所有托运行李重量', 'description' => '是否所有托运行李重量', 'type' => 'boolean', 'example' => 'true'], + 'carry_on_amount' => ['title' => '手提行李件数', 'description' => '手提行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'carry_on_weight' => ['title' => '手提行李重量', 'description' => '手提行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'carry_on_weight_unit' => ['title' => '手提行李重量单位', 'description' => '手提行李重量单位KG', 'type' => 'string', 'example' => 'KG'], + 'is_all_carry_on_weight' => ['title' => '是否所有手提行李重量', 'description' => '是否所有手提行李重量', 'type' => 'boolean', 'example' => 'true'], ], + 'description' => '免费行李额', ], ], ], ], ], - 'last_journeys' => [ - 'title' => '上一次改签的行程', - 'description' => '上一次改签的行程', + 'segment_refund_change_rule_mapping_list' => [ + 'title' => '退改签规则', + 'description' => '退改签规则', 'type' => 'array', 'items' => [ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'segment_list' => [ - 'title' => '航段信息', - 'description' => '航段信息', + 'segment_id_list' => [ + 'title' => '航段ID列表 这些航段ID使用同一个退改签规则', + 'description' => '航段ID列表 这些航段ID使用同一个退改签规则', 'type' => 'array', - 'items' => [ - 'description' => '元素', + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + ], + 'refund_change_rule_map' => [ + 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', + 'description' => '乘机人类型-退改签规则映射关系', + 'type' => 'object', + 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:HO1295)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:1295)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1295', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:HO)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'T1', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'Y', - ], - 'availability' => [ - 'title' => '剩余座位数', - 'description' => '剩余座位数', - 'type' => 'string', - 'example' => '7', + 'refund_rule_all_unused_list' => [ + 'title' => '全程未使用退票规则', + 'description' => '全程未使用退票规则', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '100'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => 'true'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '100'], + ], + 'description' => '元素', + ], ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => 'SEL,HKG', + 'refund_rule_part_unused_list' => [ + 'title' => '部分未使用退票规则', + 'description' => '部分未使用退票规则', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => 'true'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '20'], + ], + 'description' => '元素', + ], ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', + 'change_rule_in_unused_list' => [ + 'title' => '回程未使用改签规则', + 'description' => '回程未使用改签规则', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '200'], + ], + 'description' => '元素', + ], ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', + 'change_rule_out_unused_list' => [ + 'title' => '去程未使用改签规则', + 'description' => '去程未使用改签规则', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '200'], + ], + 'description' => '元素', + ], ], ], + 'description' => '元素', ], ], ], ], ], - 'change_fee_details' => [ - 'title' => '改签费用明细 乘机人纬度', - 'description' => '改签费用明细 乘机人纬度', + 'segment_baggage_check_in_info_list' => [ + 'title' => '行李直挂规则', + 'description' => '行李直挂规则', 'type' => 'array', 'items' => [ 'description' => '元素', 'type' => 'object', 'properties' => [ - 'passenger' => [ - 'title' => '改签的乘机人信息', - 'description' => '改签的乘机人信息', - 'type' => 'object', - 'properties' => [ - 'first_name' => [ - 'title' => '乘机人名', - 'description' => '乘机人名', - 'type' => 'string', - 'example' => 'SAN', - ], - 'last_name' => [ - 'title' => '乘机人姓', - 'description' => '乘机人姓', - 'type' => 'string', - 'example' => 'ZHANG', - ], - 'document' => [ - 'title' => '证件号', - 'description' => '证件号', - 'type' => 'string', - 'example' => '411***********4411', - ], - ], - ], - 'change_fee' => [ - 'title' => '乘机人的改签费明细', - 'description' => '乘机人的改签费明细', - 'type' => 'object', - 'properties' => [ - 'upgrade_fee' => [ - 'title' => '升舱费', - 'description' => '升舱费', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'service_fee' => [ - 'title' => '服务费(手续费)', - 'description' => '服务费(手续费)', - 'type' => 'number', - 'format' => 'double', - 'example' => '50', - ], - 'tax_fee' => [ - 'title' => '改签税费', - 'description' => '改签税费', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - ], + 'segment_id_list' => [ + 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则', + 'description' => '航段ID列表 这些航段ID使用同一个行李直挂规则', + 'type' => 'array', + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'."\n"], ], + 'luggage_direct_info_type' => ['title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', 'description' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], - ], - ], - ], - 'pagination' => [ - 'title' => '分页信息', - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'total_count' => [ - 'title' => '总数量', - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'total_page' => [ - 'title' => '共几页', - 'description' => '共几页', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'current_page' => [ - 'title' => '当前第几页', - 'description' => '当前第几页', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'page_size' => [ - 'title' => '每页数量', - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - ], - ], - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"change_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"change_passengers\\": [\\n {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n }\\n ],\\n \\"total_amount\\": 300,\\n \\"order_status\\": 2,\\n \\"close_reason\\": \\"reason desc\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"change_reason_type\\": 1,\\n \\"create_utc_time\\": 1677415276000,\\n \\"last_confirm_utc_time\\": 1677415278000,\\n \\"pay_status\\": 2,\\n \\"pay_success_utc_time\\": 1677415255000,\\n \\"close_utc_time\\": 1677415244000,\\n \\"contact\\": {\\n \\"mobile_country_code\\": \\"86\\",\\n \\"mobile_phone_num\\": \\"183*****92\\",\\n \\"email\\": \\"gao******@gmail.com\\"\\n },\\n \\"original_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"changed_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"last_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"change_fee_details\\": [\\n {\\n \\"passenger\\": {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n },\\n \\"change_fee\\": {\\n \\"upgrade_fee\\": 30,\\n \\"service_fee\\": 50,\\n \\"tax_fee\\": 20\\n }\\n }\\n ]\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'ChangeDetailListOfOrderNum', - ], - 'FlightChangeOfOrder' => [ - 'summary' => '订单号查询航变信息。', - 'path' => '/airticket/v1/flightchange/of-order', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'order_num', - 'in' => 'query', - 'schema' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '4966***617111', - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PopBaseRes<List<FlightChangeOrderDTO>, Object>', - 'description' => 'PopBaseRes<List<FlightChangeOrderDTO>, Object>', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'array', - 'items' => [ - 'description' => '数据元素', - 'type' => 'object', - 'properties' => [ - 'flight_change_detail' => [ - 'title' => '航变信息', - 'description' => '航变信息', - 'type' => 'object', - 'properties' => [ - 'old_flight_no' => [ - 'title' => '原航班号', - 'description' => '原航班号', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'old_departure_airport' => [ - 'title' => '原航班起飞机场三字码(大写)', - 'description' => '原航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'old_arrival_airport' => [ - 'title' => '原航班到达机场三字码(大写)', - 'description' => '原航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'old_departure_time' => [ - 'title' => '原航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '原航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-02-01 12:01:00', - ], - 'old_arrival_time' => [ - 'title' => '原航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '原航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '023-02-01 14:01:00', - ], - 'new_flight_no' => [ - 'title' => '新航班号', - 'description' => '新航班号', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'new_departure_airport' => [ - 'title' => '新航班起飞机场三字码(大写)', - 'description' => '新航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'new_arrival_airport' => [ - 'title' => '新航班到达机场三字码(大写)', - 'description' => '新航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'new_departure_time' => [ - 'title' => '新航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '新航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-02-01 13:01:00', - ], - 'new_arrival_time' => [ - 'title' => '新航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '新航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-02-01 15:01:00', - ], - 'change_time' => [ - 'title' => '航变时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航变时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-02-01 10:01:00', - ], - 'change_type' => [ - 'title' => '航变类型 1:取消; 2:变更', - 'description' => '航变类型 1:取消; 2:变更', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'change_reason' => [ - 'title' => '航变原因', - 'description' => '航变原因', - 'type' => 'string', - 'example' => '天气', - ], - ], - ], - 'order_num' => [ - 'title' => '订单号', - 'description' => '订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4966***617111', - ], - ], - ], - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": [\\n {\\n \\"flight_change_detail\\": {\\n \\"old_flight_no\\": \\"HO1295\\",\\n \\"old_departure_airport\\": \\"PVG\\",\\n \\"old_arrival_airport\\": \\"MFM\\",\\n \\"old_departure_time\\": \\"2023-02-01 12:01:00\\",\\n \\"old_arrival_time\\": \\"023-02-01 14:01:00\\",\\n \\"new_flight_no\\": \\"HO1295\\",\\n \\"new_departure_airport\\": \\"PVG\\",\\n \\"new_arrival_airport\\": \\"MFM\\",\\n \\"new_departure_time\\": \\"2023-02-01 13:01:00\\",\\n \\"new_arrival_time\\": \\"2023-02-01 15:01:00\\",\\n \\"change_time\\": \\"2023-02-01 10:01:00\\",\\n \\"change_type\\": 1,\\n \\"change_reason\\": \\"天气\\"\\n },\\n \\"order_num\\": 0\\n }\\n ],\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'FlightChangeOfOrder', - ], - 'AccountFlowList' => [ - 'summary' => '账号资金流水列表。', - 'path' => '/airticket/v1/account/flow-list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'utc_begin_time', - 'in' => 'query', - 'schema' => [ - 'title' => '开始搜索时间戳具体生效到天,UTC 13位时间戳', - 'description' => '开始搜索时间戳具体生效到天,UTC 13位时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1677427200000', - ], - ], - [ - 'name' => 'day_num', - 'in' => 'query', - 'schema' => [ - 'title' => '搜索多少天 最大30天 取值范围[0,30]', - 'description' => '搜索多少天 最大30天 取值范围[0,30]', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], - ], - [ - 'name' => 'page_index', - 'in' => 'query', - 'schema' => [ - 'title' => '页索引', - 'description' => '页索引', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'page_size', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小', - 'description' => '页大小', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PopBaseRes<PageData<AccountFlow>, Object>', - 'description' => 'PopBaseRes<PageData<AccountFlow>, Object>', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'object', - 'properties' => [ - 'list' => [ - 'title' => '数据列表', - 'description' => '数据列表', - 'type' => 'array', - 'items' => [ - 'description' => '元素', - 'type' => 'object', - 'properties' => [ - 'flow_id' => [ - 'title' => '流水ID', - 'description' => '流水ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1627239841225842666', - ], - 'gmt_create' => [ - 'title' => '创建时间', - 'description' => '创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1676799185000', - ], - 'gmt_modified' => [ - 'title' => '修改时间', - 'description' => '修改时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1676966530000', - ], - 'op_type' => [ - 'title' => '操作类型 详见BalanceOpTypeEnum, 1:付款; 2:退款; 3:充值', - 'description' => '操作类型 1:付款; 2:退款; 3:充值', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'op_amount' => [ - 'title' => '操作金额(元)', - 'description' => '操作金额(元)', - 'type' => 'number', - 'format' => 'double', - 'example' => '950.5', - ], - 'before_available_amount' => [ - 'title' => '操作前可用余额(元)', - 'description' => '操作前可用余额(元)', - 'type' => 'number', - 'format' => 'double', - 'example' => '1950.5', - ], - 'after_available_amount' => [ - 'title' => '操作后可用余额(元)', - 'description' => '操作后可用余额(元)', - 'type' => 'number', - 'format' => 'double', - 'example' => '1000', - ], - 'order_num' => [ - 'title' => '正向订单号', - 'description' => '正向订单号', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4988430***971', - ], - 'out_order_num' => [ - 'title' => '正向外部订单号', - 'description' => '正向外部订单号', - 'type' => 'string', - 'example' => '4988430***971', - ], - 'change_order_num' => [ - 'title' => '改签单号,如果是改签的流水,这个值不为空', - 'description' => '改签单号,如果是改签的流水,这个值不为空', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '49880***971', - ], - 'refund_order_num' => [ - 'title' => '退票单号。如果是退款的流水,这个值不为空', - 'description' => '退票单号。如果是退款的流水,这个值不为空', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '48430***971', - ], - 'order_type' => [ - 'title' => '订单类型', - 'description' => '订单类型 0:正向交易 1:改签单支付 2:退款', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'solution_attribute' => [ + 'title' => '报价属性', + 'description' => '报价属性', + 'type' => 'object', + 'properties' => [ + 'supply_source_type' => ['title' => '供给来源类型 1:自营;2:代理人;3:旗舰店', 'description' => '供给来源类型 1:自营;2:代理人;3:旗舰店', 'type' => 'string', 'example' => '1', 'deprecated' => false], + ], ], ], ], ], - 'pagination' => [ - 'title' => '分页信息', - 'description' => '分页信息', - 'type' => 'object', - 'properties' => [ - 'total_count' => [ - 'title' => '总数量', - 'description' => '总数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'total_page' => [ - 'title' => '共几页', - 'description' => '共几页', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'current_page' => [ - 'title' => '当前第几页', - 'description' => '当前第几页', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'page_size' => [ - 'title' => '每页数量', - 'description' => '每页数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], - ], - ], - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"flow_id\\": 1627239841225842700,\\n \\"gmt_create\\": 1676799185000,\\n \\"gmt_modified\\": 1676966530000,\\n \\"op_type\\": 2,\\n \\"op_amount\\": 950.5,\\n \\"before_available_amount\\": 1950.5,\\n \\"after_available_amount\\": 1000,\\n \\"order_num\\": 0,\\n \\"out_order_num\\": \\"4988430***971\\",\\n \\"change_order_num\\": 0,\\n \\"refund_order_num\\": 0,\\n \\"order_type\\": 1\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'AccountFlowList', - ], - 'FileUpload' => [ - 'summary' => '附件图片形式的文件上传,限制只能传300KB以内大小。', - 'path' => '/airticket/v1/attachment/action-upload', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [], - 'parameters' => [ - [ - 'name' => 'order_num', - 'in' => 'formData', - 'schema' => [ - 'title' => '正向订单号', - 'description' => '正向订单号', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '496***2617111', - ], - ], - [ - 'name' => 'file_content', - 'in' => 'formData', - 'schema' => [ - 'title' => '附件baseRs64字符串', - 'description' => '附件图片形式文件上传,对图片进行 Base64编码,图片类型支持 .jpg|.png|.jpeg', - 'type' => 'string', - 'required' => true, - 'example' => '0r2LSuIsHlxEoGZcnGe34U1njBOR83Q4HNSvMDGrDPK5J71VjcGdRIWz2x3+tFxvQaduwHB46Z9K'."\n" - .'dbIoDN8xPQ5PWlky8rKOPmAqSZfIRyPmAwvPvTJFwr8bRgHPPaq2VO8kHJ6jFIpJJ5I7Zqd1BjGS'."\n" - .'SR/kULQZHsDDd2zgA9RRTsEQF2OSxFFFx2P/2Q==', - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PopBaseRes<UploadAttachmentRes, Object>', - 'description' => 'PopBaseRes<UploadAttachmentRes, Object>', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'object', - 'properties' => [ - 'uploaded_file_url' => [ - 'title' => '上传后文件名称', - 'description' => '上传后文件名称', - 'type' => 'string', - 'example' => 'https://fliggy-flight-jinghang-bucket.oss-cn-zhangjiakou.aliyuncs.com/suez/flight_suez_9a634376****47.jpeg', - ], - ], - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"uploaded_file_url\\": \\"https://fliggy-flight-jinghang-bucket.oss-cn-zhangjiakou.aliyuncs.com/suez/flight_suez_9a634376****47.jpeg\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'FileUpload', - ], - 'LuggageDirect' => [ - 'summary' => '航程行李直挂。', - 'path' => '/airticket/v1/flight-data/luggage-direct', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'flight_segment_param_list', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '航段列表,列表中航段构成一个航程', - 'description' => '航段列表,列表中航段构成一个航程。size<=2。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'departure_airport' => [ - 'title' => '出发机场三字码', - 'description' => '出发机场三字码', - 'type' => 'string', - 'required' => true, - 'example' => 'HGH', - ], - 'arrival_airport' => [ - 'title' => '到达机场三字码', - 'description' => '到达机场三字码', - 'type' => 'string', - 'required' => true, - 'example' => 'SIN', - ], - 'departure_terminal' => [ - 'title' => '出发航站楼', - 'description' => '出发航站楼', - 'type' => 'string', - 'required' => false, - 'example' => 'T1', - ], - 'arrival_terminal' => [ - 'title' => '到达航站楼', - 'description' => '到达航站楼', - 'type' => 'string', - 'required' => false, - 'example' => 'T1', - ], - 'departure_time' => [ - 'title' => '出发时间,13位时间戳', - 'description' => '出发时间,13位时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1705285430445', - ], - 'arrival_time' => [ - 'title' => '到达时间,13位时间戳', - 'description' => '到达时间,13位时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1705285430445', - ], - 'stop_city_list' => [ - 'title' => '经停城市三字码', - 'description' => '经停城市三字码', - 'type' => 'string', - 'required' => false, - 'example' => 'SEL,HKG', - ], - 'marketing_airline' => [ - 'title' => '市场方航司', - 'description' => '市场方航司', - 'type' => 'string', - 'required' => true, - 'example' => 'CZ', - ], - 'operating_airline' => [ - 'title' => '承运方航司', - 'description' => '承运方航司', - 'type' => 'string', - 'required' => false, - 'example' => 'CZ', - ], - 'ticketing_airline' => [ - 'title' => '出票方航司', - 'description' => '出票方航司', - 'type' => 'string', - 'required' => false, - 'example' => 'CZ', - ], - 'marketing_flight_no' => [ - 'title' => '航班号', - 'description' => '航班号', - 'type' => 'string', - 'required' => true, - 'example' => 'CZ616', - ], - 'code_share' => [ - 'title' => '是否共享', - 'description' => '是否共享', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - 'default' => 'false', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PopBaseRes<List<LuggageDirect>, Object>', - 'description' => 'PopBaseRes<List<LuggageDirect>, Object>', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'city_code' => [ - 'title' => '城市三字码', - 'description' => '城市三字码', - 'type' => 'string', - 'example' => 'BJS', - ], - 'direct_type' => [ - 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', - 'description' => '行李直挂规则类型 0:非行李直挂; 1:行李直挂', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": [\\n {\\n \\"city_code\\": \\"BJS\\",\\n \\"direct_type\\": 1\\n }\\n ],\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'LuggageDirect', - 'description' => '航程行李直挂信息查询,接口输入航程信息,返回该航程是否支持行李直挂。中转和经停场景,会涉及行李直挂。', - ], - 'TransitVisa' => [ - 'summary' => '航程过境签信息查询,接口输入航程信息,返回乘坐该航程是否存在过境签要求。只有中转/经停才是有效入参(中转/经停经过第三国),当前支持的乘客默认为中国大陆旅客。', - 'path' => '/airticket/v1/flight-data/transit-visa', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'flight_segment_param_list', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'title' => '航段列表,列表中航段构成一个航程', - 'description' => '航段列表,列表中航段构成一个航程。size<=2。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'departure_airport' => [ - 'title' => '出发机场三字码', - 'description' => '出发机场三字码', - 'type' => 'string', - 'required' => true, - 'example' => 'HGH', - ], - 'arrival_airport' => [ - 'title' => '到达机场三字码', - 'description' => '到达机场三字码', - 'type' => 'string', - 'required' => true, - 'example' => 'SIN', - ], - 'departure_terminal' => [ - 'title' => '出发航站楼', - 'description' => '出发航站楼', - 'type' => 'string', - 'required' => false, - 'example' => 'T1', - ], - 'arrival_terminal' => [ - 'title' => '到达航站楼', - 'description' => '到达航站楼', - 'type' => 'string', - 'required' => false, - 'example' => 'T1', - ], - 'departure_time' => [ - 'title' => '出发时间,13位时间戳', - 'description' => '出发时间,13位时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1705285430445', - ], - 'arrival_time' => [ - 'title' => '到达时间,13位时间戳', - 'description' => '到达时间,13位时间戳', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1705285430445', - ], - 'stop_city_list' => [ - 'title' => '经停城市三字码', - 'description' => '经停城市三字码', - 'type' => 'string', - 'required' => false, - 'example' => 'SEL,HKG', - ], - 'marketing_airline' => [ - 'title' => '市场方航司', - 'description' => '市场方航司', - 'type' => 'string', - 'required' => true, - 'example' => 'CZ', - ], - 'operating_airline' => [ - 'title' => '承运方航司', - 'description' => '承运方航司', - 'type' => 'string', - 'required' => false, - 'example' => 'CZ', - ], - 'ticketing_airline' => [ - 'title' => '出票方航司', - 'description' => '出票方航司', - 'type' => 'string', - 'required' => false, - 'example' => 'CZ', - ], - 'marketing_flight_no' => [ - 'title' => '航班号', - 'description' => '航班号', - 'type' => 'string', - 'required' => true, - 'example' => 'CZ616', - ], - 'code_share' => [ - 'title' => '是否共享', - 'description' => '是否共享', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - 'default' => 'false', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PopBaseRes<List<VisaRemark>, Object>', - 'description' => 'PopBaseRes<List<VisaRemark>, Object>', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'city_code' => [ - 'title' => '经停/中转城市三字码', - 'description' => '经停/中转城市三字码', - 'type' => 'string', - 'example' => 'HGH', - ], - 'visa_type' => [ - 'title' => '过境签类型,0:无需过境签,1:需要过境签', - 'description' => '过境签类型,0:无需过境签,1:需要过境签', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": [\\n {\\n \\"city_code\\": \\"HGH\\",\\n \\"visa_type\\": 1\\n }\\n ],\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'TransitVisa', - 'description' => '航程过境签信息查询,接口输入航程信息,返回乘坐该航程是否存在过境签要求。只有中转/经停才是有效入参(中转/经停经过第三国),当前支持的乘客默认为中国大陆旅客。', - ], - 'CollectFlightLowestPrice' => [ - 'summary' => '数据收集-低价航班信息。', - 'path' => '/airticket/v1/data-collect/flight-lowest-price', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'accessTokenAuth' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'lowest_price_flight_info_list', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '低价的航班信息', - 'description' => '低价的航班信息', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'request_id' => [ - 'title' => '请求id', - 'description' => '请求id', - 'type' => 'string', - 'required' => false, - 'example' => '123456789dacd', - ], - 'departure_city' => [ - 'title' => '出发城市', - 'description' => '出发城市', - 'type' => 'string', - 'required' => true, - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '到达城市', - 'description' => '到达城市', - 'type' => 'string', - 'required' => true, - 'example' => 'MFM', - ], - 'trip_type' => [ - 'title' => '航程类型:1表示单程;2表示往返', - 'description' => '航程类型:1表示单程;2表示往返', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - 'departure_date' => [ - 'title' => '出发日期 格式:yyyy-MM-dd', - 'description' => '出发日期 格式:yyyy-MM-dd', - 'type' => 'string', - 'required' => true, - 'example' => '2024-11-11', - ], - 'return_date' => [ - 'title' => '往返场景下,返程日期,格式:yyyy-MM-dd', - 'description' => '往返场景下,返程日期,格式:yyyy-MM-dd', - 'type' => 'string', - 'required' => false, - 'example' => '2024-11-11', - ], - 'departure_flight_number' => [ - 'title' => '去程的航班号列表,多航段用,分割', - 'description' => '去程的航班号列表,多航段用,分割', - 'type' => 'string', - 'required' => true, - 'example' => 'CA123,CA456', - ], - 'return_flight_number' => [ - 'title' => '返程的航班号列表,多航段用,分割', - 'description' => '返程的航班号列表,多航段用,分割', - 'type' => 'string', - 'required' => false, - 'example' => 'CA123,CA456', - ], - 'suez_total_price' => [ - 'title' => 'Suez 的报价,价格+税费(币种为美元)', - 'description' => 'Suez 的报价,价格+税费(币种为美元)', - 'type' => 'number', - 'format' => 'double', - 'required' => true, - 'example' => '100.1', - ], - 'market_total_price' => [ - 'title' => '市场上竞品最低价,价格+税费(币种为美元)', - 'description' => '市场上竞品最低价,价格+税费(币种为美元)', - 'type' => 'number', - 'format' => 'double', - 'required' => true, - 'example' => '100.0', - ], - 'solution_id' => [ - 'title' => 'Search/Enrich 返回的solution_id', - 'description' => 'Search/Enrich 返回的solution_id', - 'type' => 'string', - 'required' => true, - 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ', - ], - ], - 'required' => false, - ], - 'required' => true, - ], - ], - [ - 'name' => 'x-acs-airticket-access-token', - 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], - ], - [ - 'name' => 'x-acs-airticket-language', - 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PopBaseRes<LowestPriceFlightSyncRes, Object>', - 'description' => 'PopBaseRes<LowestPriceFlightSyncRes, Object>', - 'type' => 'object', - 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], - 'data' => [ - 'title' => '正确处理返回数据', - 'description' => '正确处理返回数据', - 'type' => 'object', - 'example' => 'null', - ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], - ], - ], - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"2236993B-7BE7-5F92-B179-21FF08570165\\",\\n \\"data\\": {\\n \\"solution_list\\": [\\n {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"adult_price\\": 600,\\n \\"adult_tax\\": 11,\\n \\"child_price\\": 500,\\n \\"child_tax\\": 10,\\n \\"infant_price\\": 400,\\n \\"infant_tax\\": 9,\\n \\"refund_ticket_coupon_description\\": \\"description\\",\\n \\"product_type_description\\": \\"description\\",\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1259,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"MFM,PVG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 1,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 1,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 100,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 20\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 200\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 200\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"1\\"\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'Search', + 'changeSet' => [ + ['createdAt' => '2025-10-24T06:03:24.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-24T05:51:47.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-23T09:38:47.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-15T03:23:12.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-10-15T03:22:26.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T13:47:34.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-06-16T13:45:19.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T13:20:00.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T06:40:49.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T04:09:49.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T04:09:45.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T04:09:44.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T03:47:56.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-16T01:54:11.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2025-06-13T06:12:56.000Z', 'description' => 'OpenAPI 下线'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": null,\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => 'CollectFlightLowestPrice', - 'description' => '数据收集-低价航班信息。', ], 'StandardSearch' => [ - 'summary' => '标准搜索', + 'summary' => '搜索询价,目前给出的多航班最低价。注意该接口返参含有无退改规则、免费行李额、行李直挂规则。', 'path' => '/airticket/v1/trade/action-standardsearch', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'accessTokenAuth' => [], @@ -11031,13 +4047,7 @@ [ 'name' => 'cabin_class', 'in' => 'formData', - 'schema' => [ - 'title' => '不填写默认为 ALL_CABIN。舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', - 'description' => '不填写默认为 ALL_CABIN。舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', - 'type' => 'string', - 'required' => false, - 'example' => 'ALL_CABIN', - ], + 'schema' => ['title' => '不填写默认为 ALL_CABIN。舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', 'description' => '不填写默认为 ALL_CABIN。舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;', 'type' => 'string', 'required' => false, 'example' => 'ALL_CABIN'], ], [ 'name' => 'air_legs', @@ -11051,30 +4061,13 @@ 'description' => '行程数组', 'type' => 'object', 'properties' => [ - 'departure_city' => [ - 'title' => '出发城市三字码', - 'description' => '出发城市三字码', - 'type' => 'string', - 'required' => false, - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '到达城市三字码', - 'description' => '到达城市三字码', - 'type' => 'string', - 'required' => false, - 'example' => 'MFM', - ], + 'departure_city' => ['title' => '出发城市三字码', 'description' => '出发城市三字码', 'type' => 'string', 'required' => false, 'example' => 'SHA'], + 'arrival_city' => ['title' => '到达城市三字码', 'description' => '到达城市三字码', 'type' => 'string', 'required' => false, 'example' => 'MFM'], 'departure_airport_list' => [ 'title' => '出发机场三字码', 'description' => '出发机场三字码', 'type' => 'array', - 'items' => [ - 'description' => '出发机场三字码', - 'type' => 'string', - 'required' => false, - 'example' => 'PVG', - ], + 'items' => ['description' => '出发机场三字码', 'type' => 'string', 'required' => false, 'example' => 'PVG'], 'required' => false, 'example' => 'PVG', ], @@ -11082,22 +4075,11 @@ 'title' => '到达机场三字码', 'description' => '到达机场三字码', 'type' => 'array', - 'items' => [ - 'description' => '到达机场三字码', - 'type' => 'string', - 'required' => false, - 'example' => 'MFM', - ], + 'items' => ['description' => '到达机场三字码', 'type' => 'string', 'required' => false, 'example' => 'MFM'], 'required' => false, 'example' => 'MFM', ], - 'departure_date' => [ - 'title' => '起飞日期 (eg: yyyyMMdd)', - 'description' => '起飞日期 (eg: yyyyMMdd)', - 'type' => 'string', - 'required' => true, - 'example' => '20230320', - ], + 'departure_date' => ['title' => '起飞日期 (eg: yyyyMMdd)', 'description' => '起飞日期 (eg: yyyyMMdd)', 'type' => 'string', 'required' => true, 'example' => '20230320'], ], 'required' => false, ], @@ -11107,38 +4089,17 @@ [ 'name' => 'adults', 'in' => 'formData', - 'schema' => [ - 'title' => '成人乘客数 1-9', - 'description' => '成人乘客数 1-9', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['title' => '成人乘客数 1-9', 'description' => '成人乘客数 1-9', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], ], [ 'name' => 'children', 'in' => 'formData', - 'schema' => [ - 'title' => '儿童乘客数 0-9', - 'description' => '儿童乘客数 0-9', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '儿童乘客数 0-9', 'description' => '儿童乘客数 0-9', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'infants', 'in' => 'formData', - 'schema' => [ - 'title' => '婴儿乘客数 0-9', - 'description' => '婴儿乘客数 0-9', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '婴儿乘客数 0-9', 'description' => '婴儿乘客数 0-9', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'search_control_options', @@ -11153,12 +4114,7 @@ 'title' => '优选航司', 'description' => '优选航司列表', 'type' => 'array', - 'items' => [ - 'description' => '优选航司列表', - 'type' => 'string', - 'required' => false, - 'example' => 'FD', - ], + 'items' => ['description' => '优选航司列表', 'type' => 'string', 'required' => false, 'example' => 'FD'], 'required' => false, 'example' => 'FD', ], @@ -11166,22 +4122,11 @@ 'title' => '航司排除列表', 'description' => '航司排除列表', 'type' => 'array', - 'items' => [ - 'description' => '排除航司列表', - 'type' => 'string', - 'required' => false, - 'example' => 'AK', - ], + 'items' => ['description' => '排除航司列表', 'type' => 'string', 'required' => false, 'example' => 'AK'], 'required' => false, 'example' => '7C', ], - 'service_quality' => [ - 'title' => '出票服务质量', - 'description' => '出票服务质量', - 'type' => 'string', - 'required' => false, - 'example' => 'A1', - ], + 'service_quality' => ['title' => '出票服务质量', 'description' => '出票服务质量', 'type' => 'string', 'required' => false, 'example' => 'A1'], ], 'required' => false, ], @@ -11189,24 +4134,12 @@ [ 'name' => 'x-acs-airticket-access-token', 'in' => 'header', - 'schema' => [ - 'title' => 'access_token', - 'description' => 'access_token', - 'type' => 'string', - 'required' => true, - 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii', - ], + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], ], [ 'name' => 'x-acs-airticket-language', 'in' => 'header', - 'schema' => [ - 'title' => '多语言 默认取买家账号配置', - 'description' => '多语言 默认取买家账号配置', - 'type' => 'string', - 'required' => false, - 'example' => 'en_US', - ], + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], ], ], 'responses' => [ @@ -11216,37 +4149,11 @@ 'description' => 'PopBaseRes<StandardSearchRes, Object>', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => 'http 请求成功,status 值均为 200', - 'description' => 'http 请求成功,status 值均为 200', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'error_code' => [ - 'title' => '业务错误码', - 'description' => '业务错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'error_msg' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'success' => [ - 'title' => '是否正确', - 'description' => '是否正确', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'title' => '请求 RequestId', - 'description' => '请求 RequestId', - 'type' => 'string', - 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B', - ], + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], 'data' => [ 'title' => '正确处理返回数据', 'description' => '正确处理返回数据', @@ -11260,54 +4167,13 @@ 'description' => 'solution', 'type' => 'object', 'properties' => [ - 'solution_id' => [ - 'title' => 'solution_id', - 'description' => 'solution_id', - 'type' => 'string', - 'example' => 'eJwz8DeySEo0NjQ01TU3TUxxx', - ], - 'adult_price' => [ - 'title' => '成人单价', - 'description' => '成人单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '300', - ], - 'adult_tax' => [ - 'title' => '成人税', - 'description' => '成人税', - 'type' => 'number', - 'format' => 'double', - 'example' => '30', - ], - 'child_price' => [ - 'title' => '儿童单价', - 'description' => '儿童单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'child_tax' => [ - 'title' => '儿童税', - 'description' => '儿童税', - 'type' => 'number', - 'format' => 'double', - 'example' => '20', - ], - 'infant_price' => [ - 'title' => '婴儿单价', - 'description' => '婴儿单价', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], - 'infant_tax' => [ - 'title' => '婴儿税', - 'description' => '婴儿税', - 'type' => 'number', - 'format' => 'double', - 'example' => '10', - ], + 'solution_id' => ['title' => 'solution_id', 'description' => 'solution_id', 'type' => 'string', 'example' => 'eJwz8DeySEo0NjQ01TU3TUxxx'], + 'adult_price' => ['title' => '成人单价', 'description' => '成人单价', 'type' => 'number', 'format' => 'double', 'example' => '300'], + 'adult_tax' => ['title' => '成人税', 'description' => '成人税', 'type' => 'number', 'format' => 'double', 'example' => '30'], + 'child_price' => ['title' => '儿童单价', 'description' => '儿童单价', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'child_tax' => ['title' => '儿童税', 'description' => '儿童税', 'type' => 'number', 'format' => 'double', 'example' => '20'], + 'infant_price' => ['title' => '婴儿单价', 'description' => '婴儿单价', 'type' => 'number', 'format' => 'double', 'example' => '100'], + 'infant_tax' => ['title' => '婴儿税', 'description' => '婴儿税', 'type' => 'number', 'format' => 'double', 'example' => '10'], 'journey_list' => [ 'title' => '行程', 'description' => '行程', @@ -11316,13 +4182,7 @@ 'description' => 'journey', 'type' => 'object', 'properties' => [ - 'transfer_count' => [ - 'title' => '中转次数', - 'description' => '中转次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'transfer_count' => ['title' => '中转次数', 'description' => '中转次数', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], 'segment_list' => [ 'title' => '航段信息', 'description' => '航段信息', @@ -11331,141 +4191,28 @@ 'description' => 'segment', 'type' => 'object', 'properties' => [ - 'segment_id' => [ - 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - 'departure_airport' => [ - 'title' => '航班起飞机场三字码(大写)', - 'description' => '航班起飞机场三字码(大写)', - 'type' => 'string', - 'example' => 'PVG', - ], - 'arrival_airport' => [ - 'title' => '航班到达机场三字码(大写)', - 'description' => '航班到达机场三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'departure_city' => [ - 'title' => '航班起飞城市三字码(大写)', - 'description' => '航班起飞城市三字码(大写)', - 'type' => 'string', - 'example' => 'SHA', - ], - 'arrival_city' => [ - 'title' => '航班到达城市三字码(大写)', - 'description' => '航班到达城市三字码(大写)', - 'type' => 'string', - 'example' => 'MFM', - ], - 'marketing_flight_no' => [ - 'title' => '市场方航班号(如:HO1295)', - 'description' => '市场方航班号(如:HO1295)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'marketing_flight_no_int' => [ - 'title' => '市场方数字航班号(如:1295)', - 'description' => '市场方数字航班号(如:1295)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1295', - ], - 'marketing_airline' => [ - 'title' => '市场方航司(如:HO)', - 'description' => '市场方航司(如:HO)', - 'type' => 'string', - 'example' => 'HO', - ], - 'operating_flight_no' => [ - 'title' => '承运方航班号(如:CX601)', - 'description' => '承运方航班号(如:CX601)', - 'type' => 'string', - 'example' => 'HO1295', - ], - 'operating_airline' => [ - 'title' => '承运方航司(如:CX)', - 'description' => '承运方航司(如:CX)', - 'type' => 'string', - 'example' => 'HO', - ], - 'departure_time' => [ - 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 07:55:00', - ], - 'arrival_time' => [ - 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', - 'type' => 'string', - 'example' => '2023-03-10 10:40:00', - ], - 'code_share' => [ - 'title' => '是否为共享航班', - 'description' => '是否为共享航班', - 'type' => 'boolean', - 'example' => 'false', - ], - 'departure_terminal' => [ - 'title' => '航班出发航站楼', - 'description' => '航班出发航站楼', - 'type' => 'string', - 'example' => 'T2', - ], - 'arrival_terminal' => [ - 'title' => '航班到达航站楼', - 'description' => '航班到达航站楼', - 'type' => 'string', - 'example' => 'T1', - ], - 'equip_type' => [ - 'title' => '机型', - 'description' => '机型', - 'type' => 'string', - 'example' => '32Q', - ], - 'cabin' => [ - 'title' => '舱位', - 'description' => '舱位', - 'type' => 'string', - 'example' => 'V', - ], - 'cabin_class' => [ - 'title' => '舱等', - 'description' => '舱等', - 'type' => 'string', - 'example' => 'Y', - ], - 'availability' => [ - 'title' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。', - 'description' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。', - 'type' => 'string', - 'example' => '7', - ], - 'stop_city_list' => [ - 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', - 'type' => 'string', - 'example' => 'SEL,HKG', - ], - 'stop_quantity' => [ - 'title' => '经停城市数目', - 'description' => '经停城市数目', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'flight_duration' => [ - 'title' => '飞行时间 单位:分钟', - 'description' => '飞行时间 单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '165', - ], + 'segment_id' => ['title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'description' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], + 'departure_airport' => ['title' => '航班起飞机场三字码(大写)', 'description' => '航班起飞机场三字码(大写)', 'type' => 'string', 'example' => 'PVG'], + 'arrival_airport' => ['title' => '航班到达机场三字码(大写)', 'description' => '航班到达机场三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'departure_city' => ['title' => '航班起飞城市三字码(大写)', 'description' => '航班起飞城市三字码(大写)', 'type' => 'string', 'example' => 'SHA'], + 'arrival_city' => ['title' => '航班到达城市三字码(大写)', 'description' => '航班到达城市三字码(大写)', 'type' => 'string', 'example' => 'MFM'], + 'marketing_flight_no' => ['title' => '市场方航班号(如:HO1295)', 'description' => '市场方航班号(如:HO1295)', 'type' => 'string', 'example' => 'HO1295'], + 'marketing_flight_no_int' => ['title' => '市场方数字航班号(如:1295)', 'description' => '市场方数字航班号(如:1295)', 'type' => 'integer', 'format' => 'int32', 'example' => '1295'], + 'marketing_airline' => ['title' => '市场方航司(如:HO)', 'description' => '市场方航司(如:HO)', 'type' => 'string', 'example' => 'HO'], + 'operating_flight_no' => ['title' => '承运方航班号(如:CX601)', 'description' => '承运方航班号(如:CX601)', 'type' => 'string', 'example' => 'HO1295'], + 'operating_airline' => ['title' => '承运方航司(如:CX)', 'description' => '承运方航司(如:CX)', 'type' => 'string', 'example' => 'HO'], + 'departure_time' => ['title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 07:55:00'], + 'arrival_time' => ['title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'description' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)', 'type' => 'string', 'example' => '2023-03-10 10:40:00'], + 'code_share' => ['title' => '是否为共享航班', 'description' => '是否为共享航班', 'type' => 'boolean', 'example' => 'false'], + 'departure_terminal' => ['title' => '航班出发航站楼', 'description' => '航班出发航站楼', 'type' => 'string', 'example' => 'T2'], + 'arrival_terminal' => ['title' => '航班到达航站楼', 'description' => '航班到达航站楼', 'type' => 'string', 'example' => 'T1'], + 'equip_type' => ['title' => '机型', 'description' => '机型', 'type' => 'string', 'example' => '32Q'], + 'cabin' => ['title' => '舱位', 'description' => '舱位', 'type' => 'string', 'example' => 'V'], + 'cabin_class' => ['title' => '舱等', 'description' => '舱等', 'type' => 'string', 'example' => 'Y'], + 'availability' => ['title' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。', 'description' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。', 'type' => 'string', 'example' => '7'], + 'stop_city_list' => ['title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'description' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割', 'type' => 'string', 'example' => 'SEL,HKG'], + 'stop_quantity' => ['title' => '经停城市数目', 'description' => '经停城市数目', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'flight_duration' => ['title' => '飞行时间 单位:分钟', 'description' => '飞行时间 单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '165'], ], ], ], @@ -11484,11 +4231,7 @@ 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则', 'description' => '航段ID列表 这些航段ID使用同一个免费行李规则', 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], ], 'passenger_baggage_allowance_mapping' => [ 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', @@ -11497,114 +4240,22 @@ 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'baggage_amount' => [ - 'title' => '托运行李件数', - 'description' => '托运行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'baggage_weight' => [ - 'title' => '托运行李重量', - 'description' => '托运行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'baggage_weight_unit' => [ - 'title' => '托运行李重量单位 KG', - 'description' => '托运行李重量单位 KG', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_weight' => [ - 'title' => '是否所有托运行李重量', - 'description' => '是否所有托运行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'carry_on_amount' => [ - 'title' => '手提行李件数', - 'description' => '手提行李件数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'carry_on_weight' => [ - 'title' => '手提行李重量', - 'description' => '手提行李重量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'carry_on_weight_unit' => [ - 'title' => '手提行李重量单位 KG', - 'description' => '手提行李重量单位 KG', - 'type' => 'string', - 'example' => 'KG', - ], - 'is_all_carry_on_weight' => [ - 'title' => '是否所有手提行李重量', - 'description' => '是否所有手提行李重量', - 'type' => 'boolean', - 'example' => 'true', - ], - 'carry_length' => [ - 'title' => '手提长(单位:厘米)', - 'description' => '手提长(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '55', - ], - 'carry_width' => [ - 'title' => '手提宽(单位:厘米)', - 'description' => '手提宽(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'carry_height' => [ - 'title' => '手提高(单位:厘米)', - 'description' => '手提高(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'carry_sum_of_length_width_height' => [ - 'title' => '手提三边之和(单位:厘米)', - 'description' => '手提三边之和(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '115', - ], - 'length' => [ - 'title' => '托运长(单位:厘米)', - 'description' => '托运长(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'width' => [ - 'title' => '托运宽(单位:厘米)', - 'description' => '托运宽(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'height' => [ - 'title' => '托运高(单位:厘米)', - 'description' => '托运高(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'sum_of_length_width_height' => [ - 'title' => '托运三边之和(单位:厘米)', - 'description' => '托运三边之和(单位:厘米)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], + 'baggage_amount' => ['title' => '托运行李件数', 'description' => '托运行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'baggage_weight' => ['title' => '托运行李重量', 'description' => '托运行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'baggage_weight_unit' => ['title' => '托运行李重量单位 KG', 'description' => '托运行李重量单位 KG', 'type' => 'string', 'example' => 'KG'], + 'is_all_weight' => ['title' => '是否所有托运行李重量', 'description' => '是否所有托运行李重量', 'type' => 'boolean', 'example' => 'true'], + 'carry_on_amount' => ['title' => '手提行李件数', 'description' => '手提行李件数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'carry_on_weight' => ['title' => '手提行李重量', 'description' => '手提行李重量', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'carry_on_weight_unit' => ['title' => '手提行李重量单位 KG', 'description' => '手提行李重量单位 KG', 'type' => 'string', 'example' => 'KG'], + 'is_all_carry_on_weight' => ['title' => '是否所有手提行李重量', 'description' => '是否所有手提行李重量', 'type' => 'boolean', 'example' => 'true'], + 'carry_length' => ['title' => '手提长(单位:厘米)', 'description' => '手提长(单位:厘米)', 'type' => 'integer', 'format' => 'int32', 'example' => '55'], + 'carry_width' => ['title' => '手提宽(单位:厘米)', 'description' => '手提宽(单位:厘米)', 'type' => 'integer', 'format' => 'int32', 'example' => '40'], + 'carry_height' => ['title' => '手提高(单位:厘米)', 'description' => '手提高(单位:厘米)', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'carry_sum_of_length_width_height' => ['title' => '手提三边之和(单位:厘米)', 'description' => '手提三边之和(单位:厘米)', 'type' => 'integer', 'format' => 'int32', 'example' => '115'], + 'length' => ['title' => '托运长(单位:厘米)', 'description' => '托运长(单位:厘米)', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'width' => ['title' => '托运宽(单位:厘米)', 'description' => '托运宽(单位:厘米)', 'type' => 'integer', 'format' => 'int32', 'example' => '40'], + 'height' => ['title' => '托运高(单位:厘米)', 'description' => '托运高(单位:厘米)', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'sum_of_length_width_height' => ['title' => '托运三边之和(单位:厘米)', 'description' => '托运三边之和(单位:厘米)', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], ], 'description' => '乘客类型-免费行李额映射关系', ], @@ -11624,11 +4275,7 @@ 'title' => '航段ID列表 这些航段ID使用同一个退改签规则', 'description' => '航段ID列表 这些航段ID使用同一个退改签规则', 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], ], 'refund_change_rule_map' => [ 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿', @@ -11644,60 +4291,16 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => 'true', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => 'true'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], + 'description' => '', ], ], 'refund_rule_part_unused_list' => [ @@ -11707,60 +4310,16 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_refund' => [ - 'title' => '起飞前X-Y小时(天) 可否退票', - 'description' => '起飞前X-Y小时(天) 可否退票', - 'type' => 'boolean', - 'example' => 'true', - ], - 'refund_fee' => [ - 'title' => '起飞前X-Y小时(天) 退票手续费', - 'description' => '起飞前X-Y小时(天) 退票手续费', - 'type' => 'number', - 'format' => 'double', - 'example' => '200', - ], - 'can_return_all_tax' => [ - 'title' => '起飞前X-Y小时(天) 是否全额退税', - 'description' => '起飞前X-Y小时(天) 是否全额退税', - 'type' => 'boolean', - 'example' => 'true', - ], - 'return_part_tax_fee' => [ - 'title' => '起飞前X-Y小时(天) 可部分退税金额', - 'description' => '起飞前X-Y小时(天) 可部分退税金额', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'description' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_refund' => ['title' => '起飞前X-Y小时(天) 可否退票', 'description' => '起飞前X-Y小时(天) 可否退票', 'type' => 'boolean', 'example' => 'true'], + 'refund_fee' => ['title' => '起飞前X-Y小时(天) 退票手续费', 'description' => '起飞前X-Y小时(天) 退票手续费', 'type' => 'number', 'format' => 'double', 'example' => '200'], + 'can_return_all_tax' => ['title' => '起飞前X-Y小时(天) 是否全额退税', 'description' => '起飞前X-Y小时(天) 是否全额退税', 'type' => 'boolean', 'example' => 'true'], + 'return_part_tax_fee' => ['title' => '起飞前X-Y小时(天) 可部分退税金额', 'description' => '起飞前X-Y小时(天) 可部分退税金额', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], + 'description' => '', ], ], 'change_rule_in_unused_list' => [ @@ -11770,47 +4329,14 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], + 'description' => '', ], ], 'change_rule_out_unused_list' => [ @@ -11820,47 +4346,14 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'time_unit' => [ - 'title' => '时间单位:day/hour', - 'description' => '时间单位:day/hour', - 'type' => 'string', - 'example' => 'hour', - ], - 'rule_start_time' => [ - 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '36', - ], - 'rule_end_time' => [ - 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'can_change' => [ - 'title' => '起飞前X-Y小时(天) 可否可以改签', - 'description' => '起飞前X-Y小时(天) 可否可以改签', - 'type' => 'boolean', - 'example' => 'true', - ], - 'change_fee' => [ - 'title' => '起飞前X-Y小时(天) 改签费', - 'description' => '起飞前X-Y小时(天) 改签费', - 'type' => 'number', - 'format' => 'double', - 'example' => '100', - ], + 'type' => ['title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'description' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'time_unit' => ['title' => '时间单位:day/hour', 'description' => '时间单位:day/hour', 'type' => 'string', 'example' => 'hour'], + 'rule_start_time' => ['title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '36'], + 'rule_end_time' => ['title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'description' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'can_change' => ['title' => '起飞前X-Y小时(天) 可否可以改签', 'description' => '起飞前X-Y小时(天) 可否可以改签', 'type' => 'boolean', 'example' => 'true'], + 'change_fee' => ['title' => '起飞前X-Y小时(天) 改签费', 'description' => '起飞前X-Y小时(天) 改签费', 'type' => 'number', 'format' => 'double', 'example' => '100'], ], + 'description' => '', ], ], ], @@ -11882,19 +4375,9 @@ 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则', 'description' => '航段ID列表 这些航段ID使用同一个行李直挂规则', 'type' => 'array', - 'items' => [ - 'description' => 'segment_id', - 'type' => 'string', - 'example' => 'HO1295-PVG-MFM-20230310', - ], - ], - 'luggage_direct_info_type' => [ - 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', - 'description' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'items' => ['description' => 'segment_id', 'type' => 'string', 'example' => 'HO1295-PVG-MFM-20230310'], ], + 'luggage_direct_info_type' => ['title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', 'description' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -11903,31 +4386,14 @@ 'description' => '报价属性', 'type' => 'object', 'properties' => [ - 'supply_source_type' => [ - 'title' => '供给来源类型 1:自营;2:代理人;3:旗舰店', - 'description' => '供给来源类型 1:自营;2:代理人;3:旗舰店', - 'type' => 'string', - 'example' => '1', - ], + 'supply_source_type' => ['title' => '供给来源类型 1:自营;2:代理人;3:旗舰店', 'description' => '供给来源类型 1:自营;2:代理人;3:旗舰店', 'type' => 'string', 'example' => '1'], 'issue_time_info' => [ 'title' => '出票时效相关', 'description' => '出票时效相关', 'type' => 'object', 'properties' => [ - 'issue_time_limit' => [ - 'title' => '预计出票时长,单位:分钟', - 'description' => '预计出票时长,单位:分钟', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'issue_ticket_type' => [ - 'title' => '出票类型 1:支付后; 2起飞前;-1未知', - 'description' => '出票类型 1:支付后; 2起飞前;-1未知', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'issue_time_limit' => ['title' => '预计出票时长,单位:分钟', 'description' => '预计出票时长,单位:分钟', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'issue_ticket_type' => ['title' => '出票类型 1:支付后; 2起飞前;-1未知', 'description' => '出票类型 1:支付后; 2起飞前;-1未知', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], @@ -11937,19 +4403,504 @@ ], ], ], - 'error_data' => [ - 'title' => '错误处理携带数据', - 'description' => '错误处理携带数据', - 'type' => 'any', - 'example' => 'null', - ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], ], ], ], ], + 'title' => 'StandardSearch', + 'changeSet' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"solution_list\\": [\\n {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TUxxx\\",\\n \\"adult_price\\": 300,\\n \\"adult_tax\\": 30,\\n \\"child_price\\": 200,\\n \\"child_tax\\": 20,\\n \\"infant_price\\": 100,\\n \\"infant_tax\\": 10,\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 10,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 5,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true,\\n \\"carry_length\\": 55,\\n \\"carry_width\\": 40,\\n \\"carry_height\\": 20,\\n \\"carry_sum_of_length_width_height\\": 115,\\n \\"length\\": 60,\\n \\"width\\": 40,\\n \\"height\\": 60,\\n \\"sum_of_length_width_height\\": 200\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"1\\",\\n \\"issue_time_info\\": {\\n \\"issue_time_limit\\": 60,\\n \\"issue_ticket_type\\": 1\\n }\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', - 'title' => '(未开放)', + ], + 'Ticketing' => [ + 'summary' => '支付出票。', + 'path' => '/airticket/v1/trade/action-ticketing', + 'methods' => ['post'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'order_num', + 'in' => 'formData', + 'schema' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '496***2617111'], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopBaseRes<TicketingRes, Object>', + 'description' => 'PopBaseRes<TicketingRes, Object>', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => [ + 'title' => '正确处理返回数据', + 'description' => '正确处理返回数据', + 'type' => 'object', + 'properties' => [ + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '496***2617111'."\n"], + 'transaction_no' => ['title' => '交易流水号', 'description' => '交易流水号', 'type' => 'string', 'example' => 'hkduendkd-2023-dj0'], + ], + ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0,\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'Ticketing', + ], + 'TicketingCheck' => [ + 'summary' => 'Ticketing 前检查,该接口是可选使用。', + 'path' => '/airticket/v1/trade/action-ticketing-check', + 'methods' => ['post'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'order_num', + 'in' => 'formData', + 'schema' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '496***2617111'], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopBaseRes<TicketingCheckRes, Object>', + 'description' => 'PopBaseRes<TicketingCheckRes, Object>', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => [ + 'title' => '正确处理返回数据', + 'description' => '正确处理返回数据', + 'type' => 'object', + 'properties' => [ + 'order_num' => ['title' => '订单号', 'description' => '订单号', 'type' => 'integer', 'format' => 'int64', 'example' => '496***2617111'], + ], + ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'TicketingCheck', + 'description' => 'Ticketing 前检查,该接口是可选使用。', + ], + 'TransitVisa' => [ + 'summary' => '航程过境签信息查询,接口输入航程信息,返回乘坐该航程是否存在过境签要求。只有中转/经停才是有效入参(中转/经停经过第三国),当前支持的乘客默认为中国大陆旅客。', + 'path' => '/airticket/v1/flight-data/transit-visa', + 'methods' => ['get'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'accessTokenAuth' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'flight_segment_param_list', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '航段列表,列表中航段构成一个航程', + 'description' => '航段列表,列表中航段构成一个航程。size<=2。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'departure_airport' => ['title' => '出发机场三字码', 'description' => '出发机场三字码', 'type' => 'string', 'required' => true, 'example' => 'HGH'], + 'arrival_airport' => ['title' => '到达机场三字码', 'description' => '到达机场三字码', 'type' => 'string', 'required' => true, 'example' => 'SIN'], + 'departure_terminal' => ['title' => '出发航站楼', 'description' => '出发航站楼', 'type' => 'string', 'required' => false, 'example' => 'T1'], + 'arrival_terminal' => ['title' => '到达航站楼', 'description' => '到达航站楼', 'type' => 'string', 'required' => false, 'example' => 'T1'], + 'departure_time' => ['title' => '出发时间,13位时间戳', 'description' => '出发时间,13位时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1705285430445'], + 'arrival_time' => ['title' => '到达时间,13位时间戳', 'description' => '到达时间,13位时间戳', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1705285430445'], + 'stop_city_list' => ['title' => '经停城市三字码', 'description' => '经停城市三字码', 'type' => 'string', 'required' => false, 'example' => 'SEL,HKG'], + 'marketing_airline' => ['title' => '市场方航司', 'description' => '市场方航司', 'type' => 'string', 'required' => true, 'example' => 'CZ'], + 'operating_airline' => ['title' => '承运方航司', 'description' => '承运方航司', 'type' => 'string', 'required' => false, 'example' => 'CZ'], + 'ticketing_airline' => ['title' => '出票方航司', 'description' => '出票方航司', 'type' => 'string', 'required' => false, 'example' => 'CZ'], + 'marketing_flight_no' => ['title' => '航班号', 'description' => '航班号', 'type' => 'string', 'required' => true, 'example' => 'CZ616'], + 'code_share' => ['title' => '是否共享', 'description' => '是否共享', 'type' => 'boolean', 'required' => true, 'example' => 'true', 'default' => 'false'], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'x-acs-airticket-access-token', + 'in' => 'header', + 'schema' => ['title' => 'access_token', 'description' => 'access_token', 'type' => 'string', 'required' => true, 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii'], + ], + [ + 'name' => 'x-acs-airticket-language', + 'in' => 'header', + 'schema' => ['title' => '多语言 默认取买家账号配置', 'description' => '多语言 默认取买家账号配置', 'type' => 'string', 'required' => false, 'example' => 'en_US'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PopBaseRes<List<VisaRemark>, Object>', + 'description' => 'PopBaseRes<List<VisaRemark>, Object>', + 'type' => 'object', + 'properties' => [ + 'status' => ['title' => 'http 请求成功,status 值均为 200', 'description' => 'http 请求成功,status 值均为 200', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'error_code' => ['title' => '业务错误码', 'description' => '业务错误码', 'type' => 'string', 'example' => 'null'], + 'error_msg' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'success' => ['title' => '是否正确', 'description' => '是否正确', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['title' => '请求 RequestId', 'description' => '请求 RequestId', 'type' => 'string', 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B'], + 'data' => [ + 'title' => '正确处理返回数据', + 'description' => '正确处理返回数据', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'city_code' => ['title' => '经停/中转城市三字码', 'description' => '经停/中转城市三字码', 'type' => 'string', 'example' => 'HGH'], + 'visa_type' => ['title' => '过境签类型,0:无需过境签,1:需要过境签', 'description' => '过境签类型,0:无需过境签,1:需要过境签', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], + ], + 'error_data' => ['title' => '错误处理携带数据', 'description' => '错误处理携带数据', 'type' => 'any', 'example' => 'null'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": [\\n {\\n \\"city_code\\": \\"HGH\\",\\n \\"visa_type\\": 1\\n }\\n ],\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]', + 'title' => 'TransitVisa', + 'description' => '航程过境签信息查询,接口输入航程信息,返回乘坐该航程是否存在过境签要求。只有中转/经停才是有效入参(中转/经停经过第三国),当前支持的乘客默认为中国大陆旅客。', ], ], 'endpoints' => [], + 'errorCodes' => [], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2026-04-27T05:48:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2026-04-22T03:46:26.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Pricing'], + ['description' => 'OpenAPI 下线', 'api' => 'OrderDetail'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2025-11-18T06:20:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Pricing'], + ['description' => 'OpenAPI 下线', 'api' => 'OrderDetail'], + ], + 'createdAt' => '2025-11-18T06:10:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Pricing'], + ['description' => 'OpenAPI 下线', 'api' => 'OrderDetail'], + ], + 'createdAt' => '2025-11-18T06:10:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Pricing'], + ['description' => 'OpenAPI 下线', 'api' => 'OrderDetail'], + ], + 'createdAt' => '2025-11-12T04:01:07.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Pricing'], + ['description' => 'OpenAPI 下线', 'api' => 'OrderDetail'], + ], + 'createdAt' => '2025-11-12T03:58:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Pricing'], + ['description' => 'OpenAPI 下线', 'api' => 'OrderDetail'], + ], + 'createdAt' => '2025-11-12T03:58:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-11-06T09:10:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-11-06T03:52:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-11-04T11:41:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'OrderDetail'], + ['description' => 'OpenAPI 下线', 'api' => 'Pricing'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Pricing'], + ['description' => 'OpenAPI 下线', 'api' => 'OrderDetail'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-10-24T05:51:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'OrderDetail'], + ['description' => 'OpenAPI 下线', 'api' => 'Pricing'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Pricing'], + ['description' => 'OpenAPI 下线', 'api' => 'OrderDetail'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-10-24T05:51:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'ChangeConfirm'], + ['description' => 'OpenAPI 下线', 'api' => 'Ticketing'], + ['description' => 'OpenAPI 下线', 'api' => 'Book'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2025-09-29T07:26:39.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'ChangeConfirm'], + ['description' => 'OpenAPI 下线', 'api' => 'Ticketing'], + ['description' => 'OpenAPI 下线', 'api' => 'Book'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2025-09-29T07:26:39.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-07-08T02:11:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-07-08T02:10:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'Enrich'], + ['description' => '响应参数发生变更', 'api' => 'Search'], + ], + 'createdAt' => '2025-06-16T13:47:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'Enrich'], + ['description' => '响应参数发生变更', 'api' => 'Search'], + ], + 'createdAt' => '2025-06-16T13:47:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-06-16T13:45:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-06-16T13:45:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2025-06-16T13:20:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2025-06-16T13:20:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-06-16T06:40:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2025-06-16T04:09:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2025-06-16T04:09:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2025-06-16T04:09:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2025-06-16T04:09:44.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2025-06-16T04:09:44.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-06-16T03:47:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ['description' => 'OpenAPI 下线', 'api' => 'Enrich'], + ], + 'createdAt' => '2025-06-16T01:54:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'Search'], + ], + 'createdAt' => '2025-06-13T06:12:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'ChangeApply'], + ], + 'createdAt' => '2025-05-08T09:47:18.000Z', + 'description' => '', + ], + ], ]; |
