# EventsSectionsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**addEventSectionAddOn**](#addeventsectionaddon) | **POST** /events/{eventId}/sections/{sectionId}/addOns/{addOnId} | Add an add-on to an event section|
|[**addEventSectionPassType**](#addeventsectionpasstype) | **POST** /events/{eventId}/sections/{sectionId}/passTypes/{passTypeId} | Add a pass type to an event section|
|[**addEventSectionQuestion**](#addeventsectionquestion) | **POST** /events/{eventId}/sections/{sectionId}/questions/{questionId} | Add a question to an event section|
|[**addEventSectionTier**](#addeventsectiontier) | **POST** /events/{eventId}/sections/{sectionId}/tiers/{tierId} | Add an account tier to an event section|
|[**createEventSection**](#createeventsection) | **POST** /events/{eventId}/sections | Create an event registration section|
|[**deleteEventSection**](#deleteeventsection) | **DELETE** /events/{eventId}/sections/{sectionId} | Delete an event registration section|
|[**getEventSection**](#geteventsection) | **GET** /events/{eventId}/sections/{sectionId} | Get a registration section|
|[**getEventSectionAddOns**](#geteventsectionaddons) | **GET** /events/{eventId}/sections/{sectionId}/addOns | List add-ons linked to a registration section|
|[**getEventSectionPassTypes**](#geteventsectionpasstypes) | **GET** /events/{eventId}/sections/{sectionId}/passTypes | List pass types linked to a section|
|[**getEventSectionQuestions**](#geteventsectionquestions) | **GET** /events/{eventId}/sections/{sectionId}/questions | List questions in an event section|
|[**getEventSectionTiers**](#geteventsectiontiers) | **GET** /events/{eventId}/sections/{sectionId}/tiers | List account tiers linked to a section|
|[**getEventSections**](#geteventsections) | **GET** /events/{eventId}/sections | List an event\&#39;s registration sections|
|[**removeEventSectionAddOn**](#removeeventsectionaddon) | **DELETE** /events/{eventId}/sections/{sectionId}/addOns/{addOnId} | Remove an add-on from an event section|
|[**removeEventSectionPassType**](#removeeventsectionpasstype) | **DELETE** /events/{eventId}/sections/{sectionId}/passTypes/{passTypeId} | Remove a pass type from an event section|
|[**removeEventSectionQuestion**](#removeeventsectionquestion) | **DELETE** /events/{eventId}/sections/{sectionId}/questions/{questionId} | Remove a question from an event section|
|[**removeEventSectionTier**](#removeeventsectiontier) | **DELETE** /events/{eventId}/sections/{sectionId}/tiers/{tierId} | Remove an account tier restriction from a section|
|[**reorderEventSectionQuestions**](#reordereventsectionquestions) | **PUT** /events/{eventId}/sections/{sectionId}/questions/reorder | Reorder a section\&#39;s questions|
|[**updateEventSection**](#updateeventsection) | **PUT** /events/{eventId}/sections/{sectionId} | Update an event registration section|
|[**updateEventSectionQuestion**](#updateeventsectionquestion) | **PUT** /events/{eventId}/sections/{sectionId}/questions/{questionId} | Update a section question\&#39;s sort order|

# **addEventSectionAddOn**
> CreateEventSection200Response addEventSectionAddOn()

Connects an existing event add-on to a registration section, making it available for purchase within that section; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let addOnId: string; //The addOn identifier (default to undefined)

const { status, data } = await apiInstance.addEventSectionAddOn(
    eventId,
    sectionId,
    addOnId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **addOnId** | [**string**] | The addOn identifier | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

# **addEventSectionPassType**
> CreateEventSection200Response addEventSectionPassType()

Connects an existing event pass type (ticket) to a registration section, making that pass type available within the section; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let passTypeId: string; //The passType identifier (default to undefined)

const { status, data } = await apiInstance.addEventSectionPassType(
    eventId,
    sectionId,
    passTypeId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

# **addEventSectionQuestion**
> CreateEventSection200Response addEventSectionQuestion()

Attaches an existing registration question to a section, appending it to the end of the section\'s question order; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)

const { status, data } = await apiInstance.addEventSectionQuestion(
    eventId,
    sectionId,
    questionId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

# **addEventSectionTier**
> CreateEventSection200Response addEventSectionTier(addEventAddOnTierRequest)

Adds an account tier to a registration section\'s allowed or disallowed tier list depending on the allowed flag, controlling which account tiers can access the section; requires update permission on events and read permission on tiers.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let tierId: string; //The tier identifier (default to undefined)
let addEventAddOnTierRequest: AddEventAddOnTierRequest; //

const { status, data } = await apiInstance.addEventSectionTier(
    eventId,
    sectionId,
    tierId,
    addEventAddOnTierRequest
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **addEventAddOnTierRequest** | **AddEventAddOnTierRequest**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **tierId** | [**string**] | The tier identifier | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

# **createEventSection**
> CreateEventSection200Response createEventSection(eventSectionCreateInputs)

Creates a new registration section for an event, inserting it at the requested sort position among the event\'s existing sections; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let eventSectionCreateInputs: EventSectionCreateInputs; //

const { status, data } = await apiInstance.createEventSection(
    eventId,
    eventSectionCreateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSectionCreateInputs** | **EventSectionCreateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

# **deleteEventSection**
> CreateAccountInvitations200Response deleteEventSection()

Permanently removes a registration section from an event and re-sequences the sort order of the event\'s remaining sections; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)

const { status, data } = await apiInstance.deleteEventSection(
    eventId,
    sectionId
);
```

### Parameters

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

# **getEventSection**
> CreateEventSection200Response getEventSection()

Retrieves a single registration section for the given event by ID, including its configured questions, pass types, and add-ons; requires read permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)

const { status, data } = await apiInstance.getEventSection(
    eventId,
    sectionId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

# **getEventSectionAddOns**
> GetEventAddOns200Response getEventSectionAddOns()

Returns a paginated list of event add-ons associated with the specified registration section, searchable by name; requires read permission on events.

### Example

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

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

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

### Parameters

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

**GetEventAddOns200Response**

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

# **getEventSectionPassTypes**
> GetEventAddOnPassTypes200Response getEventSectionPassTypes()

Returns a paginated list of the pass types associated with a registration section on an event, supporting search and ordering; requires read access to the events module.

### Example

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

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

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

### Parameters

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

**GetEventAddOnPassTypes200Response**

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

# **getEventSectionQuestions**
> GetEventSectionQuestions200Response getEventSectionQuestions()

Returns a paginated list of the registration questions belonging to a section of an event, supporting search and ordering; requires read access to the events module.

### Example

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

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

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

### Parameters

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

**GetEventSectionQuestions200Response**

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

# **getEventSectionTiers**
> GetAccountTiers200Response getEventSectionTiers()

Returns a paginated list of the account tiers associated with a registration section on an event, filterable by the `allowed` flag and supporting search and ordering; requires read access to the events and tiers modules.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let allowed: boolean; //Filter by allowed (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.getEventSectionTiers(
    eventId,
    sectionId,
    allowed,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **allowed** | [**boolean**] | Filter by allowed | 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

**GetAccountTiers200Response**

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

# **getEventSections**
> GetEventPassQuestionSections200Response getEventSections()

Returns a paginated list of the registration sections defined for an event, supporting search and ordering; requires read access to the events module.

### Example

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

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

let eventId: string; //The event 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.getEventSections(
    eventId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event 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

**GetEventPassQuestionSections200Response**

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

# **removeEventSectionAddOn**
> CreateEventSection200Response removeEventSectionAddOn()

Disconnects an event add-on from a registration section so it is no longer available for purchase within that section; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let addOnId: string; //The addOn identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSectionAddOn(
    eventId,
    sectionId,
    addOnId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **addOnId** | [**string**] | The addOn identifier | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

# **removeEventSectionPassType**
> CreateEventSection200Response removeEventSectionPassType()

Disconnects an event pass type (ticket) from a registration section so it is no longer offered within that section; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let passTypeId: string; //The passType identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSectionPassType(
    eventId,
    sectionId,
    passTypeId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

# **removeEventSectionQuestion**
> CreateEventSection200Response removeEventSectionQuestion()

Detaches a registration question from a section and re-sequences the sort order of the section\'s remaining questions; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSectionQuestion(
    eventId,
    sectionId,
    questionId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

# **removeEventSectionTier**
> CreateEventSection200Response removeEventSectionTier()

Disconnects an account tier from a registration section\'s allowed or disallowed tier list, based on the `allowed` flag, requiring read/update permission on events and read permission on tiers.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let tierId: string; //The tier identifier (default to undefined)
let allowed: boolean; //Filter by allowed (default to undefined)

const { status, data } = await apiInstance.removeEventSectionTier(
    eventId,
    sectionId,
    tierId,
    allowed
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **tierId** | [**string**] | The tier identifier | defaults to undefined|
| **allowed** | [**boolean**] | Filter by allowed | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

# **reorderEventSectionQuestions**
> ReorderEventSectionQuestions200Response reorderEventSectionQuestions(reorderEventFaqSectionQuestionsRequest)

Sets the sort order of a registration section\'s questions to match the order of the given questionIds array, requiring read/update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let reorderEventFaqSectionQuestionsRequest: ReorderEventFaqSectionQuestionsRequest; //

const { status, data } = await apiInstance.reorderEventSectionQuestions(
    eventId,
    sectionId,
    reorderEventFaqSectionQuestionsRequest
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **reorderEventFaqSectionQuestionsRequest** | **ReorderEventFaqSectionQuestionsRequest**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|


### Return type

**ReorderEventSectionQuestions200Response**

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

# **updateEventSection**
> CreateEventSection200Response updateEventSection(eventSectionUpdateInputs)

Updates the fields of an event\'s registration section, such as name, description, or sort order, requiring read/update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let eventSectionUpdateInputs: EventSectionUpdateInputs; //

const { status, data } = await apiInstance.updateEventSection(
    eventId,
    sectionId,
    eventSectionUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSectionUpdateInputs** | **EventSectionUpdateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

# **updateEventSectionQuestion**
> CreateEventSection200Response updateEventSectionQuestion(updateEventFollowupQuestionRequest)

Sets the sort order of a single question within an event registration section, requiring read/update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sectionId: string; //The section identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let updateEventFollowupQuestionRequest: UpdateEventFollowupQuestionRequest; //

const { status, data } = await apiInstance.updateEventSectionQuestion(
    eventId,
    sectionId,
    questionId,
    updateEventFollowupQuestionRequest
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **updateEventFollowupQuestionRequest** | **UpdateEventFollowupQuestionRequest**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sectionId** | [**string**] | The section identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|


### Return type

**CreateEventSection200Response**

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

