Class CheckInClient
- Namespace
- Crews.PlanningCenter.Api.CheckIns.V2025_05_28
- Assembly
- Crews.PlanningCenter.Api.dll
Client for interacting with the CheckIn resource.
public class CheckInClient : SingletonResourceClient<CheckIn, CheckInResource, CheckInResponse>
- Inheritance
-
CheckInClient
- Inherited Members
Constructors
CheckInClient(HttpClient, Uri)
Client for interacting with the CheckIn resource.
public CheckInClient(HttpClient httpClient, Uri uri)
Parameters
httpClientHttpClienturiUri
Properties
CheckInGroup
Associated CheckInGroup.
public CheckInGroupClient CheckInGroup { get; }
Property Value
CheckInTimes
Associated CheckInTimes.
public PaginatedCheckInTimeClient CheckInTimes { get; }
Property Value
CheckedInAt
Associated CheckedInAt.
public StationClient CheckedInAt { get; }
Property Value
CheckedInBy
Associated CheckedInBy.
public PersonClient CheckedInBy { get; }
Property Value
CheckedOutBy
Associated CheckedOutBy.
public PersonClient CheckedOutBy { get; }
Property Value
Event
Associated Event.
public EventClient Event { get; }
Property Value
EventPeriod
Associated EventPeriod.
public EventPeriodClient EventPeriod { get; }
Property Value
EventTimes
Associated EventTimes.
public PaginatedEventTimeClient EventTimes { get; }
Property Value
Locations
Associated Locations.
public PaginatedLocationClient Locations { get; }
Property Value
Options
Associated Options.
public PaginatedOptionClient Options { get; }
Property Value
Person
Associated Person.
public PersonClient Person { get; }
Property Value
Methods
GetAsync(CancellationToken)
Fetches the CheckIn resource asynchronously.
public Task<CheckInResponse> GetAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to monitor for cancellation requests.
Returns
- Task<CheckInResponse>
A task representing the asynchronous operation, containing the CheckIn resource.
Exceptions
- JsonApiException
Thrown when the HTTP response indicates a failure status code.
IncludeCheckInTimes()
Include related CheckInTimes resources in the response.
public CheckInClient IncludeCheckInTimes()
Returns
IncludeCheckedInAt()
Include related CheckedInAt resources in the response.
public CheckInClient IncludeCheckedInAt()
Returns
IncludeCheckedInBy()
Include related CheckedInBy resources in the response.
public CheckInClient IncludeCheckedInBy()
Returns
IncludeCheckedOutBy()
Include related CheckedOutBy resources in the response.
public CheckInClient IncludeCheckedOutBy()
Returns
IncludeEvent()
Include related Event resources in the response.
public CheckInClient IncludeEvent()
Returns
IncludeEventPeriod()
Include related EventPeriod resources in the response.
public CheckInClient IncludeEventPeriod()
Returns
IncludeEventTimes()
Include related EventTimes resources in the response.
public CheckInClient IncludeEventTimes()
Returns
IncludeLocations()
Include related Locations resources in the response.
public CheckInClient IncludeLocations()
Returns
IncludeOptions()
Include related Options resources in the response.
public CheckInClient IncludeOptions()
Returns
IncludePerson()
Include related Person resources in the response.
public CheckInClient IncludePerson()