# BookingsQuestionsChoicesTranslationsApi

All URIs are relative to *https://admin-api.connected.dev*

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**deleteBookingSpaceQuestionChoiceTranslation**](#deletebookingspacequestionchoicetranslation) | **DELETE** /bookings/spaces/{spaceId}/questions/{questionId}/choices/{choiceId}/translations/{locale} | Delete a booking question choice\&#39;s translation|
|[**getBookingSpaceQuestionChoiceTranslation**](#getbookingspacequestionchoicetranslation) | **GET** /bookings/spaces/{spaceId}/questions/{questionId}/choices/{choiceId}/translations/{locale} | Get a booking question choice\&#39;s translation|
|[**getBookingSpaceQuestionChoiceTranslations**](#getbookingspacequestionchoicetranslations) | **GET** /bookings/spaces/{spaceId}/questions/{questionId}/choices/{choiceId}/translations | List a booking question choice\&#39;s translations|
|[**updateBookingSpaceQuestionChoiceTranslation**](#updatebookingspacequestionchoicetranslation) | **PUT** /bookings/spaces/{spaceId}/questions/{questionId}/choices/{choiceId}/translations/{locale} | Update a booking question choice\&#39;s translation|

# **deleteBookingSpaceQuestionChoiceTranslation**
> SyncAccounts200Response deleteBookingSpaceQuestionChoiceTranslation()

Removes the translation for a specific locale from a booking space question choice, requires the update bookings permission.

### Example

```typescript
import {
    BookingsQuestionsChoicesTranslationsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new BookingsQuestionsChoicesTranslationsApi(configuration);

let spaceId: string; //The space identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

const { status, data } = await apiInstance.deleteBookingSpaceQuestionChoiceTranslation(
    spaceId,
    questionId,
    choiceId,
    locale
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
| **locale** | [**string**] | The locale identifier | defaults to undefined|


### Return type

**SyncAccounts200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getBookingSpaceQuestionChoiceTranslation**
> GetBookingSpaceQuestionChoiceTranslation200Response getBookingSpaceQuestionChoiceTranslation()

Returns the translated text for a booking space question choice in the given locale, or null if no translation exists for that locale; requires \"read\" permission on \"bookings\".

### Example

```typescript
import {
    BookingsQuestionsChoicesTranslationsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new BookingsQuestionsChoicesTranslationsApi(configuration);

let spaceId: string; //The space identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

const { status, data } = await apiInstance.getBookingSpaceQuestionChoiceTranslation(
    spaceId,
    questionId,
    choiceId,
    locale
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
| **locale** | [**string**] | The locale identifier | defaults to undefined|


### Return type

**GetBookingSpaceQuestionChoiceTranslation200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getBookingSpaceQuestionChoiceTranslations**
> GetBookingSpaceQuestionChoiceTranslations200Response getBookingSpaceQuestionChoiceTranslations()

Returns the list of locale translations for a single answer choice on a booking space question; requires \"read\" permission on \"bookings\".

### Example

```typescript
import {
    BookingsQuestionsChoicesTranslationsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new BookingsQuestionsChoicesTranslationsApi(configuration);

let spaceId: string; //The space identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice identifier (default to undefined)

const { status, data } = await apiInstance.getBookingSpaceQuestionChoiceTranslations(
    spaceId,
    questionId,
    choiceId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|


### Return type

**GetBookingSpaceQuestionChoiceTranslations200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **updateBookingSpaceQuestionChoiceTranslation**
> UpdateBookingSpaceQuestionChoiceTranslation200Response updateBookingSpaceQuestionChoiceTranslation(bookingSpaceQuestionChoiceTranslationUpdateInputs)

Updates the translated label for a booking space question choice in the given locale, requires the update bookings permission.

### Example

```typescript
import {
    BookingsQuestionsChoicesTranslationsApi,
    Configuration,
    BookingSpaceQuestionChoiceTranslationUpdateInputs
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new BookingsQuestionsChoicesTranslationsApi(configuration);

let spaceId: string; //The space identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)
let bookingSpaceQuestionChoiceTranslationUpdateInputs: BookingSpaceQuestionChoiceTranslationUpdateInputs; //

const { status, data } = await apiInstance.updateBookingSpaceQuestionChoiceTranslation(
    spaceId,
    questionId,
    choiceId,
    locale,
    bookingSpaceQuestionChoiceTranslationUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **bookingSpaceQuestionChoiceTranslationUpdateInputs** | **BookingSpaceQuestionChoiceTranslationUpdateInputs**|  | |
| **spaceId** | [**string**] | The space identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
| **locale** | [**string**] | The locale identifier | defaults to undefined|


### Return type

**UpdateBookingSpaceQuestionChoiceTranslation200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

