Table of Contents

Class AttendeeClient

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

Client for interacting with the Attendee resource.

public class AttendeeClient : SingletonResourceClient<Attendee, AttendeeResource, AttendeeResponse>
Inheritance
AttendeeClient
Inherited Members

Constructors

AttendeeClient(HttpClient, Uri)

Client for interacting with the Attendee resource.

public AttendeeClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

EmergencyContact

Associated EmergencyContact.

public EmergencyContactClient EmergencyContact { get; }

Property Value

EmergencyContactClient

Person

Associated Person.

public PersonClient Person { get; }

Property Value

PersonClient

Registration

Associated Registration.

public RegistrationClient Registration { get; }

Property Value

RegistrationClient

SelectionType

Associated SelectionType.

public SelectionTypeClient SelectionType { get; }

Property Value

SelectionTypeClient

Methods

GetAsync(CancellationToken)

Fetches the Attendee resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<AttendeeResponse>

A task representing the asynchronous operation, containing the Attendee resource.

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