# EventsSessionsLocationsTranslationsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**deleteEventSessionLocationTranslation**](#deleteeventsessionlocationtranslation) | **DELETE** /events/{eventId}/sessionLocations/{locationId}/translations/{locale} | Delete a session location translation|
|[**getEventSessionLocationTranslation**](#geteventsessionlocationtranslation) | **GET** /events/{eventId}/sessionLocations/{locationId}/translations/{locale} | Get a session location\&#39;s translation|
|[**getEventSessionLocationTranslations**](#geteventsessionlocationtranslations) | **GET** /events/{eventId}/sessionLocations/{locationId}/translations | List a session location\&#39;s translations|
|[**updateEventSessionLocationTranslation**](#updateeventsessionlocationtranslation) | **PUT** /events/{eventId}/sessionLocations/{locationId}/translations/{locale} | Update a session location translation|

# **deleteEventSessionLocationTranslation**
> SyncAccounts200Response deleteEventSessionLocationTranslation()

Deletes the translation for a given locale on an event session location, requiring read/update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let locationId: string; //The location identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

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

### Parameters

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

# **getEventSessionLocationTranslation**
> GetEventSessionLocationTranslation200Response getEventSessionLocationTranslation()

Returns the translated content for an event session location in the specified locale, or null if no translation exists for that locale; requires read access to the events module.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let locationId: string; //The location identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

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

### Parameters

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


### Return type

**GetEventSessionLocationTranslation200Response**

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

# **getEventSessionLocationTranslations**
> GetEventSessionLocationTranslations200Response getEventSessionLocationTranslations()

Returns a paginated list of the locale translations available for an event session location, supporting search and ordering; requires read access to the events module.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let locationId: string; //The location 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.getEventSessionLocationTranslations(
    eventId,
    locationId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

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

**GetEventSessionLocationTranslations200Response**

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

# **updateEventSessionLocationTranslation**
> SyncAccounts200Response updateEventSessionLocationTranslation(eventSessionLocationTranslationUpdateInputs)

Creates or updates the localized fields (e.g. name) for an event session location in the given locale, requiring read/update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let locationId: string; //The location identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)
let eventSessionLocationTranslationUpdateInputs: EventSessionLocationTranslationUpdateInputs; //

const { status, data } = await apiInstance.updateEventSessionLocationTranslation(
    eventId,
    locationId,
    locale,
    eventSessionLocationTranslationUpdateInputs
);
```

### Parameters

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

