Table of Contents

Class GradeClient

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

Client for interacting with the Grade resource.

public class GradeClient : SingletonResourceClient<Grade, GradeResource, GradeResponse>
Inheritance
GradeClient
Inherited Members

Constructors

GradeClient(HttpClient, Uri)

Client for interacting with the Grade resource.

public GradeClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches the Grade resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<GradeResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.