# EventsPasstypesExchangetargetsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**addEventPassTypeExchangeTarget**](#addeventpasstypeexchangetarget) | **POST** /events/{eventId}/passTypes/{passTypeId}/exchangeTargets | Add Event Pass Type Exchange Target|
|[**getEventPassTypeExchangeTargetExchanges**](#geteventpasstypeexchangetargetexchanges) | **GET** /events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}/exchanges | Get Event Pass Type Exchange Target Exchanges|
|[**getEventPassTypeExchangeTargetPayments**](#geteventpasstypeexchangetargetpayments) | **GET** /events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}/payments | Get Event Pass Type Exchange Target Payments|
|[**getEventPassTypeExchangeTargets**](#geteventpasstypeexchangetargets) | **GET** /events/{eventId}/passTypes/{passTypeId}/exchangeTargets | Get Event Pass Type Exchange Targets|
|[**removeEventPassTypeExchangeTarget**](#removeeventpasstypeexchangetarget) | **DELETE** /events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId} | Remove Event Pass Type Exchange Target|
|[**updateEventPassTypeExchangeTarget**](#updateeventpasstypeexchangetarget) | **PUT** /events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId} | Update Event Pass Type Exchange Target|

# **addEventPassTypeExchangeTarget**
> AddEventPassTypeExchangeTarget200Response addEventPassTypeExchangeTarget(passTypeExchangeTargetCreateInputs)

Add Event Pass Type Exchange Target endpoint

### Example

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

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

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

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

### Parameters

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


### Return type

**AddEventPassTypeExchangeTarget200Response**

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

# **getEventPassTypeExchangeTargetExchanges**
> GetEventPassTypeExchangeTargetExchanges200Response getEventPassTypeExchangeTargetExchanges()

Get Event Pass Type Exchange Target Exchanges endpoint

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let passTypeId: string; //The passType identifier (default to undefined)
let exchangeTargetId: string; //The exchangeTarget 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.getEventPassTypeExchangeTargetExchanges(
    eventId,
    passTypeId,
    exchangeTargetId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|
| **exchangeTargetId** | [**string**] | The exchangeTarget 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

**GetEventPassTypeExchangeTargetExchanges200Response**

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

# **getEventPassTypeExchangeTargetPayments**
> GetAccountPayments200Response getEventPassTypeExchangeTargetPayments()

Get Event Pass Type Exchange Target Payments endpoint

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let passTypeId: string; //The passType identifier (default to undefined)
let exchangeTargetId: string; //The exchangeTarget 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.getEventPassTypeExchangeTargetPayments(
    eventId,
    passTypeId,
    exchangeTargetId,
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|
| **exchangeTargetId** | [**string**] | The exchangeTarget 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

**GetAccountPayments200Response**

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

# **getEventPassTypeExchangeTargets**
> GetEventPassTypeExchangeTargets200Response getEventPassTypeExchangeTargets()

Get Event Pass Type Exchange Targets endpoint

### Example

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

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

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

### Parameters

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

**GetEventPassTypeExchangeTargets200Response**

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

# **removeEventPassTypeExchangeTarget**
> AddEventPassTypeExchangeTarget200Response removeEventPassTypeExchangeTarget()

Remove Event Pass Type Exchange Target endpoint

### Example

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

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

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

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

### Parameters

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


### Return type

**AddEventPassTypeExchangeTarget200Response**

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

# **updateEventPassTypeExchangeTarget**
> AddEventPassTypeExchangeTarget200Response updateEventPassTypeExchangeTarget(passTypeExchangeTargetUpdateInputs)

Update Event Pass Type Exchange Target endpoint

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let passTypeId: string; //The passType identifier (default to undefined)
let exchangeTargetId: string; //The exchangeTarget identifier (default to undefined)
let passTypeExchangeTargetUpdateInputs: PassTypeExchangeTargetUpdateInputs; //

const { status, data } = await apiInstance.updateEventPassTypeExchangeTarget(
    eventId,
    passTypeId,
    exchangeTargetId,
    passTypeExchangeTargetUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **passTypeExchangeTargetUpdateInputs** | **PassTypeExchangeTargetUpdateInputs**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **passTypeId** | [**string**] | The passType identifier | defaults to undefined|
| **exchangeTargetId** | [**string**] | The exchangeTarget identifier | defaults to undefined|


### Return type

**AddEventPassTypeExchangeTarget200Response**

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

