Table of Contents

Class NoteCategorySubscriptionClient

Namespace
Crews.PlanningCenter.Api.People.V2025_07_17
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with the NoteCategorySubscription resource.

public class NoteCategorySubscriptionClient : SingletonResourceClient<NoteCategorySubscription, NoteCategorySubscriptionResource, NoteCategorySubscriptionResponse>
Inheritance
NoteCategorySubscriptionClient
Inherited Members

Constructors

NoteCategorySubscriptionClient(HttpClient, Uri)

Client for interacting with the NoteCategorySubscription resource.

public NoteCategorySubscriptionClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

Person

Associated Person.

public PersonClient Person { get; }

Property Value

PersonClient

Methods

GetAsync(CancellationToken)

Fetches the NoteCategorySubscription resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<NoteCategorySubscriptionResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludePerson()

Include related Person resources in the response.

public NoteCategorySubscriptionClient IncludePerson()

Returns

NoteCategorySubscriptionClient