Class NoteClient
- Namespace
- Crews.PlanningCenter.Api.Giving.V2018_08_01
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with the Note resource.
public class NoteClient : SingletonResourceClient<Note, NoteResource, NoteResponse>
- Inheritance
-
NoteClient
- Inherited Members
Constructors
NoteClient(HttpClient, Uri)
Client for interacting with the Note resource.
public NoteClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Methods
GetAsync(CancellationToken)
Fetches the Note resource asynchronously.
public Task<NoteResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<NoteResponse>
A task representing the asynchronous operation, containing the Note resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.