Class SeriesClient
- Namespace
- Crews.PlanningCenter.Api.Services.V2018_11_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
httpClientHttpClienturiUri
Properties
Plans
Associated Plans.
public PaginatedPlanClient Plans { get; }
Property Value
Methods
GetAsync(CancellationToken)
Fetches the Series resource asynchronously.
public Task<SeriesResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA 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.