Skip to content

Tourmind AI APIs ​

AI 房型匹配与映射 ​

AI 房型映射 ​

Room Map API 可以汇总并分类特定房源不同供应商的可比客房,处理客房数据并将具有相似属性的客房归类为统一的群组。

如果您没有自维护的标准化房型列表,可以使用 RoomMap API 根据历史数据分析得出一组推荐的标准房型,这是一种有效的房型分类方法。

room_map

接口调用信息

名称值
请求地址http://developers.tourmind.cn/v2/RoomMap
请求方式POST
请求字段
PropertyId: string
酒店唯一标识
PropertyName: string
酒店名称
响应字段
PropertyId: string
酒店唯一标识。
PropertyName: string
所引用酒店的名称。
Unmapped[]: any
未能映射的房间或分组列表(如有)。
json
{
  "SupplierList": [
    {
      "SupplierRooms": [
        {}
      ]
    }
  ]
}
json
{
  "Aggregation": [
    {
      "GroupRooms": [
        {}
      ]
    }
  ],
  "Unmapped": []
}

AI 房型匹配 ​

Room Match API 提供智能客房匹配服务,建立参考酒店客房与供应商客房列表之间的关系。通过 AI 算法,它会自动将参考酒店的标准房型与不同供应商提供的客房信息进行匹配。

如果您已经维护了自己的标准化房型,建议使用 Room Match 功能直接利用其精选数据进行精准房型匹配。

room_match

接口调用信息

名称值
请求地址http://developers.tourmind.cn/v2/RoomMatch
请求方式POST
请求字段
AppKey: string
EnableDeepThinking: boolean
响应字段
Code: integer
Success: boolean
json
{
  "MasterRoomList": [
    {}
  ],
  "PropertyInfo": {},
  "RequestHeader": {
    "AgentCode": "tms_test",
    "Password": "tms_test",
    "RequestTime": "2018-07-26T09:51:32.123Z",
    "TransactionID": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
    "UserName": "tms_test"
  },
  "SupplierRoomList": [
    {
      "SupplierRoomInfo": [
        {}
      ]
    }
  ]
}
json
{
  "Data": {
    "MatchedRooms": [
      {
        "MatchedRooms": [
          {}
        ]
      }
    ]
  },
  "Error": {
    "ErrorCode": "101",
    "ErrorMessage": "invaild param"
  },
  "ResponseHeader": {
    "ResponseTime": "2018-07-26 09:51:32",
    "TransactionID": "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
  },
  "UnmatchedRooms": [
    {}
  ]
}

AI 价格预测 ​

AI 价格预测 ​

价格预测 API 为预测酒店房型未来的价格趋势提供了强大的解决方案。此 API 旨在通过提供特定时间段内各种酒店房型的预期低价和高价范围的洞察,帮助酒店行业的用户和企业做出明智的定价策略决策。

rate_prediction

接口调用信息

名称值
请求地址http://developers.tourmind.cn/v2/RatePrediction
请求方式POST
请求字段
CheckIn: string
入住日期(ISO 8601 格式)
CheckOut: string
离店日期(ISO 8601 格式)
CurrencyCode: string
期望的货币代码
响应字段
json
{
  "Hotels": [
    {
      "City": "Shanghai",
      "Country": "China",
      "HotelName": "Hilton Shanghai"
    }
  ],
  "PaxRooms": [
    {
      "Adults": 2,
      "ChildrenAges": []
    }
  ]
}
json
{
  "PricePredictions": [
    {
      "HotelInfo": {},
      "RoomTypes": [
        {
          "HighPricePeriods": [
            {
              "DateRange": {},
              "HighPriceRange": {}
            }
          ],
          "LowPricePeriods": [
            {
              "DateRange": {},
              "LowPriceRange": {}
            }
          ]
        }
      ]
    }
  ]
}