# EventsPassesFollowupsApi

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

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**getEventPassQuestionFollowups**](#geteventpassquestionfollowups) | **GET** /events/{eventId}/registrations/{registrationId}/passes/{passId}/followups | List an attendee pass\&#39;s followup questions|
|[**getEventPassQuestionSections**](#geteventpassquestionsections) | **GET** /events/{eventId}/registrations/{registrationId}/passes/{passId}/sections | List an attendee pass\&#39;s registration sections|
|[**updateEventPassFollowupResponses**](#updateeventpassfollowupresponses) | **PUT** /events/{eventId}/registrations/{registrationId}/passes/{passId}/followups | Update all followup question responses for a pass|
|[**updateEventPassSingleFollowupResponses**](#updateeventpasssinglefollowupresponses) | **PUT** /events/{eventId}/registrations/{registrationId}/passes/{passId}/followups/{followupId} | Update responses for one followup on a pass|

# **getEventPassQuestionFollowups**
> GetEventFollowups200Response getEventPassQuestionFollowups()

Returns the followup question forms and their questions/choices applicable to the specified attendee\'s event pass, based on the event\'s configured followups; requires the \"read\" permission on both the \"events\" and \"attendees\" modules.

### Example

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

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

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

### Parameters

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

**GetEventFollowups200Response**

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

# **getEventPassQuestionSections**
> GetEventPassQuestionSections200Response getEventPassQuestionSections()

Returns the registration question sections and their questions/choices applicable to the specified attendee\'s event pass, based on the event\'s configured registration sections; requires the \"read\" permission on both the \"events\" and \"attendees\" modules.

### Example

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

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

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

### Parameters

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

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

# **updateEventPassFollowupResponses**
> CreateAccountInvitations200Response updateEventPassFollowupResponses(updateEventPassFollowupResponsesRequest)

Bulk-updates the responses to an attendee\'s pending followup questions for the given event pass, requires read permission on events and read/update permission on attendees.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let registrationId: string; //The registration identifier (default to undefined)
let passId: string; //The pass identifier (default to undefined)
let updateEventPassFollowupResponsesRequest: UpdateEventPassFollowupResponsesRequest; //

const { status, data } = await apiInstance.updateEventPassFollowupResponses(
    eventId,
    registrationId,
    passId,
    updateEventPassFollowupResponsesRequest
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **updateEventPassFollowupResponsesRequest** | **UpdateEventPassFollowupResponsesRequest**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **registrationId** | [**string**] | The registration identifier | defaults to undefined|
| **passId** | [**string**] | The pass identifier | defaults to undefined|


### Return type

**CreateAccountInvitations200Response**

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

# **updateEventPassSingleFollowupResponses**
> CreateAccountInvitations200Response updateEventPassSingleFollowupResponses(updateEventPassFollowupResponsesRequest)

Updates an attendee\'s question responses for a single specified followup on the given event pass, requires read permission on events and read/update permission on attendees.

### Example

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

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

let eventId: string; //The event identifier (default to undefined)
let registrationId: string; //The registration identifier (default to undefined)
let passId: string; //The pass identifier (default to undefined)
let followupId: string; //The followup identifier (default to undefined)
let updateEventPassFollowupResponsesRequest: UpdateEventPassFollowupResponsesRequest; //

const { status, data } = await apiInstance.updateEventPassSingleFollowupResponses(
    eventId,
    registrationId,
    passId,
    followupId,
    updateEventPassFollowupResponsesRequest
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **updateEventPassFollowupResponsesRequest** | **UpdateEventPassFollowupResponsesRequest**|  | |
| **eventId** | [**string**] | The event identifier | defaults to undefined|
| **registrationId** | [**string**] | The registration identifier | defaults to undefined|
| **passId** | [**string**] | The pass identifier | defaults to undefined|
| **followupId** | [**string**] | The followup identifier | defaults to undefined|


### Return type

**CreateAccountInvitations200Response**

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

