public static bool OTA_CancelHotelBookOrder(string orderserial)
 {
     OTA_CancelCallEntity callEntity = new OTA_CancelCallEntity() { ResIDValue = orderserial };
     var rep = hotelOTAService.HotelOrderCancel(callEntity);
     if (rep.IsSuccess == "true")
     {
         return true;
     }
     return false;
 }
        /// <summary>
        /// 订单取消 OTA_Cancel
        /// 请求取消一个已存在的订单
        /// </summary>
        public OTA_CancelReturnEntity HotelOrderCancel(OTA_CancelCallEntity req)
        {
            OTA_CancelReturnEntity rep = new OTA_CancelReturnEntity();
            StringBuilder reqXml = new StringBuilder();
            reqXml.Append("<ns:OTA_CancelRQ TimeStamp=\"2012-04-20T00:00:00.000+08:00\" Version=\"1.0\">");
            reqXml.Append("<ns:UniqueID Type=\"504\" ID=\"100000\"/>");
            reqXml.AppendFormat("<ns:UniqueID Type=\"28\" ID=\"{0}\"/>", AllianceID);
            reqXml.AppendFormat("<ns:UniqueID Type=\"501\" ID=\"{0}\"/>", req.ResIDValue);
            reqXml.AppendFormat("<ns:UniqueID Type=\"503\" ID=\"{0}\"/>", SID);
            reqXml.Append("<ns:UniqueID Type=\"1\" ID=\"c563a9ed-a090-4ded-b5dc-ddf1d3709e29\"/>");
            
            if(req.ReasonList!=null)
            {
                reqXml.Append("<ns:Reasons>");
                req.ReasonList.ForEach(u =>
                {
                    reqXml.AppendFormat("<ns:Reason Type=\"{0}\"/>", u);
                });
                reqXml.Append("</ns:Reasons>");
            }
            
            
            
            reqXml.Append("</ns:OTA_CancelRQ>");

            req.RequestContent = reqXml.ToString();
            string repXml = HotelApiCall(req);
            XmlDocument xmlDoc = new XmlDocument();
            xmlDoc.LoadXml(repXml);

            return rep;

        }