Table of Contents

Class PaginatedAttendeeClient

Namespace
Crews.PlanningCenter.Api.Registrations.V2025_05_01
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with Attendee collection resources.

public class PaginatedAttendeeClient : PaginatedResourceClient<Attendee, AttendeeResource, AttendeeCollectionResponse, AttendeeResponse>
Inheritance
PaginatedAttendeeClient
Inherited Members

Constructors

PaginatedAttendeeClient(HttpClient, Uri)

Client for interacting with Attendee collection resources.

public PaginatedAttendeeClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

AddCustomParameter(string, string)

Adds a custom query parameter to the request URI.

public PaginatedAttendeeClient AddCustomParameter(string parameter, string value)

Parameters

parameter string

The name of the query parameter.

value string

The value of the query parameter.

Returns

PaginatedAttendeeClient

The current PaginatedAttendeeClient instance.

ClearParameters()

Removes the entire query string from the request URI.

public PaginatedAttendeeClient ClearParameters()

Returns

PaginatedAttendeeClient

The current PaginatedAttendeeClient instance.

Filter(string)

Adds a filter query parameter to the request.

public PaginatedAttendeeClient Filter(string filter)

Parameters

filter string

The filter criteria.

Returns

PaginatedAttendeeClient

The current PaginatedAttendeeClient instance.

Remarks

See Planning Center API documentation for details on supported filter values for this resource.

GetAsync(CancellationToken)

Fetches a paginated list of Attendee resources asynchronously.

public Task<AttendeeCollectionResponse> GetAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<AttendeeCollectionResponse>

A task representing the asynchronous operation, containing a paginated list of Attendee resources.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeEmergencyContact()

Include related EmergencyContact resources in the response.

public AttendeeClient IncludeEmergencyContact()

Returns

AttendeeClient

IncludePerson()

Include related Person resources in the response.

public AttendeeClient IncludePerson()

Returns

AttendeeClient

IncludeRegistration()

Include related Registration resources in the response.

public AttendeeClient IncludeRegistration()

Returns

AttendeeClient

IncludeSelectionType()

Include related SelectionType resources in the response.

public AttendeeClient IncludeSelectionType()

Returns

AttendeeClient

Offset(int)

Sets the item offset in the paginated response.

public PaginatedAttendeeClient Offset(int count)

Parameters

count int

The number of items to skip.

Returns

PaginatedAttendeeClient

The current PaginatedAttendeeClient instance.

PerPage(int)

Sets the number of items to be returned per page in the paginated response.

public PaginatedAttendeeClient PerPage(int count)

Parameters

count int

The number of items to be returned per page.

Returns

PaginatedAttendeeClient

The current PaginatedAttendeeClient instance.

WithId(string)

Creates a new instance of a Attendee client for a specific resource ID.

public AttendeeClient WithId(string id)

Parameters

id string

The ID of the resource to create a client for.

Returns

AttendeeClient

A new instance of the resource client for the specified resource ID.