# EventsSponsorshiplevelsTranslationsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**deleteEventSponsorshipLevelTranslation**](#deleteeventsponsorshipleveltranslation) | **DELETE** /events/{eventId}/sponsorshipLevels/{levelId}/translations/{locale} | Delete a sponsorship level\&#39;s translation|
|[**getEventSponsorshipLevelTranslation**](#geteventsponsorshipleveltranslation) | **GET** /events/{eventId}/sponsorshipLevels/{levelId}/translations/{locale} | Get a sponsorship level translation|
|[**getEventSponsorshipLevelTranslations**](#geteventsponsorshipleveltranslations) | **GET** /events/{eventId}/sponsorshipLevels/{levelId}/translations | List a sponsorship level\&#39;s translations|
|[**updateEventSponsorshipLevelTranslation**](#updateeventsponsorshipleveltranslation) | **PUT** /events/{eventId}/sponsorshipLevels/{levelId}/translations/{locale} | Update a sponsorship level\&#39;s translation|

# **deleteEventSponsorshipLevelTranslation**
> CreateAccountInvitations200Response deleteEventSponsorshipLevelTranslation()

Deletes the localized translation for the given locale on an event sponsorship level, removing that language\'s translated fields; requires the update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let levelId: string; //The level identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

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

### Parameters

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


### Return type

**CreateAccountInvitations200Response**

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

# **getEventSponsorshipLevelTranslation**
> GetEventSponsorshipLevelTranslation200Response getEventSponsorshipLevelTranslation()

Returns the translation of an event sponsorship level for the specified locale; requires read permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let levelId: string; //The level identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)

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

### Parameters

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


### Return type

**GetEventSponsorshipLevelTranslation200Response**

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

# **getEventSponsorshipLevelTranslations**
> GetEventSponsorshipLevelTranslations200Response getEventSponsorshipLevelTranslations()

Returns a paginated list of locale translations for the given event sponsorship level, supporting search and ordering; requires read permission on events.

### Example

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

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

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

### Parameters

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

**GetEventSponsorshipLevelTranslations200Response**

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

# **updateEventSponsorshipLevelTranslation**
> GetEventSponsorshipLevelTranslation200Response updateEventSponsorshipLevelTranslation(eventSponsorshipLevelTranslationUpdateInputs)

Updates the translated fields (e.g. name, description) for a specific locale of an event sponsorship level, creating or overwriting that locale\'s translation; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let levelId: string; //The level identifier (default to undefined)
let locale: string; //The locale identifier (default to undefined)
let eventSponsorshipLevelTranslationUpdateInputs: EventSponsorshipLevelTranslationUpdateInputs; //

const { status, data } = await apiInstance.updateEventSponsorshipLevelTranslation(
    eventId,
    levelId,
    locale,
    eventSponsorshipLevelTranslationUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSponsorshipLevelTranslationUpdateInputs** | **EventSponsorshipLevelTranslationUpdateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **levelId** | [**string**] | The level identifier | defaults to undefined|
| **locale** | [**string**] | The locale identifier | defaults to undefined|


### Return type

**GetEventSponsorshipLevelTranslation200Response**

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

