xml格式的数据上下文(类型定义参考OperateTypeEnum)

(21)商家推送订单状态变更

  • OperateTypeEnum =21 商家推送订单状态变更
    1:订单确认有房; 2:订单确认无房; 4:订单已取消; 5:入住; 6:订单已关闭; 7:订单已删除; 8:noshow; 9:离店;
<OrderInfo>
           <Order>
               <tid>12222</tid>
               <OutOrderId>r23323323</OutOrderId>
               <HotelCode>酒店编码</HotelCode>
               <Status>1</Status>
           </Order>
           .....

</OrderInfo>

(23)酒店房态信息上传(上传一段时间内的酒店房态)

  • OperateTypeEnum =23 酒店房态信息上传(上传一段时间内的酒店房态)主要用于用户自助选房
<RoomInfo>
         <Room>

            <RequestID>查询请求的ID(如果是主动上传房态此值为空)</RequestID>
             <HotelCode>外部酒店编码</HotelCode>
             <RoomTypeID>外部房型ID</RoomTypeID>
             <DailyInfo>
             <Day>
                 <AvailableDate>预订日期(格式:2016-03-15)</AvailableDate>
                 <BuildingList>
                     <Building><!—可有多栋楼-->
                         <BuildingNum>楼号</BuildingNum>
                         <FloorList><!—每栋楼多层楼-->
                             <Floor>
                                 <FloorNum>楼层</FloorNum>
                                 <RoomUnitList><!—每层楼有多个实体房间-->
                                     <RoomUnit>
                                         <RoomStatus>房间可预订状态(0:不可选;1可选)</RoomStatus>
                                         <RoomNum>房间号</ RoomNum>
                                     </RoomUnit>
                                     .
                                     .
                                     .
                                 </RoomUnitList>
                             </Floor>
                             .
                             .
                             .
                         </FloorList>
                     </Building>
                     .
                     .
                     .
                 </BuildingList>
             </Day>
             .
             .
             .
             </DailyInfo>
         </Room>
         .
         .
         .
</RoomInfo>

(25)在线开发票请求确认

  • OperateTypeEnum =25 在线开发票请求确认
<OrderInfo>
          <Order>
              <RequestID>请求唯一标识</RequestID>
              <tid>12222</tid>
              <OutOrderId>r23323323</OutOrderId>
              <HotelCode>酒店编码</HotelCode>
              <Status>0:开发票请求受理成功;1:失败; 2:请求已受理;3:发票已经开好</Status>
              <Message>失败原因</Message>
          </Order>
          .
          .
          .
</OrderInfo>

(27)自助checkIn订单信息上传

  • OperateTypeEnum =27 自助checkIn订单信息上传
<CheckInInfoRS>
<IsPressure>true</IsPressure>
<Success>true</Success>
<ErrorInfo>
<Code>200</Code>
<Message>XXXX</Message>
</ErrorInfo>
<Order>
<HotelCode>XXX111</HotelCode>
<Message>XXXXXXXXXXX</Message>
<OutOrderId>111</OutOrderId>
<RequestId>12313212</RequestId>
<Status>1</Status>
<Tid>123123</Tid>
<RoomCardAttribute>
<BuildingNum>A1</BuildingNum>
<CardType>1</CardType>
<Floor>10</Floor>
<InvalidTime>2018-02-03 12:00:00</InvalidTime>
<LockNum>10</LockNum>
<RoomNum>1001</RoomNum>
<ValidTime>2018-02-04 12:00:00</ValidTime>
</RoomCardAttribute>
</Order>
<Order>
<HotelCode>XXX111</HotelCode>
<Message>XXXXXXXXXXX</Message>
<OutOrderId>111</OutOrderId>
<RequestId>12313212</RequestId>
<Status>1</Status>
<Tid>123123</Tid>
<RoomCardAttribute>
<BuildingNum>A1</BuildingNum>
<CardType>1</CardType>
<Floor>10</Floor>
<InvalidTime>2018-02-03 12:00:00</InvalidTime>
<LockNum>10</LockNum>
<RoomNum>1001</RoomNum>
<ValidTime>2018-02-04 12:00:00</ValidTime>
</RoomCardAttribute>
</Order>
</CheckInInfoRS>

(31)酒店房间详情上传(上传酒店的图片、描述等基本信息)

  • OperateTypeEnum =31 酒店房间详情上传(上传酒店的图片、描述等基本信息)
<RoomDetail>
     <Room>
         <RequestID>请求唯一标识</RequestID>
         <HotelCode>酒店编码</HotelCode>
         <Vendor>给商家分配的vendor,具体咨询阿里技术</Vendor>
        <BuildingNum>楼号</BuildingNum>
        <FloorNum>楼层</FloorNum>
        <RoomNum>房间号</RoomNum>
        <RoomTypeID>商家房型</RoomTypeID>
        <Window>(0:无窗;1:有窗)</Window>
        <Smoking>(0:无烟;1:有烟)</Smoking>
        <Area>房间面积</Area>
        <Description>房间描述(比如,靠海,马路边)</Description>
         <Pics> 图片路径,图片下载url网址(多张图片用英文分号‘;’隔开)</Pics>
   </Room>
    .
    .
    .
</RoomDetail>

(32)扫脸入住入住信息回传(用于上传公安)

  • OperateTypeEnum =32 扫脸入住入住信息回传(用于上传公安)
<OrderInfo>
          <Order>
              <RequestID>请求唯一标识</RequestID>
              <tid>12222</tid>
              <OutOrderId>r23323323</OutOrderId>
              <HotelCode>酒店编码</HotelCode>
              <Status>0:开发票请求受理成功;1:失败; 2:请求已受理;3:发票已经开好</Status>
              <Message>失败原因</Message>
          </Order>
          .
          .
          .
</OrderInfo>

(33)入住&房间更改后门卡信息上传

  • OperateTypeEnum =33 入住后房间号或门卡信息上传 房间更改后门卡信息上传
<OrderInfo>
          <Order>
              <RequestID>自住入住requestId/刷脸入住requestId/或空</RequestID>
              <tid>12222</tid>
              <OutOrderId>r23323323</OutOrderId>
              <HotelCode>酒店编码</HotelCode>
              <RoomCardAttribute>
                   <RoomNum>101</RoomNum>
                   <ValidTime>2016-01-22 12:01:01</ValidTime>

                   <InvalidTime>2016-01-23 14:14:42</InvalidTime>
                   <CardType>门卡</CardType>
                   <Floor>2层</Floor>
                   <BuildingNum>一幢</BuildingNum>
                   <LockNum>NO123456</LockNum>
               </RoomCardAttribute>

              <Status>1:操作成功</Status>
              <Message></Message>
          </Order>
          .
          .
          .
</OrderInfo>

(104)通用PMS结果查询结果

  • OperateTypeEnum =104 通用PMS结果查询结果
<QueryOrderInfoRS>
<IsPressure>true</IsPressure>
<Success>true</Success>
<ErrorInfo>
<Code>200</Code>
<Message>XXXX</Message>
</ErrorInfo>
<DeviceId>XX111</DeviceId>
<Order>
<Tid>123123</Tid>
<PmsOrderId>1111</PmsOrderId>
<PayType>1</PayType>
<CheckInDate>2018-02-02 14:00:00</CheckInDate>
<CheckOutDate>2018-02-02 14:00:00</CheckOutDate>
<IsShowAddGuestButton>true</IsShowAddGuestButton>
<GuestInfo>
<Address>乐佳国际</Address>
<Birthday>2018-02-02</Birthday>
<CardImg>111111</CardImg>
<CertificateNum>333333201803038888</CertificateNum>
<CertificateType>1</CertificateType>
<City>杭州</City>
<Country>中国</Country>
<FaceImg>11111</FaceImg>
<FaceValue>1</FaceValue>
<FirstName>lai</FirstName>
<GuestName>未来</GuestName>
<GuestNamePinYin>weilai</GuestNamePinYin>
<IsMain>true</IsMain>
<IsPass>true</IsPass>
<LastName>wei</LastName>
<Message>消息</Message>
<Nationality>中国</Nationality>
<Phone>18877776666</Phone>
<Province>浙江</Province>
<Sex>男</Sex>
<SignOffice>中华人民共和国</SignOffice>
<UsefulEDate>2018-02-02</UsefulEDate>
<UsefulSDate>2018-02-02</UsefulSDate>
</GuestInfo>
<GuestInfo>
<Address>乐佳国际</Address>
<Birthday>2018-02-02</Birthday>
<CardImg>111111</CardImg>
<CertificateNum>333333201803038885</CertificateNum>
<CertificateType>1</CertificateType>
<City>杭州</City>
<Country>中国</Country>
<FaceImg>11111</FaceImg>
<FaceValue>1</FaceValue>
<FirstName>lai2</FirstName>
<GuestName>未来2</GuestName>
<GuestNamePinYin>weilai2</GuestNamePinYin>
<IsMain>true</IsMain>
<IsPass>true</IsPass>
<LastName>wei</LastName>
<Message>消息</Message>
<Nationality>中国</Nationality>
<Phone>18877776665</Phone>
<Province>浙江</Province>
<Sex>男</Sex>
<SignOffice>中华人民共和国</SignOffice>
<UsefulEDate>2018-02-02</UsefulEDate>
<UsefulSDate>2018-02-02</UsefulSDate>
</GuestInfo>
<Price>100</Price>
</Order>
<Order>
<Tid>453245</Tid>
<PmsOrderId>1111</PmsOrderId>
<PayType>1</PayType>
<CheckInDate>2018-02-02 14:00:00</CheckInDate>
<CheckOutDate>2018-02-02 14:00:00</CheckOutDate>
<IsShowAddGuestButton>true</IsShowAddGuestButton>
<GuestInfo>
<Address>乐佳国际</Address>
<Birthday>2018-02-02</Birthday>
<CardImg>111111</CardImg>
<CertificateNum>333333201803038888</CertificateNum>
<CertificateType>1</CertificateType>
<City>杭州</City>
<Country>中国</Country>
<FaceImg>11111</FaceImg>
<FaceValue>1</FaceValue>
<FirstName>lai</FirstName>
<GuestName>未来</GuestName>
<GuestNamePinYin>weilai</GuestNamePinYin>
<IsMain>true</IsMain>
<IsPass>true</IsPass>
<LastName>wei</LastName>
<Message>消息</Message>
<Nationality>中国</Nationality>
<Phone>18877776666</Phone>
<Province>浙江</Province>
<Sex>男</Sex>
<SignOffice>中华人民共和国</SignOffice>
<UsefulEDate>2018-02-02</UsefulEDate>
<UsefulSDate>2018-02-02</UsefulSDate>
</GuestInfo>
<GuestInfo>
<Address>乐佳国际</Address>
<Birthday>2018-02-02</Birthday>
<CardImg>111111</CardImg>
<CertificateNum>333333201803038885</CertificateNum>
<CertificateType>1</CertificateType>
<City>杭州</City>
<Country>中国</Country>
<FaceImg>11111</FaceImg>
<FaceValue>1</FaceValue>
<FirstName>lai2</FirstName>
<GuestName>未来2</GuestName>
<GuestNamePinYin>weilai2</GuestNamePinYin>
<IsMain>true</IsMain>
<IsPass>true</IsPass>
<LastName>wei</LastName>
<Message>消息</Message>
<Nationality>中国</Nationality>
<Phone>18877776665</Phone>
<Province>浙江</Province>
<Sex>男</Sex>
<SignOffice>中华人民共和国</SignOffice>
<UsefulEDate>2018-02-02</UsefulEDate>
<UsefulSDate>2018-02-02</UsefulSDate>
</GuestInfo>
<Price>100</Price>
</Order>
</QueryOrderInfoRS>

FAQ

关于此文档暂时还没有FAQ
返回
顶部