# EventsFaqsTranslationsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**deleteEventFaqSectionQuestionTranslation**](#deleteeventfaqsectionquestiontranslation) | **DELETE** /events/{eventId}/faqs/{sectionId}/questions/{questionId}/translations/{locale} | Delete an event FAQ question translation|
|[**deleteEventFaqSectionTranslation**](#deleteeventfaqsectiontranslation) | **DELETE** /events/{eventId}/faqs/{sectionId}/translations/{locale} | Delete an event FAQ section translation|
|[**getEventFaqSectionQuestionTranslation**](#geteventfaqsectionquestiontranslation) | **GET** /events/{eventId}/faqs/{sectionId}/questions/{questionId}/translations/{locale} | Get an event FAQ question\&#39;s translation|
|[**getEventFaqSectionQuestionTranslations**](#geteventfaqsectionquestiontranslations) | **GET** /events/{eventId}/faqs/{sectionId}/questions/{questionId}/translations | List an event FAQ question\&#39;s translations|
|[**getEventFaqSectionTranslation**](#geteventfaqsectiontranslation) | **GET** /events/{eventId}/faqs/{sectionId}/translations/{locale} | Get an event FAQ section\&#39;s translation|
|[**getEventFaqSectionTranslations**](#geteventfaqsectiontranslations) | **GET** /events/{eventId}/faqs/{sectionId}/translations | List an event FAQ section\&#39;s translations|
|[**updateEventFaqSectionQuestionTranslation**](#updateeventfaqsectionquestiontranslation) | **PUT** /events/{eventId}/faqs/{sectionId}/questions/{questionId}/translations/{locale} | Update an FAQ question\&#39;s translation|
|[**updateEventFaqSectionTranslation**](#updateeventfaqsectiontranslation) | **PUT** /events/{eventId}/faqs/{sectionId}/translations/{locale} | Update an FAQ section\&#39;s translation|

# **deleteEventFaqSectionQuestionTranslation**
> SyncAccounts200Response deleteEventFaqSectionQuestionTranslation()

Removes the translated content for a specific FAQ question within an event\'s FAQ section in a given locale, reverting that locale to the question\'s default content; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

const { status, data } = await apiInstance.deleteEventFaqSectionQuestionTranslation(
    eventId,
    sectionId,
    questionId,
    locale
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **questionId** | [**string**] | The question 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)

# **deleteEventFaqSectionTranslation**
> SyncAccounts200Response deleteEventFaqSectionTranslation()

Removes the translated title and content for a specific FAQ section of an event in a given locale, reverting that locale to the section\'s default content; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

const { status, data } = await apiInstance.deleteEventFaqSectionTranslation(
    eventId,
    sectionId,
    locale
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section 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)

# **getEventFaqSectionQuestionTranslation**
> GetEventFaqSectionQuestionTranslation200Response getEventFaqSectionQuestionTranslation()

Returns the localized translation for a specific FAQ question within an event FAQ section and locale, or null if no translation exists for that locale; requires read permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

const { status, data } = await apiInstance.getEventFaqSectionQuestionTranslation(
    eventId,
    sectionId,
    questionId,
    locale
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **locale** | [**string**] | The locale identifier | defaults to undefined|


### Return type

**GetEventFaqSectionQuestionTranslation200Response**

### 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)

# **getEventFaqSectionQuestionTranslations**
> GetEventFaqSectionQuestionTranslations200Response getEventFaqSectionQuestionTranslations()

Returns a paginated list of locale translations for a specific FAQ question within an event FAQ section, supporting page, pageSize, orderBy, and search filters; requires read permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventFaqSectionQuestionTranslations(
    eventId,
    sectionId,
    questionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetEventFaqSectionQuestionTranslations200Response**

### 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)

# **getEventFaqSectionTranslation**
> GetEventFaqSectionTranslation200Response getEventFaqSectionTranslation()

Returns the localized translation for a specific event FAQ section and locale, or null if no translation exists for that locale; requires read permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

const { status, data } = await apiInstance.getEventFaqSectionTranslation(
    eventId,
    sectionId,
    locale
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **locale** | [**string**] | The locale identifier | defaults to undefined|


### Return type

**GetEventFaqSectionTranslation200Response**

### 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)

# **getEventFaqSectionTranslations**
> GetEventFaqSectionTranslations200Response getEventFaqSectionTranslations()

Returns a paginated list of locale translations for a specific event FAQ section, supporting page, pageSize, orderBy, and search filters; requires read permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getEventFaqSectionTranslations(
    eventId,
    sectionId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetEventFaqSectionTranslations200Response**

### 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)

# **updateEventFaqSectionQuestionTranslation**
> SyncAccounts200Response updateEventFaqSectionQuestionTranslation(eventFaqSectionQuestionTranslationUpdateInputs)

Updates the translated text for a specific locale on a question within an event FAQ section, creating the translation if it does not already exist; requires the \"update\" permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)
let eventFaqSectionQuestionTranslationUpdateInputs: EventFaqSectionQuestionTranslationUpdateInputs; //

const { status, data } = await apiInstance.updateEventFaqSectionQuestionTranslation(
    eventId,
    sectionId,
    questionId,
    locale,
    eventFaqSectionQuestionTranslationUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventFaqSectionQuestionTranslationUpdateInputs** | **EventFaqSectionQuestionTranslationUpdateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **questionId** | [**string**] | The question 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**: 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)

# **updateEventFaqSectionTranslation**
> SyncAccounts200Response updateEventFaqSectionTranslation(eventFaqSectionTranslationUpdateInputs)

Updates the translated text for a specific locale on an event FAQ section, creating the translation if it does not already exist; requires the \"update\" permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)
let eventFaqSectionTranslationUpdateInputs: EventFaqSectionTranslationUpdateInputs; //

const { status, data } = await apiInstance.updateEventFaqSectionTranslation(
    eventId,
    sectionId,
    locale,
    eventFaqSectionTranslationUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventFaqSectionTranslationUpdateInputs** | **EventFaqSectionTranslationUpdateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section 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**: 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)

