# EventsSessionsTimesTranslationsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**deleteEventSessionTimeTranslation**](#deleteeventsessiontimetranslation) | **DELETE** /events/{eventId}/sessions/{sessionId}/times/{timeId}/translations/{locale} | Delete a session time translation|
|[**getEventSessionTimeTranslation**](#geteventsessiontimetranslation) | **GET** /events/{eventId}/sessions/{sessionId}/times/{timeId}/translations/{locale} | Get a session time\&#39;s translation|
|[**getEventSessionTimeTranslations**](#geteventsessiontimetranslations) | **GET** /events/{eventId}/sessions/{sessionId}/times/{timeId}/translations | List translations for a session time|
|[**updateEventSessionTimeTranslation**](#updateeventsessiontimetranslation) | **PUT** /events/{eventId}/sessions/{sessionId}/times/{timeId}/translations/{locale} | Update a session time\&#39;s translation|

# **deleteEventSessionTimeTranslation**
> SyncAccounts200Response deleteEventSessionTimeTranslation()

Deletes the translation for the given locale on an event session time slot, requiring the \"update\" permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let timeId: string; //The time identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

const { status, data } = await apiInstance.deleteEventSessionTimeTranslation(
    eventId,
    sessionId,
    timeId,
    locale
);
```

### Parameters

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

# **getEventSessionTimeTranslation**
> GetEventSessionTimeTranslation200Response getEventSessionTimeTranslation()

Retrieves the translation for a specific session time in a given locale, returning null if no translation exists for that locale; requires read permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let timeId: string; //The time identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

const { status, data } = await apiInstance.getEventSessionTimeTranslation(
    eventId,
    sessionId,
    timeId,
    locale
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **timeId** | [**string**] | The time identifier | defaults to undefined|
| **locale** | [**string**] | The locale identifier | defaults to undefined|


### Return type

**GetEventSessionTimeTranslation200Response**

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

# **getEventSessionTimeTranslations**
> GetEventSessionTimeTranslations200Response getEventSessionTimeTranslations()

Returns a paginated list of locale translations for a specific time slot within an event session, supporting search and ordering; requires read permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let timeId: string; //The time 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.getEventSessionTimeTranslations(
    eventId,
    sessionId,
    timeId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **timeId** | [**string**] | The time 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

**GetEventSessionTimeTranslations200Response**

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

# **updateEventSessionTimeTranslation**
> SyncAccounts200Response updateEventSessionTimeTranslation(eventSessionTimeTranslationUpdateInputs)

Creates or updates the localized name and description for a specific session time in the given locale, upserting the translation record; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let timeId: string; //The time identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)
let eventSessionTimeTranslationUpdateInputs: EventSessionTimeTranslationUpdateInputs; //

const { status, data } = await apiInstance.updateEventSessionTimeTranslation(
    eventId,
    sessionId,
    timeId,
    locale,
    eventSessionTimeTranslationUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSessionTimeTranslationUpdateInputs** | **EventSessionTimeTranslationUpdateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **timeId** | [**string**] | The time 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)

