# SeriesQuestionsTranslationsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getSeriesQuestionTranslation**](#getseriesquestiontranslation) | **GET** /series/{seriesId}/questions/{questionId}/translations/{locale} | Get a series question\&#39;s translation|
|[**updateSeriesQuestionTranslation**](#updateseriesquestiontranslation) | **PUT** /series/{seriesId}/questions/{questionId}/translations/{locale} | Update a series question\&#39;s translation|

# **getSeriesQuestionTranslation**
> GetSeriesQuestionTranslation200Response getSeriesQuestionTranslation()

Returns the translated text for a series registration question in the given locale, requires the \"read\" permission on the events module.

### Example

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

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

let seriesId: string; //The series 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.getSeriesQuestionTranslation(
    seriesId,
    questionId,
    locale
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **seriesId** | [**string**] | The series identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **locale** | [**string**] | The locale identifier | defaults to undefined|


### Return type

**GetSeriesQuestionTranslation200Response**

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

# **updateSeriesQuestionTranslation**
> UpdateSeriesQuestionTranslation200Response updateSeriesQuestionTranslation(seriesQuestionTranslationUpdateInputs)

Creates or updates the localized text (e.g. label, description) for a series question in the given locale, upserting the translation record if it does not already exist; requires update permission on events.

### Example

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

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

let seriesId: string; //The series identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)
let seriesQuestionTranslationUpdateInputs: SeriesQuestionTranslationUpdateInputs; //

const { status, data } = await apiInstance.updateSeriesQuestionTranslation(
    seriesId,
    questionId,
    locale,
    seriesQuestionTranslationUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **seriesQuestionTranslationUpdateInputs** | **SeriesQuestionTranslationUpdateInputs**|  | |
| **seriesId** | [**string**] | The series identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **locale** | [**string**] | The locale identifier | defaults to undefined|


### Return type

**UpdateSeriesQuestionTranslation200Response**

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

