Table of Contents

Class ListResultClient

Namespace
Crews.PlanningCenter.Api.People.V2023_02_15
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with the ListResult resource.

public class ListResultClient : SingletonResourceClient<ListResult, ListResultResource, ListResultResponse>
Inheritance
ListResultClient
Inherited Members

Constructors

ListResultClient(HttpClient, Uri)

Client for interacting with the ListResult resource.

public ListResultClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches the ListResult resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<ListResultResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.