Table of Contents

Class LocationEventPeriodClient

Namespace
Crews.PlanningCenter.Api.CheckIns.V2025_05_28
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with the LocationEventPeriod resource.

public class LocationEventPeriodClient : SingletonResourceClient<LocationEventPeriod, LocationEventPeriodResource, LocationEventPeriodResponse>
Inheritance
LocationEventPeriodClient
Inherited Members

Constructors

LocationEventPeriodClient(HttpClient, Uri)

Client for interacting with the LocationEventPeriod resource.

public LocationEventPeriodClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Properties

CheckIns

Associated CheckIns.

public PaginatedCheckInClient CheckIns { get; }

Property Value

PaginatedCheckInClient

EventPeriod

Associated EventPeriod.

public EventPeriodClient EventPeriod { get; }

Property Value

EventPeriodClient

Location

Associated Location.

public LocationClient Location { get; }

Property Value

LocationClient

Methods

GetAsync(CancellationToken)

Fetches the LocationEventPeriod resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<LocationEventPeriodResponse>

A task representing the asynchronous operation, containing the LocationEventPeriod resource.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeEventPeriod()

Include related EventPeriod resources in the response.

public LocationEventPeriodClient IncludeEventPeriod()

Returns

LocationEventPeriodClient

IncludeLocation()

Include related Location resources in the response.

public LocationEventPeriodClient IncludeLocation()

Returns

LocationEventPeriodClient