💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
#以后票务系统资料请点此进入[联合票务系统接入文档](http://www.kancloud.cn/iwzh/lianhepiaowu) * * * * * * * * * * * * * * * * * * * * * * * * * ###下文不再更新。 [TOC] ##去哪儿门票对接测试地址 [票务对接测试地址](http://agentat.piao.qunar.com/singleApiDebugPage/debugSupplierApi) 说明: 请求供应商接口】使用流程: 1.supplierIdentity:"DEBUGSUPPLIER" signkey:"DEBUGSINGKEY"。输入供【应商接口地址】选择供应商接口方法,生成请求xml,其中的节点数据,部分地方需要联调人员手动填写,建议使 用xml工具编辑,节点数据,请参考qunar提供的设计文档,点击“提交”按钮则请求供应商接口 ###请求示例xml 拉取产品:GetProductByQunarRequestBody ` <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <request xmlns="http://piao.qunar.com/2013/QMenpiaoRequestSchema"> <header> <application>Qunar.Menpiao.Agent.AutoTest</application> <processor>SupplierDataExchangeProcessor</processor> <version>v2.0.0</version> <bodyType>GetProductByQunarRequestBody</bodyType> <createUser>Qunar.Menpiao.Agent.AutoTest</createUser> <createTime>2015-12-14 18:50:04</createTime> <supplierIdentity>DEBUGSUPPLIER</supplierIdentity> </header> <body xsi:type="GetProductByQunarRequestBody" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <method>ALL</method> <currentPage>1</currentPage> <pageSize>10</pageSize> <resourceId> </resourceId> </body> </request> ` ###返回示例代码如下: `<?xml version="1.0" encoding="UTF-8"?> <response xsi:schemaLocation="http://piao.qunar.com/2013/QMenpiaoResponseSchema QMResponseDataSchema-2.0.1.xsd" xmlns="http://piao.qunar.com/2013/QMenpiaoResponseSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <header> <application>Qunar.Menpiao.Agent</application> <processor>SupplierDataExchangeProcessor</processor> <version>v2.0.1</version> <bodyType>GetProductByQunarResponseBody</bodyType> <createUser>SupplierSystemName</createUser> <createTime>2015-12-14 18:54:37</createTime> <code>1000</code> <describe>String</describe> </header> <body xsi:type="GetProductByQunarResponseBody"> <count>16</count> <productInfos> <productInfo> <baseInfo> <resourceId>1315</resourceId> <sights> <sight> <sightName>石京龙滑雪场平日初级体验票+金隅八达岭温泉度假村温泉+住宿(含早)单人套票一张</sightName> <sightAddress></sightAddress> <city>北京</city> <sightlon></sightlon> <sightlat></sightlat> </sight> </sights> <productName>石京龙滑雪场平日初级体验票+金隅八达岭温泉度假村温泉+住宿(含早)单人套票一张</productName> </baseInfo> <bookConfig> <paymentType>PREPAY</paymentType> <advanceOption> <bookAdvanceDay></bookAdvanceDay> <bookAdvanceTime></bookAdvanceTime> <useAdvanceHour></useAdvanceHour> </advanceOption> <autoCancelTime></autoCancelTime> <contactPersonRequired> <nameRequired></nameRequired> <namePinyinRequired></namePinyinRequired> <emailRequired></emailRequired> <addressRequired></addressRequired> </contactPersonRequired> <bookPersonType></bookPersonType> <visitPersonRequiredForQuantity></visitPersonRequiredForQuantity> <visitPersonRequired> <nameRequired></nameRequired> <namePinYinRequired></namePinYinRequired> <credentialsRequired></credentialsRequired> <credentialsRequiredTypes></credentialsRequiredTypes> <userRequiredDefined1></userRequiredDefined1> <userRequiredDefined2></userRequiredDefined2> </visitPersonRequired> <perPhoneMaximum></perPhoneMaximum> <perPhoneMaximumType></perPhoneMaximumType> </bookConfig> <priceConfig> <validType>BETWEEN_USE_DATE_START_AND_END</validType> <daysAfterUseDateValid></daysAfterUseDateValid> <daysAfterBookDateValid></daysAfterBookDateValid> <dayUseTimePeriod></dayUseTimePeriod> <calendarPrices> <calendarPrice> <useDate></useDate> <marketPrice>66000</marketPrice> <sellPrice>41800</sellPrice> <sellstock>99999</sellstock> <minimum>1</minimum> <maximum>99999</maximum> </calendarPrice> </calendarPrices> <periodPrice> <periodStart>2015-12-10</periodStart> <periodEnd>2016-02-28</periodEnd> <validWeek></validWeek> <invalidDate></invalidDate> <marketPrice>66000</marketPrice> <sellPrice>41800</sellPrice> <sellstock>99999</sellstock> <minimum>1</minimum> <maximum>99999</maximum> </periodPrice> </priceConfig> <promoteConfig> <cashBackMoney></cashBackMoney> </promoteConfig> <productDescription> <feeInfo></feeInfo> <feeInclude></feeInclude> <feeExclude></feeExclude> <pickupTime></pickupTime> <pickupAddress></pickupAddress> <remind><![CDATA[<div>1)节假日至少提前5天致电:010-82830721预订房间。预订时请告知您的姓名、联系方式、入住时间、房间数量。办理入住时需带身份证等有效证件办理。</div> <div>2)入住时间:中午12:00,退房时间:次日中午12:00之前。如超时请按照前台收费标准补齐差价。</div> <div>3)预订留房至入住当日18:00时,过时自动取消。</div>]]></remind> <refundOption> <canRefund></canRefund> <refundApplyTimeBeforeValidEndDay></refundApplyTimeBeforeValidEndDay> <refundChargeType></refundChargeType> <refundCharge></refundCharge> <refundInfo></refundInfo> </refundOption> </productDescription> <otherConfig> <telephone>400-656-6135</telephone> <salePeriods> <salePeriod> <saleStartTime></saleStartTime> <saleEndTime></saleEndTime> </salePeriod> </salePeriods> <smsTemplet>您将会在3-5 分钟内收到电子票,在景区售票处取票入园</smsTemplet> <eticketType>S_CODE</eticketType> </otherConfig> </productInfo> </productInfos> </body> </response>` 根据返回xml代码拼接处理即可。 [TOC]