文档中心 > 未来酒店-服务对接

xml格式的请求上下文,不同的bizType (bizType = operateType),格式不同。具体请参见对应文档描述

(1)在线开发票请求

  • bizType =1 在线开发票请求
<Invoice>
    <InvoiceType>发票类型(1:普通发票;2:增值税专用发票)</InvoiceType>
    <InvoiceTitle>阿里巴巴集团</InvoiceTitle>
    <TaxpayerID>纳税人识别号:纳税人识别号,一律由15位、18或者20位码(字符型)组成。</TaxpayerID>
    <RegAddress>公司注册地址:抬头公司注册地址</RegAddress>
    <CompanyTel>公司电话:抬头公司电话,区号-电话号码</CompanyTel>
     <BankName>开户行: 抬头公司银行开户行名称</BankName>
     <BankAccount>银行账户:抬头公司银行账号</BankAccount>
     <PostType>0</ PostType>
     <EarlyPrepare>0</EarlyPrepare>
     <ReceiverName>张三</ReceiverName>
     <ReceiverMobile>13601083188</ReceiverMobile>
     <ReceiverAddress> 北京国家广告产业园B座</ReceiverAddress>
     <Provider>1</Provider>
     <Payer>1</Payer>
     <WantTime>需要发票时间(格式yyyy-MM-dd HH:mm:ss)</WantTime>
     <Comment>备注信息</Comment>
</Invoice>

(3)在线选房请求

  • bizType =3 在线选房请求
<RoomSelect>
     <Type>1:选房操作;2: 取消选房;3: 变更选房</Type>
     <RoomTypeID>订单绑定外部房型ID</RoomTypeID>
     <BuildingNum>楼号</BuildingNum>
     <Floor>楼层</Floor>
     <RoomNum>所选房间号(如果订单为多间房,则所选房号以字符“|”分隔。例:“8208:8205”)</RoomNum>
     <OldRoomNum>原始房间号(变更选房时候有效)</OldRoomNum>
 </RoomSelect>

(4)自助checkIn请求 (new)

  • bizType =4 自助checkIn请求
<CheckInInfoRQ>
  <IsPressure>true</IsPressure>
  <PmsOrderId/>
  <Tid>111</Tid>
  <HotelOrderId/>
  <NewOrderId/>
  <IsSelfCheckIn>true</IsSelfCheckIn>
  <IsCreditCheckIn>true</IsCreditCheckIn>
  <Hid/>
  <AssociateId/>
  <HotelCode/>
  <Vendor>11</Vendor>
  <Action/>
  <DisplayText/>
  <Attributes/>
  <CheckInInfo>
    <DeviceId>XX111</DeviceId>
    <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>
    <RoomNum>1212</RoomNum>
  </CheckInInfo>
</CheckInInfoRQ>

(13)扫脸入住身份信息请求 (new)

  • bizType =13 扫脸入住身份信息请求

    <FaceScanInfo>
    <Guest>
        <GuestName>张三</GuestName>
        <CertificateType>20</CertificateType>
        <CertificateNum>367719189009873678</CertificateNum>
    </Guest>
    </FaceScanInfo>

(15)PMS订单信息查询

  • bizType =15 PMS订单信息查询
<QueryOrderInfoRQ>
  <IsPressure>true</IsPressure>
  <Tid>taobao_4153232</Tid>
  <HotelOrderId>14323242</HotelOrderId>
  <PmsOrderId>xms_2323412</PmsOrderId>
  <Phone>18877776666</Phone>
  <CredId>333333201803038888</CredId>
  <SignOffice>中华人民共和国</SignOffice>
  <UsefulSDate>2018-02-02</UsefulSDate>
  <UsefulEDate>2018-02-02</UsefulEDate>
  <Message>其他</Message>
  <Name>未来</Name>
  <PinyinName>weilai</PinyinName>
  <FirstName>lai</FirstName>
  <LastName>wei</LastName>
  <Country>中国</Country>
  <Province>浙江省</Province>
  <City>杭州市</City>
  <Address>乐佳国际</Address>
  <Nation>汉</Nation>
  <IMEI>1111111</IMEI>
  <Birthday>2018-02-02</Birthday>
  <Sex>男</Sex>
  <CheckInDate>2018-02-02 14:00:00</CheckInDate>
  <CheckOutDate>2018-02-03 12:00:00</CheckOutDate>
  <HotelCode>KAJDD</HotelCode>
  <DeviceId>KKAJ2342</DeviceId>
</QueryOrderInfoRQ>

(10)房态信息查询请求( 查询可选房)

  • bizType =10 房态信息查询请求( 查询可选房)

    房态信息查询请求context没有值,按照tid\outOrderId\sellerId\hotelCode为查询请求条件,返回格式参见put接口定义

(103)通用任务取消指令(当接到该指令时候,取消已接收的任务信息)

  • bizType =103 通用任务取消指令(当接到该指令时候,取消已接收的任务信息)

    通用任务取消指令-context没有值。主要根据ReqeustID\hotelCode为条件进行取消

(105)用于pms获取所有类型的请求,以减少分类查询的交互次数

  • bizType =105 获取所有类型的请求(建议使用此类型定时获取所有未来酒店相关请求,部署一个服务即可)

    获取所有类型的请求指令-会获取请求的所有类型数据,以列表方式返回,商家可按biztype类型进行识别并做对应解析处理。

FAQ

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