Table of Contents

Class PersonMergerClient

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

Client for interacting with the PersonMerger resource.

public class PersonMergerClient : SingletonResourceClient<PersonMerger, PersonMergerResource, PersonMergerResponse>
Inheritance
PersonMergerClient
Inherited Members

Constructors

PersonMergerClient(HttpClient, Uri)

Client for interacting with the PersonMerger resource.

public PersonMergerClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches the PersonMerger resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<PersonMergerResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.