# EventsSessionsAccessesApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getEventSessionAccess**](#geteventsessionaccess) | **GET** /events/{eventId}/sessions/{sessionId}/passes/{passId} | Get a pass\&#39;s access to a session|
|[**getEventSessionAccessQuestionSections**](#geteventsessionaccessquestionsections) | **GET** /events/{eventId}/sessions/{sessionId}/passes/{passId}/sections | List registration question sections for a pass\&#39;s session access|
|[**getEventSessionAccessResponseChanges**](#geteventsessionaccessresponsechanges) | **GET** /events/{eventId}/sessions/{sessionId}/passes/{passId}/responses/{questionId}/changes | List change history for a session access response|

# **getEventSessionAccess**
> GetEventSessionAccess200Response getEventSessionAccess()

Returns the access record linking a specific pass to an event session, including its status and registration responses; requires read access to the events and attendees modules.

### Example

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

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

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

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

### Parameters

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


### Return type

**GetEventSessionAccess200Response**

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

# **getEventSessionAccessQuestionSections**
> GetEventSessionAccessQuestionSections200Response getEventSessionAccessQuestionSections()

Returns the registration question sections and their questions/choices (with remaining supply counts) applicable to a pass\'s access to a given event session; requires read access to the events and attendees modules.

### Example

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

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

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

**GetEventSessionAccessQuestionSections200Response**

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

# **getEventSessionAccessResponseChanges**
> GetEventSessionAccessResponseChanges200Response getEventSessionAccessResponseChanges()

Returns a paginated audit trail of changes made to a specific registration question\'s response on a pass\'s session access, supporting search and ordering; requires read access to the events and attendees modules.

### Example

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

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

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

**GetEventSessionAccessResponseChanges200Response**

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

