Table of Contents

Class CheckInTimeClient

Namespace
Crews.PlanningCenter.Api.CheckIns.V2019_07_17
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

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches the CheckInTime resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A 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.