# Release | Update release details

You need GUIBO's internal unique identifier of the release to update it. It is the parameter "link" when fetching the release details:

{% content-ref url="/pages/NE4weTto23Bymct3OmKl" %}
[Release | Read release details](/developers/releases-api/release-or-read-release-details.md)
{% endcontent-ref %}

### a) Update the number of devices

<mark style="color:purple;">`PATCH`</mark> `https://services.schneidergeo.com/content/release/{account}/{release}/devices/{devices}Change numer of devices`

Change the number of devices the guidebook can be downloaded  to.

#### Path Parameters

| Name                                      | Type   | Description                                                                               |
| ----------------------------------------- | ------ | ----------------------------------------------------------------------------------------- |
| account<mark style="color:red;">\*</mark> | String | Your account ID, you can find this under Account Settings > General Settings > Account ID |
| release<mark style="color:red;">\*</mark> | String | Unique identifier of the release                                                          |
| devices<mark style="color:red;">\*</mark> | String | The number of devices or users                                                            |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### b) Update the release period

<mark style="color:purple;">`PATCH`</mark> `https://services.schneidergeo.com/content/release/{account}/{release}/period`&#x20;

Change start-  and enddate for the release period. During this period the App can be downloaded, the Booklet is accessable and the GPX files.

#### Path Parameters

| Name                                      | Type   | Description                                                                               |
| ----------------------------------------- | ------ | ----------------------------------------------------------------------------------------- |
| account<mark style="color:red;">\*</mark> | String | Your account ID, you can find this under Account Settings > General Settings > Account ID |
| release<mark style="color:red;">\*</mark> | String | Unique identifier of the release                                                          |

#### Request body

```json
{
    "start":"2024-05-01",
    "end":"2024-05-02"
}
```

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### c) Update arrival and departure dates

<mark style="color:purple;">`PATCH`</mark> `https://services.schneidergeo.com/content/release/{account}/{release}/tripperiod`

Change arrival and departure date of the trip. This helps the App to provide the relevant content on each day

#### Path Parameters

| Name                                      | Type   | Description                                                                               |
| ----------------------------------------- | ------ | ----------------------------------------------------------------------------------------- |
| account<mark style="color:red;">\*</mark> | String | Your account ID, you can find this under Account Settings > General Settings > Account ID |
| release<mark style="color:red;">\*</mark> | String | Unique identifier of the release                                                          |

#### Request Body

```json
{
    "start":"2024-05-01",
    "end":"2024-05-02"
}
```

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

### d) Update Accommodation

<mark style="color:purple;">`PUT`</mark> `https://services.schneidergeo.com/content/release/{account}/{release}/accommodation`&#x20;

Replace all accommodations in a release

**Path Parameters**

| Name                                      | Type   | Description                                                                               |
| ----------------------------------------- | ------ | ----------------------------------------------------------------------------------------- |
| account<mark style="color:red;">\*</mark> | String | Your account ID, you can find this under Account Settings > General Settings > Account ID |
| release<mark style="color:red;">\*</mark> | String | Unique identifier of the release                                                          |

#### Request Body

```
{ "assets":
    [
        {
            "externalId": "AT04_HotelDonauzentrum",
            "libraryExternalId": "TO-POI",
            "category":"catxyz"
        }
       
    ]
}
```

###

### e) Update Language

<mark style="color:purple;">`PATCH`</mark> `https://services.schneidergeo.com/content/release/{account}/{release}/lang/{language}`&#x20;

Update language for release

| Name                                      | Type   | Description                                                                               |
| ----------------------------------------- | ------ | ----------------------------------------------------------------------------------------- |
| account<mark style="color:red;">\*</mark> | String | Your account ID, you can find this under Account Settings > General Settings > Account ID |
| release<mark style="color:red;">\*</mark> | String | Unique identifier of the release                                                          |
| language                                  | String | two characters for the language                                                           |


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.guibo.travel/developers/releases-api/release-or-update-release-details.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
