Table of Contents

Class EventNoteClient

Namespace
Crews.PlanningCenter.Api.Groups.V2023_07_10
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with the EventNote resource.

public class EventNoteClient : SingletonResourceClient<EventNote, EventNoteResource, EventNoteResponse>
Inheritance
EventNoteClient
Inherited Members

Constructors

EventNoteClient(HttpClient, Uri)

Client for interacting with the EventNote resource.

public EventNoteClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

Owner

Associated Owner.

public OwnerClient Owner { get; }

Property Value

OwnerClient

Methods

GetAsync(CancellationToken)

Fetches the EventNote resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<EventNoteResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeOwner()

Include related Owner resources in the response.

public EventNoteClient IncludeOwner()

Returns

EventNoteClient