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