Table of Contents

Class ArrangementSectionsClient

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

Client for interacting with the ArrangementSections resource.

public class ArrangementSectionsClient : SingletonResourceClient<ArrangementSections, ArrangementSectionsResource, ArrangementSectionsResponse>
Inheritance
ArrangementSectionsClient
Inherited Members

Constructors

ArrangementSectionsClient(HttpClient, Uri)

Client for interacting with the ArrangementSections resource.

public ArrangementSectionsClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches the ArrangementSections resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<ArrangementSectionsResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.