# EventsSponsorshipsTranslationsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**deleteEventSponsorshipTranslation**](#deleteeventsponsorshiptranslation) | **DELETE** /events/{eventId}/sponsorshipLevels/{levelId}/sponsorships/{sponsorshipId}/translations/{locale} | Delete a sponsorship\&#39;s translation|
|[**getEventSponsorshipTranslation**](#geteventsponsorshiptranslation) | **GET** /events/{eventId}/sponsorshipLevels/{levelId}/sponsorships/{sponsorshipId}/translations/{locale} | Get a sponsorship translation|
|[**getEventSponsorshipTranslations**](#geteventsponsorshiptranslations) | **GET** /events/{eventId}/sponsorshipLevels/{levelId}/sponsorships/{sponsorshipId}/translations | List a sponsorship\&#39;s translations|
|[**updateEventSponsorshipTranslation**](#updateeventsponsorshiptranslation) | **PUT** /events/{eventId}/sponsorshipLevels/{levelId}/sponsorships/{sponsorshipId}/translations/{locale} | Update a sponsorship\&#39;s translation|

# **deleteEventSponsorshipTranslation**
> CreateAccountInvitations200Response deleteEventSponsorshipTranslation()

Deletes the translated fields for a specific locale of a sponsorship within an event sponsorship level; requires update permission on events.

### Example

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

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

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

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

### Parameters

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

# **getEventSponsorshipTranslation**
> GetEventSponsorshipTranslation200Response getEventSponsorshipTranslation()

Returns the translation of a specific sponsorship, under a given sponsorship level of an event, for the specified locale; requires read permission on events.

### Example

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

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

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

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

### Parameters

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


### Return type

**GetEventSponsorshipTranslation200Response**

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

# **getEventSponsorshipTranslations**
> GetEventSponsorshipTranslations200Response getEventSponsorshipTranslations()

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

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let levelId: string; //The level identifier (default to undefined)
let sponsorshipId: string; //The sponsorship 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.getEventSponsorshipTranslations(
    eventId,
    levelId,
    sponsorshipId,
    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|
| **sponsorshipId** | [**string**] | The sponsorship 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

**GetEventSponsorshipTranslations200Response**

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

# **updateEventSponsorshipTranslation**
> GetEventSponsorshipTranslation200Response updateEventSponsorshipTranslation(eventSponsorshipTranslationUpdateInputs)

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

### Example

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

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

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

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

### Parameters

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


### Return type

**GetEventSponsorshipTranslation200Response**

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

