# EventsSessionsLocationsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**addEventSessionLocationSession**](#addeventsessionlocationsession) | **POST** /events/{eventId}/sessionLocations/{locationId}/sessions/{sessionId} | Assign a session to a location|
|[**createEventSessionLocation**](#createeventsessionlocation) | **POST** /events/{eventId}/sessionLocations | Create an event session location|
|[**deleteEventSessionLocation**](#deleteeventsessionlocation) | **DELETE** /events/{eventId}/sessionLocations/{locationId} | Delete an event session location|
|[**getEventSessionLocation**](#geteventsessionlocation) | **GET** /events/{eventId}/sessionLocations/{locationId} | Get an event session location|
|[**getEventSessionLocationSessions**](#geteventsessionlocationsessions) | **GET** /events/{eventId}/sessionLocations/{locationId}/sessions | List sessions at an event session location|
|[**getEventSessionLocations**](#geteventsessionlocations) | **GET** /events/{eventId}/sessionLocations | List an event\&#39;s session locations|
|[**removeEventSessionLocationSession**](#removeeventsessionlocationsession) | **DELETE** /events/{eventId}/sessionLocations/{locationId}/sessions/{sessionId} | Unassign a session from a location|
|[**updateEventSessionLocation**](#updateeventsessionlocation) | **PUT** /events/{eventId}/sessionLocations/{locationId} | Update an event session location|

# **addEventSessionLocationSession**
> CreateEventSessionLocation200Response addEventSessionLocationSession()

Associates an event session with a session location so the session is scheduled at that location, requiring read/update permission on events.

### Example

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

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

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

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

### Parameters

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


### Return type

**CreateEventSessionLocation200Response**

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

# **createEventSessionLocation**
> CreateEventSessionLocation200Response createEventSessionLocation(eventSessionLocationCreateInputs)

Creates a new physical or virtual location that event sessions can be scheduled at, requiring read/update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let eventSessionLocationCreateInputs: EventSessionLocationCreateInputs; //

const { status, data } = await apiInstance.createEventSessionLocation(
    eventId,
    eventSessionLocationCreateInputs
);
```

### Parameters

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


### Return type

**CreateEventSessionLocation200Response**

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

# **deleteEventSessionLocation**
> CreateAccountInvitations200Response deleteEventSessionLocation()

Permanently deletes a session location from an event, requiring read/update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let locationId: string; //The location identifier (default to undefined)

const { status, data } = await apiInstance.deleteEventSessionLocation(
    eventId,
    locationId
);
```

### Parameters

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

# **getEventSessionLocation**
> CreateEventSessionLocation200Response getEventSessionLocation()

Returns the details of a single session location for an event, such as its name and configuration; requires read access to the events module.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let locationId: string; //The location identifier (default to undefined)

const { status, data } = await apiInstance.getEventSessionLocation(
    eventId,
    locationId
);
```

### Parameters

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


### Return type

**CreateEventSessionLocation200Response**

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

# **getEventSessionLocationSessions**
> GetEventActivationSessions200Response getEventSessionLocationSessions()

Returns a paginated list of event sessions assigned to a specific session location, supporting search and ordering; requires \"read\" permission on events.

### Example

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

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

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

### Parameters

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

**GetEventActivationSessions200Response**

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

# **getEventSessionLocations**
> GetEventSessionLocations200Response getEventSessionLocations()

Returns a paginated list of session locations (rooms/venues) configured for the given event, supporting search and ordering; requires \"read\" permission on events.

### Example

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

const configuration = new Configuration();
const apiInstance = new EventsSessionsLocationsApi(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.getEventSessionLocations(
    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

**GetEventSessionLocations200Response**

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

# **removeEventSessionLocationSession**
> CreateEventSessionLocation200Response removeEventSessionLocationSession()

Removes the association between an event session and a session location, requiring read/update permission on events.

### Example

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

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

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

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

### Parameters

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


### Return type

**CreateEventSessionLocation200Response**

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

# **updateEventSessionLocation**
> CreateEventSessionLocation200Response updateEventSessionLocation(eventSessionLocationUpdateInputs)

Updates the name, description, address, or other details of an existing session location for the given event; requires update permission on events.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let locationId: string; //The location identifier (default to undefined)
let eventSessionLocationUpdateInputs: EventSessionLocationUpdateInputs; //

const { status, data } = await apiInstance.updateEventSessionLocation(
    eventId,
    locationId,
    eventSessionLocationUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventSessionLocationUpdateInputs** | **EventSessionLocationUpdateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **locationId** | [**string**] | The location identifier | defaults to undefined|


### Return type

**CreateEventSessionLocation200Response**

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

