---
title: "ARIFullRefresh"
method: POST
path: "/ARIFullRefresh"
tags: ["Callbacks"]
---

# ARIFullRefresh

`POST /ARIFullRefresh`

## Request

- Base URL: `https://api.myallocator.com/callback/ota/replace_with_ota_id/v202203`
- URL: `https://api.myallocator.com/callback/ota/replace_with_ota_id/v202203/ARIFullRefresh`
- Auth: API key in query parameter `shared_secret`

**Endpoint:** `https://api.myallocator.com/callback/ota/{ota}/v202203` (replace `{ota}` with your channel ID)

This is for technical support on the remote OTA to enqueue a full refresh of the property. You may use either `ota_property_id` (it may be resolved into a number of Cloudbeds channel manager IDs) or `mya_property_id`.
Note that full refreshes are heavy operations, so only call this when absolutely necessary. Under no circumstances use this callback on a scheduled basis.

## Request body

- object
  - `mya_property_id` integer: Property ID on the Cloudbeds channel manager
  - `ota_property_id` string: Username, login or property ID on the OTA. Don't use this if the OTA support multiple properties under one login.
  - `ota_property_sub_id` string: Property ID on the OTA, if OTA supports multiple properties under one `ota_property_id`/`ota_property_password` combination. See `GetSubProperties` for more details.
  - `shared_secret` string, required: Authentication between the OTA and the channel. Identical for all requests. Not to be shared with customers.

## Response `200`

ARIFullRefresh

- union
  - object
    - `Success` true, required: Always `true` on success.
    - `UpdateId` integer: If present indicates that at least one full refresh was enqueued into Cloudbeds to be sent to the OTA.
  - ResponseCallbackError
    - `Success` false, required: Always `false` when the response contains an error.
    - `ErrorCode` integer, required: Error code. Check the "Error Codes" section of the specification for valid codes.
    - `Error` string, required: Human-readable error message.

---

[API](https://skmtc.dev/cloudbeds/apis/cloudbeds-ota-build-to-us-api.md) - [All operations](https://skmtc.dev/cloudbeds/apis/cloudbeds-ota-build-to-us-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudbeds/apis/cloudbeds-ota-build-to-us-api/revisions/baef9c11c34d?raw)
