Table of Contents

Class EventClient

Namespace
Crews.PlanningCenter.Api.CheckIns.V2018_08_01
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with the Event resource.

public class EventClient : SingletonResourceClient<Event, EventResource, EventResponse>
Inheritance
EventClient
Inherited Members

Constructors

EventClient(HttpClient, Uri)

Client for interacting with the Event resource.

public EventClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

AttendanceTypes

Associated AttendanceTypes.

public PaginatedAttendanceTypeClient AttendanceTypes { get; }

Property Value

PaginatedAttendanceTypeClient

CheckIns

Associated CheckIns.

public PaginatedCheckInClient CheckIns { get; }

Property Value

PaginatedCheckInClient

CurrentEventTimes

Associated CurrentEventTimes.

public PaginatedEventTimeClient CurrentEventTimes { get; }

Property Value

PaginatedEventTimeClient

EventLabels

Associated EventLabels.

public PaginatedEventLabelClient EventLabels { get; }

Property Value

PaginatedEventLabelClient

EventPeriods

Associated EventPeriods.

public PaginatedEventPeriodClient EventPeriods { get; }

Property Value

PaginatedEventPeriodClient

Associated IntegrationLinks.

public PaginatedIntegrationLinkClient IntegrationLinks { get; }

Property Value

PaginatedIntegrationLinkClient

Locations

Associated Locations.

public PaginatedLocationClient Locations { get; }

Property Value

PaginatedLocationClient

PersonEvents

Associated PersonEvents.

public PaginatedPersonEventClient PersonEvents { get; }

Property Value

PaginatedPersonEventClient

Methods

GetAsync(CancellationToken)

Fetches the Event resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<EventResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeAttendanceTypes()

Include related AttendanceTypes resources in the response.

public EventClient IncludeAttendanceTypes()

Returns

EventClient