# EventsSessionsQuestionsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**addEventSessionQuestionChoiceSubQuestion**](#addeventsessionquestionchoicesubquestion) | **POST** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices/{choiceId}/subQuestions/{subQuestionId} | Attach a follow-up question to a session question choice|
|[**attachEventSessionQuestionSearchList**](#attacheventsessionquestionsearchlist) | **PUT** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/searchlist | Attach a search list to a session question|
|[**createEventSessionQuestion**](#createeventsessionquestion) | **POST** /events/{eventId}/sessions/{sessionId}/questions | Create a session registration question|
|[**createEventSessionQuestionChoice**](#createeventsessionquestionchoice) | **POST** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices | Add a choice to a session question|
|[**deleteEventSessionQuestion**](#deleteeventsessionquestion) | **DELETE** /events/{eventId}/sessions/{sessionId}/questions/{questionId} | Delete an event session question|
|[**deleteEventSessionQuestionChoice**](#deleteeventsessionquestionchoice) | **DELETE** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices/{choiceId} | Delete a session question choice|
|[**detachEventSessionQuestionSearchList**](#detacheventsessionquestionsearchlist) | **DELETE** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/searchlist | Detach a search list from a session question|
|[**getEventSessionQuestion**](#geteventsessionquestion) | **GET** /events/{eventId}/sessions/{sessionId}/questions/{questionId} | Get a session registration question|
|[**getEventSessionQuestionChoice**](#geteventsessionquestionchoice) | **GET** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices/{choiceId} | Get a session question\&#39;s answer choice|
|[**getEventSessionQuestionChoiceSubQuestions**](#geteventsessionquestionchoicesubquestions) | **GET** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices/{choiceId}/subQuestions | List an answer choice\&#39;s follow-up sub-questions|
|[**getEventSessionQuestionChoices**](#geteventsessionquestionchoices) | **GET** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices | List a session question\&#39;s answer choices|
|[**getEventSessionQuestionResponses**](#geteventsessionquestionresponses) | **GET** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/responses | List a session question\&#39;s registrant responses|
|[**getEventSessionQuestions**](#geteventsessionquestions) | **GET** /events/{eventId}/sessions/{sessionId}/questions | List an event session\&#39;s registration questions|
|[**removeEventSessionQuestionChoiceSubQuestion**](#removeeventsessionquestionchoicesubquestion) | **DELETE** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices/{choiceId}/subQuestions/{subQuestionId} | Remove a sub-question from a choice|
|[**reorderEventSessionQuestionChoiceSubQuestions**](#reordereventsessionquestionchoicesubquestions) | **PUT** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices/{choiceId}/subQuestions/reorder | Reorder a choice\&#39;s sub-questions|
|[**reorderEventSessionQuestionChoices**](#reordereventsessionquestionchoices) | **PUT** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices/reorder | Reorder a session question\&#39;s choices|
|[**updateEventSessionQuestion**](#updateeventsessionquestion) | **PUT** /events/{eventId}/sessions/{sessionId}/questions/{questionId} | Update an event session question|
|[**updateEventSessionQuestionChoice**](#updateeventsessionquestionchoice) | **PUT** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices/{choiceId} | Update a session question choice|
|[**updateEventSessionQuestionChoiceSubQuestion**](#updateeventsessionquestionchoicesubquestion) | **PUT** /events/{eventId}/sessions/{sessionId}/questions/{questionId}/choices/{choiceId}/subQuestions/{subQuestionId} | Reposition a choice\&#39;s sub-question|

# **addEventSessionQuestionChoiceSubQuestion**
> CreateEventSessionQuestionChoice200Response addEventSessionQuestionChoiceSubQuestion()

Links an existing event session question as a conditional sub-question that is shown when the given answer choice of another session question is selected, appending it to the choice\'s ordered list of sub-questions; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice identifier (default to undefined)
let subQuestionId: string; //The subQuestion identifier (default to undefined)

const { status, data } = await apiInstance.addEventSessionQuestionChoiceSubQuestion(
    eventId,
    sessionId,
    questionId,
    choiceId,
    subQuestionId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
| **subQuestionId** | [**string**] | The subQuestion identifier | defaults to undefined|


### Return type

**CreateEventSessionQuestionChoice200Response**

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

# **attachEventSessionQuestionSearchList**
> CreateEventSessionQuestion200Response attachEventSessionQuestionSearchList(attachSearchListInputs)

Links a search list (a predefined, searchable set of selectable values) to an event session question so its answer options are sourced from that list; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let attachSearchListInputs: AttachSearchListInputs; //

const { status, data } = await apiInstance.attachEventSessionQuestionSearchList(
    eventId,
    sessionId,
    questionId,
    attachSearchListInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **attachSearchListInputs** | **AttachSearchListInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|


### Return type

**CreateEventSessionQuestion200Response**

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

# **createEventSessionQuestion**
> CreateEventSessionQuestion200Response createEventSessionQuestion(eventSessionQuestionCreateInputs)

Creates a new custom registration question for an event session, optionally placed in a section or as a sub-question of an answer choice; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let eventSessionQuestionCreateInputs: EventSessionQuestionCreateInputs; //

const { status, data } = await apiInstance.createEventSessionQuestion(
    eventId,
    sessionId,
    eventSessionQuestionCreateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSessionQuestionCreateInputs** | **EventSessionQuestionCreateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|


### Return type

**CreateEventSessionQuestion200Response**

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

# **createEventSessionQuestionChoice**
> CreateEventSessionQuestionChoice200Response createEventSessionQuestionChoice(eventSessionQuestionChoiceCreateInputs)

Creates a new answer choice for the specified event session question, inserting it at the given sort order position and shifting existing choices as needed; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let eventSessionQuestionChoiceCreateInputs: EventSessionQuestionChoiceCreateInputs; //

const { status, data } = await apiInstance.createEventSessionQuestionChoice(
    eventId,
    sessionId,
    questionId,
    eventSessionQuestionChoiceCreateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSessionQuestionChoiceCreateInputs** | **EventSessionQuestionChoiceCreateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|


### Return type

**CreateEventSessionQuestionChoice200Response**

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

# **deleteEventSessionQuestion**
> CreateAccountInvitations200Response deleteEventSessionQuestion()

Permanently deletes a question from an event session and re-sequences the sort order of the remaining questions in that session; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let sectionId: string; //Filter by sectionId (optional) (default to undefined)

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

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **sectionId** | [**string**] | Filter by sectionId | (optional) 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)

# **deleteEventSessionQuestionChoice**
> CreateAccountInvitations200Response deleteEventSessionQuestionChoice()

Permanently deletes an answer choice from an event session question and re-sequences the sort order of the remaining choices; fails if the question is a checkbox type that already has responses, and requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice identifier (default to undefined)

const { status, data } = await apiInstance.deleteEventSessionQuestionChoice(
    eventId,
    sessionId,
    questionId,
    choiceId
);
```

### Parameters

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

# **detachEventSessionQuestionSearchList**
> CreateEventSessionQuestion200Response detachEventSessionQuestionSearchList()

Removes the association between an event session question and its linked search list by clearing the question\'s searchListId, without deleting the search list itself; requires update permission on events.

### Example

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

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

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

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

### Parameters

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


### Return type

**CreateEventSessionQuestion200Response**

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

# **getEventSessionQuestion**
> CreateEventSessionQuestion200Response getEventSessionQuestion()

Returns a single registration question configured for an event session, identified by its question ID; requires \"read\" permission on events.

### Example

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

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

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

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

### Parameters

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


### Return type

**CreateEventSessionQuestion200Response**

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

# **getEventSessionQuestionChoice**
> CreateEventSessionQuestionChoice200Response getEventSessionQuestionChoice()

Returns a single answer choice belonging to a session registration question, identified by its choice ID; requires \"read\" permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice identifier (default to undefined)

const { status, data } = await apiInstance.getEventSessionQuestionChoice(
    eventId,
    sessionId,
    questionId,
    choiceId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|


### Return type

**CreateEventSessionQuestionChoice200Response**

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

# **getEventSessionQuestionChoiceSubQuestions**
> GetEventSessionQuestionChoiceSubQuestions200Response getEventSessionQuestionChoiceSubQuestions()

Returns a paginated list of the follow-up sub-questions that are triggered when a session question\'s answer choice is selected, supporting search and ordering; requires \"read\" permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice 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.getEventSessionQuestionChoiceSubQuestions(
    eventId,
    sessionId,
    questionId,
    choiceId,
    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|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **choiceId** | [**string**] | The choice 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

**GetEventSessionQuestionChoiceSubQuestions200Response**

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

# **getEventSessionQuestionChoices**
> GetEventSessionQuestionChoices200Response getEventSessionQuestionChoices()

Returns a paginated list of the answer choices configured for a session registration question, supporting search and ordering; requires \"read\" permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question 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.getEventSessionQuestionChoices(
    eventId,
    sessionId,
    questionId,
    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|
| **questionId** | [**string**] | The question 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

**GetEventSessionQuestionChoices200Response**

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

# **getEventSessionQuestionResponses**
> GetEventSessionQuestionResponses200Response getEventSessionQuestionResponses()

Returns a paginated list of registrant-submitted answers to a session registration question, filtered to registrations with a ready or needs-info status, supporting search and ordering; requires \"read\" permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question 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.getEventSessionQuestionResponses(
    eventId,
    sessionId,
    questionId,
    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|
| **questionId** | [**string**] | The question 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

**GetEventSessionQuestionResponses200Response**

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

# **getEventSessionQuestions**
> GetEventSessionQuestions200Response getEventSessionQuestions()

Returns a paginated list of registration questions configured for an event session, supporting search and ordering; requires \"read\" permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session 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.getEventSessionQuestions(
    eventId,
    sessionId,
    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|
| **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

**GetEventSessionQuestions200Response**

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

# **removeEventSessionQuestionChoiceSubQuestion**
> CreateAccountInvitations200Response removeEventSessionQuestionChoiceSubQuestion()

Detaches a conditional follow-up (sub) question from an event session question choice and re-sequences the sort order of the choice\'s remaining sub-questions; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice identifier (default to undefined)
let subQuestionId: string; //The subQuestion identifier (default to undefined)

const { status, data } = await apiInstance.removeEventSessionQuestionChoiceSubQuestion(
    eventId,
    sessionId,
    questionId,
    choiceId,
    subQuestionId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
| **subQuestionId** | [**string**] | The subQuestion 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)

# **reorderEventSessionQuestionChoiceSubQuestions**
> ReorderEventSessionQuestionChoiceSubQuestions200Response reorderEventSessionQuestionChoiceSubQuestions(reorderEventFaqSectionQuestionsRequest)

Sets the sort order of a session question choice\'s conditional sub-questions to match the order of the given list of question IDs, which must include every existing sub-question for that choice; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice identifier (default to undefined)
let reorderEventFaqSectionQuestionsRequest: ReorderEventFaqSectionQuestionsRequest; //

const { status, data } = await apiInstance.reorderEventSessionQuestionChoiceSubQuestions(
    eventId,
    sessionId,
    questionId,
    choiceId,
    reorderEventFaqSectionQuestionsRequest
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **reorderEventFaqSectionQuestionsRequest** | **ReorderEventFaqSectionQuestionsRequest**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|


### Return type

**ReorderEventSessionQuestionChoiceSubQuestions200Response**

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

# **reorderEventSessionQuestionChoices**
> ReorderEventSessionQuestionChoices200Response reorderEventSessionQuestionChoices(reorderBookingSpaceQuestionChoicesRequest)

Sets the sort order of an event session question\'s answer choices to match the order of the given list of choice IDs, which must include every existing choice for that question; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let reorderBookingSpaceQuestionChoicesRequest: ReorderBookingSpaceQuestionChoicesRequest; //

const { status, data } = await apiInstance.reorderEventSessionQuestionChoices(
    eventId,
    sessionId,
    questionId,
    reorderBookingSpaceQuestionChoicesRequest
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **reorderBookingSpaceQuestionChoicesRequest** | **ReorderBookingSpaceQuestionChoicesRequest**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|


### Return type

**ReorderEventSessionQuestionChoices200Response**

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

# **updateEventSessionQuestion**
> CreateEventSessionQuestion200Response updateEventSessionQuestion(eventSessionQuestionUpdateInputs)

Updates the fields of an existing event session question, such as its label, description, type, or attached search list, and repositions it within the session\'s sort order if a new sortOrder is provided; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let eventSessionQuestionUpdateInputs: EventSessionQuestionUpdateInputs; //

const { status, data } = await apiInstance.updateEventSessionQuestion(
    eventId,
    sessionId,
    questionId,
    eventSessionQuestionUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSessionQuestionUpdateInputs** | **EventSessionQuestionUpdateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|


### Return type

**CreateEventSessionQuestion200Response**

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

# **updateEventSessionQuestionChoice**
> SyncAccounts200Response updateEventSessionQuestionChoice(eventSessionQuestionChoiceUpdateInputs)

Updates the fields (such as value or text) of an existing answer choice on an event session question and repositions it within the question\'s sort order when a new sortOrder is provided; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice identifier (default to undefined)
let eventSessionQuestionChoiceUpdateInputs: EventSessionQuestionChoiceUpdateInputs; //

const { status, data } = await apiInstance.updateEventSessionQuestionChoice(
    eventId,
    sessionId,
    questionId,
    choiceId,
    eventSessionQuestionChoiceUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSessionQuestionChoiceUpdateInputs** | **EventSessionQuestionChoiceUpdateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **choiceId** | [**string**] | The choice 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)

# **updateEventSessionQuestionChoiceSubQuestion**
> CreateEventSessionQuestionChoice200Response updateEventSessionQuestionChoiceSubQuestion(updateEventFollowupQuestionRequest)

Updates the sort order of a single conditional sub-question attached to an event session question choice, shifting the other sub-questions of that choice to accommodate the new position; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let sessionId: string; //The session identifier (default to undefined)
let questionId: string; //The question identifier (default to undefined)
let choiceId: string; //The choice identifier (default to undefined)
let subQuestionId: string; //The subQuestion identifier (default to undefined)
let updateEventFollowupQuestionRequest: UpdateEventFollowupQuestionRequest; //

const { status, data } = await apiInstance.updateEventSessionQuestionChoiceSubQuestion(
    eventId,
    sessionId,
    questionId,
    choiceId,
    subQuestionId,
    updateEventFollowupQuestionRequest
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **updateEventFollowupQuestionRequest** | **UpdateEventFollowupQuestionRequest**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **sessionId** | [**string**] | The session identifier | defaults to undefined|
| **questionId** | [**string**] | The question identifier | defaults to undefined|
| **choiceId** | [**string**] | The choice identifier | defaults to undefined|
| **subQuestionId** | [**string**] | The subQuestion identifier | defaults to undefined|


### Return type

**CreateEventSessionQuestionChoice200Response**

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

