> For the complete documentation index, see [llms.txt](https://docs.guibo.travel/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guibo.travel/developers/dynamic-packaging-api/dynamic-packaging-or-hotel-management.md).

# Dynamic Packaging | Hotel Management

#### Hotel Object

```json
{
    "id": 12345,
    "link": "hhhhhh",
    "names": { "de": "Hotel Alpenblick" },
    "externalid": "HOTEL_4711",
    "bundle": "bbbbbb",
    "centerlat": 47.7612,
    "centerlng": 11.5601,
    "icon": "hotel",
    "geoType": 1,
    "enabled": true
}
```

## A) Search hotels

Type-ahead search for hotels of your account by name. Hotels are markers in libraries of type *Accommodation*.

```bash
curl --location --request GET 'https://services.schneidergeo.com/content/dynamic-packaging/hotels?search=alpenblick' \
--header 'Authorization: xxxxxx-xxxxxx-xxxxxx-xxxxxx'
```

Response: array of Hotel.

Notes:

* `search` is required. Terms shorter than 3 characters return an empty list.
* At most 20 results are returned.

## B) Hotels near a destination

Returns the hotels (icons `hotel`, `bed_breakfast`, `apartment`) within a 20 km square around the destination, searched in the libraries of your account including shared libraries.

```bash
curl --location --request GET 'https://services.schneidergeo.com/content/dynamic-packaging/hotels/dddddd' \
--header 'Authorization: xxxxxx-xxxxxx-xxxxxx-xxxxxx'
```

Response: array of Hotel.

Errors: `404 Destination not found`.

## C) Destination for a hotel

Returns the destination nearest to the given hotel (searched within 100 km around the hotel). Use this to map a booked hotel to its destination before looking up outgoing routes.

```bash
curl --location --request GET 'https://services.schneidergeo.com/content/dynamic-packaging/destination/for/hotel/hhhhhh' \
--header 'Authorization: xxxxxx-xxxxxx-xxxxxx-xxxxxx'
```

Response: Destination.

Errors: `404 Hotel not found`, `404 No destination found` if there is no destination within 100 km.

###


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.guibo.travel/developers/dynamic-packaging-api/dynamic-packaging-or-hotel-management.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
