Table of Contents

Class PaginatedLocationEventTimeClient

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

Client for interacting with LocationEventTime collection resources.

public class PaginatedLocationEventTimeClient : PaginatedResourceClient<LocationEventTime, LocationEventTimeResource, LocationEventTimeCollectionResponse, LocationEventTimeResponse>
Inheritance
PaginatedLocationEventTimeClient
Inherited Members

Constructors

PaginatedLocationEventTimeClient(HttpClient, Uri)

Client for interacting with LocationEventTime collection resources.

public PaginatedLocationEventTimeClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches a paginated list of LocationEventTime resources asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<LocationEventTimeCollectionResponse>

A task representing the asynchronous operation, containing a paginated list of LocationEventTime resources.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.

IncludeEventTime()

Include related EventTime resources in the response.

public LocationEventTimeClient IncludeEventTime()

Returns

LocationEventTimeClient

IncludeLocation()

Include related Location resources in the response.

public LocationEventTimeClient IncludeLocation()

Returns

LocationEventTimeClient

WhereCreatedAt(DateTime)

Query response items by the CreatedAt attribute.

public LocationEventTimeClient WhereCreatedAt(DateTime value)

Parameters

value DateTime

Returns

LocationEventTimeClient

WhereUpdatedAt(DateTime)

Query response items by the UpdatedAt attribute.

public LocationEventTimeClient WhereUpdatedAt(DateTime value)

Parameters

value DateTime

Returns

LocationEventTimeClient

WithId(string)

Creates a new instance of a LocationEventTime client for a specific resource ID.

public LocationEventTimeClient WithId(string id)

Parameters

id string

The ID of the resource to create a client for.

Returns

LocationEventTimeClient

A new instance of the resource client for the specified resource ID.