﻿<?xml version="1.0" encoding="utf-8"?>
<route>
	<summary>
		<resourceid>{对应供应商系统，产品ID,必填}</resourceid>
		<pfunction>{产品类别，free-自由行/group-跟团游/free_package-自由打包,必填}</pfunction>
		<istaocan>{是否套餐，true/false}</istaocan>
		<teamtype>{自由行产品团期录入方式 0-日期录入方式,1-类型录入方式,3-多套餐录入方式,默认为0,当为1时组成元素不能包含交通}</teamtype>
		<hasfloor>{是否包含底价，true(包含)/false(不包含)}</hasfloor>
	</summary>
	<packages>
		<package id="{包唯一性id，必填}" status="{0-下线,1-上线}" name="{套餐名称,必填,最多12字}" desc="{套餐包含,必填,最多48字}">
			<taocanadultcount>{套餐成人数,int,日历框多套餐产品必填}</taocanadultcount>
			<taocanchildcount>{套餐儿童数,int,默认为0,日历框多套餐产品填写}</taocanchildcount>
			<taocanroomcount>{房间数,int,默认为0,日历框多套餐产品填写}</taocanroomcount>
			<hotelname>{酒店名称(产品详情中的酒店)}</hotelname>
			<hotelroomtype>{酒店房型，单人间/双人间/三人间/四人套房}</hotelroomtype>
			<hotelbedtype>{床型,大床/双床/(大/双床)}</hotelbedtype>
			<feeinclude>{套餐费用包含,支持富文本,日历框多套餐产品必填}</feeinclude>
			<feeexclude>{套餐费用不包含,支持富文本,日历框多套餐产品必填}</feeexclude>
			<teams>
				<team takeoffdate="{团期，如：2012-07-12,必填}" marketprice="{市场价，正整数,必填}" adultprice="{成人价，正整数,必填}" flooradultprice="{成人底价，正整数，非必填}" containchildprice="{是否包含儿童价，true/false}" childprice="{儿童价，正整数,必填}" floorchildprice="{儿童底价，正整数，非必填}" childpricedesc="{儿童价说明}" roomnum="{床位数：1/2/3/4/5/6,默认2}" roomsendprice="{单房差，正整数}" floorroomsendprice="单房差底价，正整数，非必填"  availablecount="{可用库存，正整数,必填}" minbuycount="{一次最少购买数，正整数，默认为1}" maxbuycount="{一次最多购买数，大于一次最少购买数，默认为9}" pricedesc="{起价说明}"  status="{团期状态,on sale/offline}" >
					<needupdateset>{需要更新的字段列表,[takeoffdate,marketprice,adultprice.......],all表示全部更新}</needupdateset>
				</team>
				<!--istaocan为true时,套餐价格形式-->
				<team takeoffdate="{团期，如：2012-7-12,必填}" pricename="{价格名称，必填}" marketprice="{市场价，正整数,必填}" qunarprice="{售卖价，正整数,必填}" floorqunarprice="{售卖底价，正整数，非必填}"  availablecount="{可用库存，正整数,必填}" minbuycount="{一次最少购买数，正整数，默认为1}" maxbuycount="{一次最多购买数，大于一次最少购买数，默认为9}" pricedesc="{起价说明}"  status="{团期状态,on sale/offline}" >
					<needupdateset>{需要更新的字段列表,[takeoffdate,pricename,marketprice.......],all表示全部更新}</needupdateset>
				</team>
				<!--istaocan end-->
			</teams>
		</package>
	</packages>
</route>
