Class CheckInClient
- Namespace
- Crews.PlanningCenter.Api.CheckIns.V2018_08_01
- 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
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
Location
Associated Location.
[Obsolete("This endpoint is deprecated and may be removed in a future release.")]
public LocationClient Location { 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.
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
IncludeLocation()
Include related Location resources in the response.
public CheckInClient IncludeLocation()
Returns
IncludeOptions()
Include related Options resources in the response.
public CheckInClient IncludeOptions()
Returns
IncludePerson()
Include related Person resources in the response.
public CheckInClient IncludePerson()