Table of Contents

Class EventClient

Namespace
Crews.PlanningCenter.Api.Webhooks.V2022_10_20
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

Deliveries

Associated Deliveries.

public PaginatedDeliveryClient Deliveries { get; }

Property Value

PaginatedDeliveryClient

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.

IgnoreAsync(CancellationToken)

Planning Center does not provide a description for this action.

public Task IgnoreAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task

RedeliverAsync(CancellationToken)

Planning Center does not provide a description for this action.

public Task RedeliverAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task