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
httpClientHttpClienturiUri
Methods
GetAsync(CancellationToken)
Fetches a paginated list of Attendee resources asynchronously.
public Task<AttendeeCollectionResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA 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
IncludePerson()
Include related Person resources in the response.
public AttendeeClient IncludePerson()
Returns
IncludeRegistration()
Include related Registration resources in the response.
public AttendeeClient IncludeRegistration()
Returns
IncludeSelectionType()
Include related SelectionType resources in the response.
public AttendeeClient IncludeSelectionType()
Returns
WithId(string)
Creates a new instance of a Attendee client for a specific resource ID.
public AttendeeClient WithId(string id)
Parameters
idstringThe ID of the resource to create a client for.
Returns
- AttendeeClient
A new instance of the resource client for the specified resource ID.