Table of Contents

Class SeriesClient

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

Client for interacting with the Series resource.

public class SeriesClient : SingletonResourceClient<Series, SeriesResource, SeriesResponse>
Inheritance
SeriesClient
Inherited Members

Constructors

SeriesClient(HttpClient, Uri)

Client for interacting with the Series resource.

public SeriesClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

Plans

Associated Plans.

public PaginatedPlanClient Plans { get; }

Property Value

PaginatedPlanClient

Methods

GetAsync(CancellationToken)

Fetches the Series resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<SeriesResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.