{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-airticketopen/account-flow-list":{"get":{"operationId":"cloud_aliyun_airticketopen_account_flow_list","summary":"Queries the account fund flow list","description":"GET /airticket/v1/account/flow-list","tags":["cloud"],"parameters":[{"name":"utc_begin_time","in":"query","required":true,"description":"The start search timestamp, effective to the day. Specify a 13-digit UTC timestamp","schema":{"type":"integer","description":"The start search timestamp, effective to the day. Specify a 13-digit UTC timestamp"},"example":"1677427200000"},{"name":"day_num","in":"query","required":true,"description":"The number of days to search. Maximum value: 30. Valid values: 0 to 30","schema":{"type":"integer","description":"The number of days to search. Maximum value: 30. Valid values: 0 to 30"},"example":"0"},{"name":"page_index","in":"query","required":false,"description":"The page index","schema":{"type":"integer","description":"The page index"},"example":"1"},{"name":"page_size","in":"query","required":false,"description":"The page size","schema":{"type":"integer","description":"The page size"},"example":"20"},{"name":"x-acs-airticket-access-token","in":"query","required":true,"description":"access_token","schema":{"type":"string","description":"access_token"}},{"name":"x-acs-airticket-language","in":"query","required":false,"description":"The language. Default value: the language configured for the buyer account","schema":{"type":"string","description":"The language. Default value: the language configured for the buyer account"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ancillary-suggest":{"post":{"operationId":"cloud_aliyun_airticketopen_ancillary_suggest","summary":"Recommends ancillary products","description":"POST /airticket/v1/ancillary/action-suggest","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["solution_id","x-acs-airticket-access-token"],"properties":{"solution_id":{"type":"string","description":"The solution_id of the flight"},"x-acs-airticket-access-token":{"type":"string","description":"The access_token"},"x-acs-airticket-language":{"type":"string","description":"The language setting. Defaults to the buyer account configuration"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/book":{"post":{"operationId":"cloud_aliyun_airticketopen_book","summary":"Creates a booking order","description":"POST /airticket/v1/trade/action-book","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["solution_id","out_order_num","contact","passenger_list","x-acs-airticket-access-token"],"properties":{"solution_id":{"type":"string","description":"solution_id"},"out_order_num":{"type":"string","description":"The external order number"},"contact":{"type":"string","description":"The contact information (JSON-encoded)"},"passenger_list":{"type":"string","description":"The passenger list (JSON-encoded)"},"passenger_ancillary_purchase_map_list":{"type":"string","description":"The passenger-ancillary purchase relationship (JSON-encoded)"},"x-acs-airticket-access-token":{"type":"string","description":"access_token"},"x-acs-airticket-language":{"type":"string","description":"The language. The default value is the language configured for the buyer account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/cancel":{"post":{"operationId":"cloud_aliyun_airticketopen_cancel","summary":"Cancels an unpaid order","description":"POST /airticket/v1/trade/action-cancel","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["order_num","x-acs-airticket-access-token"],"properties":{"order_num":{"type":"integer","description":"The order number"},"x-acs-airticket-access-token":{"type":"string","description":"access_token"},"x-acs-airticket-language":{"type":"string","description":"The language. The buyer account configuration is used by default"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/change-apply":{"post":{"operationId":"cloud_aliyun_airticketopen_change_apply","summary":"Submits a change application","description":"POST /airticket/v1/change/action-apply","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["order_num","type","change_passenger_list","changed_journeys","contact","x-acs-airticket-access-token"],"properties":{"order_num":{"type":"integer","description":"The order number"},"type":{"type":"integer","description":"The change type. Valid values: 0: voluntary change 1: flight schedule change or flight cancellation"},"change_passenger_list":{"type":"string","description":"The list of passengers for the change (JSON-encoded)"},"changed_journeys":{"type":"string","description":"The target journey for the change (JSON-encoded)"},"contact":{"type":"string","description":"The contact information for the change (JSON-encoded)"},"remark":{"type":"string","description":"The buyer remarks"},"x-acs-airticket-access-token":{"type":"string","description":"The access_token"},"x-acs-airticket-language":{"type":"string","description":"The language setting. Defaults to the buyer account configuration"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/change-cancel":{"post":{"operationId":"cloud_aliyun_airticketopen_change_cancel","summary":"Cancels a change order","description":"POST /airticket/v1/change/action-cancel","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["change_order_num","x-acs-airticket-access-token"],"properties":{"change_order_num":{"type":"integer","description":"The change order number"},"x-acs-airticket-access-token":{"type":"string","description":"access_token"},"x-acs-airticket-language":{"type":"string","description":"The language. By default, the language configured for the buyer account is used"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/change-confirm":{"post":{"operationId":"cloud_aliyun_airticketopen_change_confirm","summary":"Confirms a change order","description":"POST /airticket/v1/change/action-confirm","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["change_order_num","x-acs-airticket-access-token"],"properties":{"change_order_num":{"type":"integer","description":"The change order number"},"x-acs-airticket-access-token":{"type":"string","description":"access_token"},"x-acs-airticket-language":{"type":"string","description":"The language. The default value is the language configured for the buyer account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/change-detail":{"get":{"operationId":"cloud_aliyun_airticketopen_change_detail","summary":"Retrieves the details of a flight change order","description":"GET /airticket/v1/change/detail","tags":["cloud"],"parameters":[{"name":"change_order_num","in":"query","required":true,"description":"The change order number","schema":{"type":"integer","description":"The change order number"},"example":"4988430***950"},{"name":"x-acs-airticket-access-token","in":"query","required":true,"description":"The access_token","schema":{"type":"string","description":"The access_token"}},{"name":"x-acs-airticket-language","in":"query","required":false,"description":"The language. The buyer account configuration is used by default","schema":{"type":"string","description":"The language. The buyer account configuration is used by default"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/change-detail-list-of-buyer":{"get":{"operationId":"cloud_aliyun_airticketopen_change_detail_list_of_buyer","summary":"Performs a paged query with paging parameters to retrieve a list of brief change order information for a…","description":"GET /airticket/v1/change/buyer/detail-list","tags":["cloud"],"parameters":[{"name":"utc_create_begin","in":"query","required":false,"description":"The start time of change order creation, specified as a 13-digit UTC timestamp","schema":{"type":"integer","description":"The start time of change order creation, specified as a 13-digit UTC timestamp"},"example":"1677415276000"},{"name":"utc_create_end","in":"query","required":false,"description":"The end time of change order creation, specified as a 13-digit UTC timestamp","schema":{"type":"integer","description":"The end time of change order creation, specified as a 13-digit UTC timestamp"},"example":"1677415279000"},{"name":"page_index","in":"query","required":false,"description":"The page index","schema":{"type":"integer","description":"The page index"},"example":"1"},{"name":"page_size","in":"query","required":false,"description":"The number of entries per page","schema":{"type":"integer","description":"The number of entries per page"},"example":"10"},{"name":"x-acs-airticket-access-token","in":"query","required":true,"description":"access_token","schema":{"type":"string","description":"access_token"}},{"name":"x-acs-airticket-language","in":"query","required":false,"description":"The language. By default, the language configured for the buyer account is used","schema":{"type":"string","description":"The language. By default, the language configured for the buyer account is used"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/change-detail-list-of-order-num":{"get":{"operationId":"cloud_aliyun_airticketopen_change_detail_list_of_order_num","summary":"Queries the list of change orders by the original order number","description":"GET /airticket/v1/change/order-num/detail-list","tags":["cloud"],"parameters":[{"name":"order_num","in":"query","required":true,"description":"The order number","schema":{"type":"integer","description":"The order number"},"example":"4988430***700"},{"name":"page_index","in":"query","required":false,"description":"The page index","schema":{"type":"integer","description":"The page index"},"example":"1"},{"name":"page_size","in":"query","required":false,"description":"The page size","schema":{"type":"integer","description":"The page size"},"example":"20"},{"name":"x-acs-airticket-access-token","in":"query","required":true,"description":"The access token","schema":{"type":"string","description":"The access token"}},{"name":"x-acs-airticket-language","in":"query","required":false,"description":"The language. Defaults to the buyer account configuration","schema":{"type":"string","description":"The language. Defaults to the buyer account configuration"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/collect-flight-lowest-price":{"post":{"operationId":"cloud_aliyun_airticketopen_collect_flight_lowest_price","summary":"Collects lowest-price flight information","description":"POST /airticket/v1/data-collect/flight-lowest-price","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["lowest_price_flight_info_list","x-acs-airticket-access-token"],"properties":{"lowest_price_flight_info_list":{"type":"string","description":"The lowest-price flight information (JSON-encoded)"},"x-acs-airticket-access-token":{"type":"string","description":"The access_token"},"x-acs-airticket-language":{"type":"string","description":"The language. Defaults to the buyer account configuration"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/enrich":{"post":{"operationId":"cloud_aliyun_airticketopen_enrich","summary":"Find richer quote information for the itinerary, including free baggage allowance, refund and change rules,…","description":"POST /airticket/v1/trade/action-enrich","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["x-acs-airticket-access-token"],"properties":{"solution_id":{"type":"string","description":"solution_id returned by Search"},"adults":{"type":"integer","description":"Number of adult passengers 1-9"},"children":{"type":"integer","description":"Number of child passengers 0-9"},"infants":{"type":"integer","description":"Number of infant passengers 0-9"},"cabin_class":{"type":"string","description":"Cabin class ALL_CABIN: all cabin classes; Y: economy; FC: first class and business class; S: premium economy; YS: economy and premium…"},"journey_param_list":{"type":"string","description":"Journey information (JSON-encoded)"},"x-acs-airticket-access-token":{"type":"string","description":"access_token"},"x-acs-airticket-language":{"type":"string","description":"Multilingual, defaults to buyer account configuration"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/file-upload":{"post":{"operationId":"cloud_aliyun_airticketopen_file_upload","summary":"Uploads a file as an attachment image. The file size is limited to 300 KB or less","description":"POST /airticket/v1/attachment/action-upload","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["order_num","file_content","x-acs-airticket-access-token"],"properties":{"order_num":{"type":"integer","description":"The forward order number"},"file_content":{"type":"string","description":"The Base64-encoded string of the attachment image file. Supported image types: .jpg, .png, and .jpeg"},"x-acs-airticket-access-token":{"type":"string","description":"The access_token"},"x-acs-airticket-language":{"type":"string","description":"The language setting. Uses the buyer account configuration by default"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/flight-change-of-order":{"get":{"operationId":"cloud_aliyun_airticketopen_flight_change_of_order","summary":"Queries flight change information by order number","description":"GET /airticket/v1/flightchange/of-order","tags":["cloud"],"parameters":[{"name":"order_num","in":"query","required":true,"description":"The order number","schema":{"type":"integer","description":"The order number"},"example":"4966***617111"},{"name":"x-acs-airticket-access-token","in":"query","required":true,"description":"access_token","schema":{"type":"string","description":"access_token"}},{"name":"x-acs-airticket-language","in":"query","required":false,"description":"The multi-language setting. By default, the configuration of the buyer account is used","schema":{"type":"string","description":"The multi-language setting. By default, the configuration of the buyer account is used"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/get-token":{"get":{"operationId":"cloud_aliyun_airticketopen_get_token","summary":"Obtains a token for API calls. The token is valid for 2 hours","description":"GET /airticket/v1/token","tags":["cloud"],"parameters":[{"name":"app_key","in":"query","required":true,"description":"The appKey","schema":{"type":"string","description":"The appKey"},"example":"fu1bltcu3400iurywuri"},{"name":"app_secret","in":"query","required":true,"description":"The appSecret","schema":{"type":"string","description":"The appSecret"},"example":"ZzQ3MW1mb3E1ODAwI2ldUjYlWUdJn5YI"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/luggage-direct":{"get":{"operationId":"cloud_aliyun_airticketopen_luggage_direct","summary":"Queries luggage through-check information for an itinerary","description":"GET /airticket/v1/flight-data/luggage-direct","tags":["cloud"],"parameters":[{"name":"flight_segment_param_list","in":"query","required":false,"description":"The list of flight segments that constitute an itinerary. Maximum size: 2 (JSON-encoded)","schema":{"type":"string","description":"The list of flight segments that constitute an itinerary. Maximum size: 2 (JSON-encoded)"}},{"name":"x-acs-airticket-access-token","in":"query","required":true,"description":"The access token","schema":{"type":"string","description":"The access token"}},{"name":"x-acs-airticket-language","in":"query","required":false,"description":"The language. Defaults to the buyer account configuration","schema":{"type":"string","description":"The language. Defaults to the buyer account configuration"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/order-detail":{"get":{"operationId":"cloud_aliyun_airticketopen_order_detail","summary":"Queries order details","description":"GET /airticket/v1/trade/order-detail","tags":["cloud"],"parameters":[{"name":"order_num","in":"query","required":false,"description":"The order number","schema":{"type":"integer","description":"The order number"},"example":"4966***617111"},{"name":"out_order_num","in":"query","required":false,"description":"The external order number","schema":{"type":"string","description":"The external order number"},"example":"x091-2023-0220-j-0001"},{"name":"x-acs-airticket-access-token","in":"query","required":true,"description":"The access token","schema":{"type":"string","description":"The access token"}},{"name":"x-acs-airticket-language","in":"query","required":false,"description":"The language. Defaults to the buyer account configuration","schema":{"type":"string","description":"The language. Defaults to the buyer account configuration"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/order-list":{"get":{"operationId":"cloud_aliyun_airticketopen_order_list","summary":"Queries the order list","description":"GET /airticket/v1/trade/order-list","tags":["cloud"],"parameters":[{"name":"book_time_start","in":"query","required":true,"description":"The query start time. The value is a 13-digit UNIX timestamp","schema":{"type":"integer","description":"The query start time. The value is a 13-digit UNIX timestamp"},"example":"1677229005000"},{"name":"book_time_end","in":"query","required":true,"description":"The query end time. The value is a 13-digit UNIX timestamp","schema":{"type":"integer","description":"The query end time. The value is a 13-digit UNIX timestamp"},"example":"1677229006000"},{"name":"status","in":"query","required":false,"description":"The order status. Valid values: 2: order creation succeeded. 3: order paid. 4: order succeeded. 5: order closed","schema":{"type":"integer","description":"The order status. Valid values: 2: order creation succeeded. 3: order paid. 4: order succeeded. 5: order closed"},"example":"4"},{"name":"page_index","in":"query","required":false,"description":"The page index. The value starts from 1","schema":{"type":"integer","description":"The page index. The value starts from 1"},"example":"1"},{"name":"page_size","in":"query","required":false,"description":"The page size","schema":{"type":"integer","description":"The page size"},"example":"20"},{"name":"x-acs-airticket-access-token","in":"query","required":true,"description":"The access_token","schema":{"type":"string","description":"The access_token"}},{"name":"x-acs-airticket-language","in":"query","required":false,"description":"The language. Default value: the language configured for the buyer account","schema":{"type":"string","description":"The language. Default value: the language configured for the buyer account"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/pricing":{"post":{"operationId":"cloud_aliyun_airticketopen_pricing","summary":"Verifies seat availability and pricing. If the price has changed, the developer can proceed with Book at the…","description":"POST /airticket/v1/trade/action-pricing","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["solution_id","x-acs-airticket-access-token"],"properties":{"solution_id":{"type":"string","description":"solution_id"},"x-acs-airticket-access-token":{"type":"string","description":"access_token"},"x-acs-airticket-language":{"type":"string","description":"The language. Defaults to the buyer account configuration"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/refund-apply":{"post":{"operationId":"cloud_aliyun_airticketopen_refund_apply","summary":"Submits a refund application for an air ticket","description":"POST /airticket/v1/refund/action-apply","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["order_num","refund_type","refund_passenger_list","refund_journeys","x-acs-airticket-access-token"],"properties":{"order_num":{"type":"integer","description":"The order number"},"refund_type":{"type":"string","description":"The refund type. Attachments are required for involuntary refund applications (JSON-encoded)"},"refund_passenger_list":{"type":"string","description":"The list of passengers for the refund application (JSON-encoded)"},"refund_journeys":{"type":"string","description":"The journeys for the refund application (JSON-encoded)"},"x-acs-airticket-access-token":{"type":"string","description":"The access_token"},"x-acs-airticket-language":{"type":"string","description":"The language setting. Defaults to the buyer account configuration"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/refund-detail":{"get":{"operationId":"cloud_aliyun_airticketopen_refund_detail","summary":"Retrieves the details of a refund order","description":"GET /airticket/v1/refund/detail","tags":["cloud"],"parameters":[{"name":"refund_order_num","in":"query","required":true,"description":"The refund order number","schema":{"type":"integer","description":"The refund order number"},"example":"4966***617732"},{"name":"x-acs-airticket-access-token","in":"query","required":true,"description":"The access_token","schema":{"type":"string","description":"The access_token"}},{"name":"x-acs-airticket-language","in":"query","required":false,"description":"The language. Defaults to the buyer account configuration","schema":{"type":"string","description":"The language. Defaults to the buyer account configuration"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/refund-detail-list":{"get":{"operationId":"cloud_aliyun_airticketopen_refund_detail_list","summary":"Queries the details of refund orders","description":"GET /airticket/v1/refund/detail-list","tags":["cloud"],"parameters":[{"name":"order_num","in":"query","required":false,"description":"The order number","schema":{"type":"integer","description":"The order number"},"example":"49884*****950"},{"name":"refund_create_begin_time","in":"query","required":true,"description":"The start time for refund order creation. The value is a UTC timestamp","schema":{"type":"integer","description":"The start time for refund order creation. The value is a UTC timestamp"},"example":"1677229002000"},{"name":"refund_create_end_time","in":"query","required":true,"description":"The end time for refund order creation. The value is a UTC timestamp","schema":{"type":"integer","description":"The end time for refund order creation. The value is a UTC timestamp"},"example":"1677229005000"},{"name":"page_index","in":"query","required":false,"description":"The page index","schema":{"type":"integer","description":"The page index"},"example":"1"},{"name":"page_size","in":"query","required":false,"description":"The page size","schema":{"type":"integer","description":"The page size"},"example":"20"},{"name":"x-acs-airticket-access-token","in":"query","required":true,"description":"The access_token","schema":{"type":"string","description":"The access_token"}},{"name":"x-acs-airticket-language","in":"query","required":false,"description":"The language. Defaults to the buyer account configuration","schema":{"type":"string","description":"The language. Defaults to the buyer account configuration"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/search":{"post":{"operationId":"cloud_aliyun_airticketopen_search","summary":"Searches for flight quotes and returns the lowest price across multiple flights. Note that the response of…","description":"POST /airticket/v1/trade/action-search","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["air_legs","x-acs-airticket-access-token"],"properties":{"cabin_class":{"type":"string","description":"The cabin class. Valid values: ALL_CABIN: all cabin classes. Y: economy class. FC: first class and business class. S: premium economy…"},"air_legs":{"type":"string","description":"The journey array (JSON-encoded)"},"adults":{"type":"integer","description":"The number of adult passengers. Valid values: 1 to 9"},"children":{"type":"integer","description":"The number of child passengers. Valid values: 0 to 9"},"infants":{"type":"integer","description":"The number of infant passengers. Valid values: 0 to 9"},"search_control_options":{"type":"string","description":"The search control options. This parameter is optional (JSON-encoded)"},"x-acs-airticket-access-token":{"type":"string","description":"The access token"},"x-acs-airticket-language":{"type":"string","description":"The language. The default value is the language configured for the buyer account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/standard-search":{"post":{"operationId":"cloud_aliyun_airticketopen_standard_search","summary":"Search and quote prices, currently providing the lowest price across multiple flights. Note that this API…","description":"POST /airticket/v1/trade/action-standardsearch","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["air_legs","x-acs-airticket-access-token"],"properties":{"cabin_class":{"type":"string","description":"Defaults to ALL_CABIN if not specified. Cabin class ALL_CABIN: All cabin classes; Y: Economy class; FC: First class and Business class; S:…"},"air_legs":{"type":"string","description":"Journey array. At least one of departure_city and departure_airport_list must be non-empty; when departure_airport_list has values, they…"},"adults":{"type":"integer","description":"Number of adult passengers, range 1-9"},"children":{"type":"integer","description":"Number of child passengers, range 0-9"},"infants":{"type":"integer","description":"Number of infant passengers, range 0-9"},"search_control_options":{"type":"string","description":"Search control options, optional (JSON-encoded)"},"x-acs-airticket-access-token":{"type":"string","description":"access_token"},"x-acs-airticket-language":{"type":"string","description":"Language setting, defaults to buyer account configuration"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-apply-refund":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_apply_refund","summary":"Requests a refund","description":"POST /TicketApplyRefund","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DistributorOrderId","RefundReason","AccountNo"],"properties":{"DistributorOrderId":{"type":"string","description":"The distributor order ID"},"RefundReason":{"type":"string","description":"The refund reason"},"RefundRemark":{"type":"string","description":"The refund remark"},"AccountNo":{"type":"integer","description":"The distributor account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-cancel-order":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_cancel_order","summary":"Cancels an order","description":"POST /TicketCancelOrder","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DistributorOrderId","AccountNo"],"properties":{"DistributorOrderId":{"type":"string","description":"The distributor order ID"},"AccountNo":{"type":"integer","description":"The distributor account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-check-refund":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_check_refund","summary":"Checks refund eligibility","description":"POST /TicketCheckRefund","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DistributorOrderId","RefundReason","AccountNo"],"properties":{"DistributorOrderId":{"type":"string","description":"The distributor order ID"},"RefundReason":{"type":"string","description":"The reason for the refund"},"RefundRemark":{"type":"string","description":"The remarks for the refund"},"AccountNo":{"type":"integer","description":"The distributor account number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-create-order":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_create_order","summary":"Creates an order","description":"POST /TicketCreateOrder","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DistributorOrderId","OrderProduct","Quantity","TotalDistributionPrice","Contact","AccountNo"],"properties":{"DistributorOrderId":{"type":"string","description":"The distributor order ID. This value must be unique"},"OrderProduct":{"type":"string","description":"The ticket product (JSON-encoded)"},"Quantity":{"type":"integer","description":"The purchase quantity"},"TotalDistributionPrice":{"type":"string","description":"The total distribution price of the order (JSON-encoded)"},"Contact":{"type":"string","description":"The contact person (JSON-encoded)"},"Travelers":{"type":"string","description":"The list of travelers (JSON-encoded)"},"AccountNo":{"type":"integer","description":"The distributor account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-page-query-product":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_page_query_product","summary":"Queries ticket products by paging","description":"POST /TicketPageQueryProduct","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccountNo"],"properties":{"ScenicId":{"type":"integer","description":"The ID of the scenic spot"},"PageNo":{"type":"integer","description":"The page number"},"PageSize":{"type":"integer","description":"The number of entries per page"},"AccountNo":{"type":"integer","description":"The account number of the distributor"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-page-query-scenic":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_page_query_scenic","summary":"Queries scenic spots with paging","description":"POST /TicketPageQueryScenic","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccountNo"],"properties":{"PageNo":{"type":"integer","description":"The page number"},"PageSize":{"type":"integer","description":"The number of entries per page"},"AccountNo":{"type":"integer","description":"The reseller account number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-pay-order":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_pay_order","summary":"Pays an order","description":"POST /TicketPayOrder","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DistributorOrderId","AccountNo"],"properties":{"DistributorOrderId":{"type":"string","description":"The distributor order ID"},"AccountNo":{"type":"integer","description":"The distributor account number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-query-order":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_query_order","summary":"Queries an order","description":"POST /TicketQueryOrder","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DistributorOrderId","AccountNo"],"properties":{"DistributorOrderId":{"type":"string","description":"The distributor order ID"},"AccountNo":{"type":"integer","description":"The distributor account number"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-query-price-stock":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_query_price_stock","summary":"Queries the ticket pricing inventory","description":"POST /TicketQueryPriceStock","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ProductId","AccountNo"],"properties":{"ProductId":{"type":"string","description":"The product ID"},"StartDate":{"type":"string","description":"The start date of the query. Format: yyyy-MM-dd"},"EndDate":{"type":"string","description":"The end date of the query. Format: yyyy-MM-dd"},"AccountNo":{"type":"integer","description":"The distributor account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-query-product":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_query_product","summary":"Queries ticket products","description":"POST /TicketQueryProduct","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ProductId","AccountNo"],"properties":{"ProductId":{"type":"string","description":"The product ID"},"AccountNo":{"type":"integer","description":"The distributor account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-query-refund-order":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_query_refund_order","summary":"Queries refund orders","description":"POST /TicketQueryRefundOrder","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["DistributorOrderId","AccountNo"],"properties":{"DistributorOrderId":{"type":"string","description":"The distributor order ID"},"AccountNo":{"type":"integer","description":"The distributor account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-query-scenic":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_query_scenic","summary":"Queries scenic spots","description":"POST /TicketQueryScenic","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ScenicId","AccountNo"],"properties":{"ScenicId":{"type":"integer","description":"The ID of the scenic spot"},"AccountNo":{"type":"integer","description":"The distributor account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticket-query-shelf":{"post":{"operationId":"cloud_aliyun_airticketopen_ticket_query_shelf","summary":"Queries the shelves","description":"POST /TicketQueryShelf","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ScenicId","AccountNo"],"properties":{"ScenicId":{"type":"integer","description":"The scenic spot ID"},"AccountNo":{"type":"integer","description":"The distributor account"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticketing":{"post":{"operationId":"cloud_aliyun_airticketopen_ticketing","summary":"Processes payment and issues tickets","description":"POST /airticket/v1/trade/action-ticketing","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["order_num","x-acs-airticket-access-token"],"properties":{"order_num":{"type":"integer","description":"The order number"},"x-acs-airticket-access-token":{"type":"string","description":"access_token"},"x-acs-airticket-language":{"type":"string","description":"Specifies the language. By default, the language configuration of the buyer account is used"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/ticketing-check":{"post":{"operationId":"cloud_aliyun_airticketopen_ticketing_check","summary":"Performs a pre-ticketing check. This operation is optional","description":"POST /airticket/v1/trade/action-ticketing-check","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["order_num","x-acs-airticket-access-token"],"properties":{"order_num":{"type":"integer","description":"The order number"},"x-acs-airticket-access-token":{"type":"string","description":"access_token"},"x-acs-airticket-language":{"type":"string","description":"The language. Defaults to the buyer account configuration"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/transit-visa":{"get":{"operationId":"cloud_aliyun_airticketopen_transit_visa","summary":"Queries transit visa requirements for a flight itinerary. You provide flight information, and the API…","description":"GET /airticket/v1/flight-data/transit-visa","tags":["cloud"],"parameters":[{"name":"flight_segment_param_list","in":"query","required":false,"description":"The list of flight segments that constitute an itinerary. Maximum size: 2 (JSON-encoded)","schema":{"type":"string","description":"The list of flight segments that constitute an itinerary. Maximum size: 2 (JSON-encoded)"}},{"name":"x-acs-airticket-access-token","in":"query","required":true,"description":"The access token","schema":{"type":"string","description":"The access token"}},{"name":"x-acs-airticket-language","in":"query","required":false,"description":"The language. Defaults to the buyer account configuration","schema":{"type":"string","description":"The language. Defaults to the buyer account configuration"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/apply-refund":{"post":{"operationId":"cloud_aliyun_airticketopen_apply_refund","summary":"Applies for a refund","description":"POST /applyRefund","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["OrderNo","AccountNo"],"properties":{"OrderNo":{"type":"string","description":"The sales order number"},"RefundReason":{"type":"string","description":"The reason for the refund"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/batch-get-hotel-detail":{"post":{"operationId":"cloud_aliyun_airticketopen_batch_get_hotel_detail","summary":"Queries hotel details in batches","description":"POST /batchGetHotelDetail","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["StandardHotelIds","AccountNo"],"properties":{"StandardHotelIds":{"type":"string","description":"The list of standard hotel IDs. You can specify up to 100 IDs (JSON-encoded)"},"Language":{"type":"string","description":"The language, such as en or zh"},"AccountNo":{"type":"integer","description":"The ID of the distributor account"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/cancel-or-refund":{"post":{"operationId":"cloud_aliyun_airticketopen_cancel_or_refund","summary":"Cancels or refunds an order","description":"POST /cancelOrRefund","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["OrderNo","AccountNo"],"properties":{"OrderNo":{"type":"string","description":"The sales order number"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/cancel-order":{"post":{"operationId":"cloud_aliyun_airticketopen_cancel_order","summary":"Cancels an order","description":"POST /cancelOrder","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["OrderNo","AccountNo"],"properties":{"OrderNo":{"type":"string","description":"The sales order number"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/create-and-pay":{"post":{"operationId":"cloud_aliyun_airticketopen_create_and_pay","summary":"Creates an order and processes payment","description":"POST /createAndPay","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ItemOfferId","Contact","Guests","RoomCount","AccountNo"],"properties":{"ItemOfferId":{"type":"string","description":"The offer ID"},"Contact":{"type":"string","description":"The contact information (JSON-encoded)"},"Guests":{"type":"string","description":"The guests, grouped by room (JSON-encoded)"},"RoomCount":{"type":"integer","description":"The number of rooms"},"ExternalOrderNo":{"type":"string","description":"The external order number"},"AccountNo":{"type":"integer","description":"The reseller account ID"},"TracerId":{"type":"string","description":"TracerId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/create-order":{"post":{"operationId":"cloud_aliyun_airticketopen_create_order","summary":"Creates an order","description":"POST /createOrder","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ItemOfferId","Contact","Guests","RoomCount","AccountNo"],"properties":{"ItemOfferId":{"type":"string","description":"The offer ID"},"Contact":{"type":"string","description":"The contact information (JSON-encoded)"},"Guests":{"type":"string","description":"The guests, grouped by room (JSON-encoded)"},"RoomCount":{"type":"integer","description":"The number of rooms"},"ExternalOrderNo":{"type":"string","description":"The external order number"},"AccountNo":{"type":"integer","description":"The reseller account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-apply-refund":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_apply_refund","summary":"Applies for a refund","description":"POST /globalHotelApplyRefund","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["OrderNo","AccountNo"],"properties":{"OrderNo":{"type":"string","description":"The sales order number"},"RefundReason":{"type":"string","description":"The refund reason"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-batch-get-hotel-detail":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_batch_get_hotel_detail","summary":"Queries hotel details in batches","description":"POST /globalHotelBatchGetHotelDetail","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["StandardHotelIds","AccountNo"],"properties":{"StandardHotelIds":{"type":"string","description":"The list of standard hotel IDs. A maximum of 100 IDs are supported (JSON-encoded)"},"Language":{"type":"string","description":"The language for the response, such as en or zh"},"AccountNo":{"type":"integer","description":"The ID of the distributor account"},"TracerId":{"type":"string","description":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-cancel-or-refund":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_cancel_or_refund","summary":"Cancels or refunds an order","description":"POST /globalHotelCancelOrRefund","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["OrderNo","AccountNo"],"properties":{"OrderNo":{"type":"string","description":"The sales order number"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-cancel-order":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_cancel_order","summary":"Cancels an order","description":"POST /globalHotelCancelOrder","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["OrderNo","AccountNo"],"properties":{"OrderNo":{"type":"string","description":"The sales order number"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-create-and-pay":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_create_and_pay","summary":"Creates an order and processes the payment","description":"POST /globalHotelCreateAndPay","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ItemOfferId","Contact","Guests","RoomCount","ExternalOrderNo","AccountNo"],"properties":{"ItemOfferId":{"type":"string","description":"The offer ID"},"Contact":{"type":"string","description":"The contact information (JSON-encoded)"},"Guests":{"type":"string","description":"The guests grouped by room (JSON-encoded)"},"RoomCount":{"type":"integer","description":"The number of rooms"},"ExternalOrderNo":{"type":"string","description":"The external order number"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-create-order":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_create_order","summary":"Creates an order","description":"POST /globalHotelCreateOrder","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ItemOfferId","Contact","Guests","RoomCount","ExternalOrderNo","AccountNo"],"properties":{"ItemOfferId":{"type":"string","description":"The offer ID"},"Contact":{"type":"string","description":"The contact information (JSON-encoded)"},"Guests":{"type":"string","description":"The guests grouped by room (JSON-encoded)"},"RoomCount":{"type":"integer","description":"The number of rooms"},"ExternalOrderNo":{"type":"string","description":"The external order number"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-pay":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_pay","summary":"Processes a distribution payment","description":"POST /globalHotelPay","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["OrderNo","AccountNo"],"properties":{"OrderNo":{"type":"string","description":"The sales order number"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-query-availability":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_query_availability","summary":"Queries the availability of hotel rate plans","description":"POST /globalHotelQueryAvailability","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["StandardHotelIds","CheckInDate","CheckOutDate","AdultCount","RoomCount","AccountNo"],"properties":{"StandardHotelIds":{"type":"string","description":"The list of standard hotel IDs (JSON-encoded)"},"CheckInDate":{"type":"string","description":"The check-in date in the format of yyyy-MM-dd"},"CheckOutDate":{"type":"string","description":"The check-out date in the format of yyyy-MM-dd"},"AdultCount":{"type":"integer","description":"The number of adults"},"ChildCount":{"type":"integer","description":"The number of children"},"ChildrenAges":{"type":"string","description":"The list of children's ages (JSON-encoded)"},"RoomCount":{"type":"integer","description":"The number of rooms"},"AccountNo":{"type":"integer","description":"The account ID of the distributor"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-query-calendar-availability":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_query_calendar_availability","summary":"Queries calendar-based rate availability for hotels in batch","description":"POST /globalHotelQueryCalendarAvailability","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["StandardHotelIds","CheckInDateStart","CheckInDateEnd","AdultCount","RoomCount","AccountNo"],"properties":{"StandardHotelIds":{"type":"string","description":"The list of standard hotel IDs on the platform. A maximum of 10 IDs are supported (JSON-encoded)"},"CheckInDateStart":{"type":"string","description":"The start date of the check-in date range to query, in the yyyy-MM-dd format. The date cannot be earlier than the current day"},"CheckInDateEnd":{"type":"string","description":"The end date of the check-in date range to query, in the yyyy-MM-dd format. The date cannot be earlier than the start date. The date range…"},"AdultCount":{"type":"integer","description":"The number of adults"},"ChildCount":{"type":"integer","description":"The number of children"},"ChildrenAges":{"type":"string","description":"The list of children ages (JSON-encoded)"},"RoomCount":{"type":"integer","description":"The number of rooms"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-query-order":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_query_order","summary":"Queries an order","description":"POST /globalHotelQueryOrder","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccountNo"],"properties":{"OrderNo":{"type":"string","description":"The sales order number. At least one of OrderNo and ExternalOrderNo is required"},"ExternalOrderNo":{"type":"string","description":"The external order number. At least one of ExternalOrderNo and OrderNo is required"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TracerId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-search-city-page":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_search_city_page","summary":"Queries city administrative divisions by paging (in Chinese and English)","description":"POST /globalHotelSearchCityPage","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Count","AccountNo"],"properties":{"Start":{"type":"integer","description":"The pagination offset. Starts from 0"},"Count":{"type":"integer","description":"The number of entries per page"},"CountryCode":{"type":"string","description":"The country code in ISO 3166-1 alpha-2 format"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-search-hotel-list":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_search_hotel_list","summary":"Performs a paged query to retrieve the list of hotels by city with paging support","description":"POST /globalHotelSearchHotelList","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CityCode","AccountNo"],"properties":{"CityCode":{"type":"string","description":"The city code"},"PageNo":{"type":"integer","description":"The page number. Pages start from 1"},"PageSize":{"type":"integer","description":"The number of entries per page"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"traceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/global-hotel-validate-price":{"post":{"operationId":"cloud_aliyun_airticketopen_global_hotel_validate_price","summary":"Validates the price of a hotel offer","description":"POST /globalHotelValidatePrice","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ItemOfferKey","RoomCount","Adults","AccountNo"],"properties":{"ItemOfferKey":{"type":"string","description":"The offer key"},"RoomCount":{"type":"integer","description":"The number of rooms"},"Adults":{"type":"integer","description":"The total number of adults"},"Children":{"type":"integer","description":"The total number of children"},"ChildrenAges":{"type":"string","description":"The list of children's ages (JSON-encoded)"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TracerId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/pay":{"post":{"operationId":"cloud_aliyun_airticketopen_pay","summary":"Processes a distribution payment","description":"POST /pay","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["OrderNo","AccountNo"],"properties":{"OrderNo":{"type":"string","description":"The sales order number"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/query-availability":{"post":{"operationId":"cloud_aliyun_airticketopen_query_availability","summary":"Queries hotel rate availability","description":"POST /queryAvailability","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["StandardHotelIds","CheckInDate","CheckOutDate","AccountNo"],"properties":{"StandardHotelIds":{"type":"string","description":"The list of standard hotel IDs (JSON-encoded)"},"CheckInDate":{"type":"string","description":"The check-in date in the yyyy-MM-dd format"},"CheckOutDate":{"type":"string","description":"The check-out date in the yyyy-MM-dd format"},"AdultCount":{"type":"integer","description":"The number of adults"},"ChildCount":{"type":"integer","description":"The number of children"},"ChildrenAges":{"type":"string","description":"The list of children's ages (JSON-encoded)"},"RoomCount":{"type":"integer","description":"The number of rooms"},"AccountNo":{"type":"integer","description":"The ID of the distributor account"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/query-calendar-availability":{"post":{"operationId":"cloud_aliyun_airticketopen_query_calendar_availability","summary":"Queries calendar rates in batches","description":"POST /queryCalendarAvailability","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["StandardHotelIds","CheckInDateStart","CheckInDateEnd","AdultCount","RoomCount","AccountNo"],"properties":{"StandardHotelIds":{"type":"string","description":"The standard hotel IDs (JSON-encoded)"},"CheckInDateStart":{"type":"string","description":"The start check-in date for the query (yyyy-MM-dd)"},"CheckInDateEnd":{"type":"string","description":"The end check-in date for the query (yyyy-MM-dd)"},"AdultCount":{"type":"integer","description":"The number of adults"},"ChildCount":{"type":"integer","description":"The number of children"},"ChildrenAges":{"type":"string","description":"The ages of the children (JSON-encoded)"},"RoomCount":{"type":"integer","description":"The number of rooms"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TraceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/query-order":{"post":{"operationId":"cloud_aliyun_airticketopen_query_order","summary":"Queries an order","description":"POST /queryOrder","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AccountNo"],"properties":{"OrderNo":{"type":"string","description":"The sales order number. You must specify at least one of OrderNo and ExternalOrderNo"},"ExternalOrderNo":{"type":"string","description":"The external order number. You must specify at least one of OrderNo and ExternalOrderNo"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"TracerId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/search-city-page":{"post":{"operationId":"cloud_aliyun_airticketopen_search_city_page","summary":"Queries city administrative divisions in Chinese and English by using paging","description":"POST /searchCityPage","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Count","AccountNo"],"properties":{"Start":{"type":"integer","description":"The pagination offset, starting from 0"},"Count":{"type":"integer","description":"The number of items per page"},"CountryCode":{"type":"string","description":"The country code in ISO 3166-1 alpha-2 format"},"AccountNo":{"type":"integer","description":"The ID of the reseller account"},"TracerId":{"type":"string","description":"traceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/search-hotel-list":{"post":{"operationId":"cloud_aliyun_airticketopen_search_hotel_list","summary":"Queries a list of hotels by city using paging","description":"POST /globalHotel/searchHotelList","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["CityCode","AccountNo"],"properties":{"CityCode":{"type":"string","description":"The city code"},"PageNo":{"type":"integer","description":"The page number, starting from 1"},"PageSize":{"type":"integer","description":"The number of entries per page"},"AccountNo":{"type":"integer","description":"The ID of the distributor account"},"TracerId":{"type":"string","description":"traceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/validate-price":{"post":{"operationId":"cloud_aliyun_airticketopen_validate_price","summary":"Validates the price","description":"POST /validatePrice","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ItemOfferKey","RoomCount","Adults","AccountNo"],"properties":{"ItemOfferKey":{"type":"string","description":"The offer key"},"RoomCount":{"type":"integer","description":"The number of rooms"},"Adults":{"type":"integer","description":"The number of adults per room"},"Children":{"type":"integer","description":"The number of children per room"},"ChildrenAges":{"type":"string","description":"The list of children's ages (JSON-encoded)"},"AccountNo":{"type":"integer","description":"The distributor account ID"},"TracerId":{"type":"string","description":"traceId"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:aliyun-airticketopen/version":{"post":{"operationId":"cloud_aliyun_airticketopen_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}