Table of Contents

Class RosterListPersonClient

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

Client for interacting with the RosterListPerson resource.

public class RosterListPersonClient : SingletonResourceClient<RosterListPerson, RosterListPersonResource, RosterListPersonResponse>
Inheritance
RosterListPersonClient
Inherited Members

Constructors

RosterListPersonClient(HttpClient, Uri)

Client for interacting with the RosterListPerson resource.

public RosterListPersonClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches the RosterListPerson resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<RosterListPersonResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.